You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -46,7 +46,7 @@ The above example would resolve to something like: `/Users/your-name/sites/my-si
46
46
```
47
47
48
48
## Commands
49
-
All commands start within the `EE` namespace. Visual Studio Code will however correctly pull up the commands even if you type it in lowercase. Also, while the full name of the commands appears long, the editor will match shorter typings like `ee addon-on`, `ee partial` etc.
49
+
All commands start within the `EE` namespace. Visual Studio Code will however correctly pull up the commands even if you type it in lowercase. Also, while the full name of the commands appear long, the editor will match shorter typings like `ee addon-on`, `ee partial` etc.
50
50
51
51
| Command | Description |
52
52
|--- | --- |
@@ -80,6 +80,28 @@ You can customize your active color theme by adding the `editor.tokenColorCustom
80
80
81
81
View the full list of available [scope names](https://github.com/mindpixel-labs/vsc-expressionengine/wiki/Scope-Names) to override.
82
82
83
+
## Settings
84
+
This extension contributes the following variables to the [settings](https://code.visualstudio.com/docs/getstarted/settings):
85
+
86
+
-`ee.userPath`: the path to your sites user directory. Defaults to `system/user/`.
87
+
88
+
-`ee.suggestCompletions`: enable/disable IntelliSense/auto-completion. Is enabled by default.
89
+
90
+
## Snippets
91
+
Here is a list of the most useful snippets to help you quickly setup your templates.
92
+
93
+
| Description | Trigger | Completion |
94
+
|--- | --- | --- |
95
+
Tag Pair | <sub>tp</sub> | Generates a tag pair {$1 $2} {/$1} |
96
+
Conditional If | <sub>if</sub> | Generates a condtional tag pair {$if $1} {/if} |
97
+
Conditional Else If | <sub>elseif</sub> | {if:elseif $1} |
Pagination Pair | <sub>pp</sub> | Generates a full template of pagination variables. See [example](https://github.com/mindpixel-labs/vsc-expressionengine/wiki/Pagination#paginate-pair).|
101
+
102
+
📘**Note:** The $1 symbol denotes where the cursor position will be placed when the snippet is triggered and the next steps as you tab through.
103
+
104
+
83
105
## Development Roadmap
84
106
- Providing code completion packages that can additionally installed for all the major third party add-ons!
85
107
- Add error diagnostics to help prevent templating code errors or catch bugs
0 commit comments