|
20 | 20 | - [Go to Symbol](#go-to-symbol) |
21 | 21 | - [Code Snippets](#code-snippets) |
22 | 22 | - [Linting](#linting) |
| 23 | + - [Live Workspace Intellisense](#live-workspace-intellisense) |
23 | 24 | - [Puppet Commands](#puppet-commands) |
24 | 25 | - [Puppet Resource](#puppet-resource) |
25 | 26 | - [Puppet Node Graph](#puppet-node-graph) |
@@ -71,7 +72,7 @@ This extension provides full Puppet Language support for [Visual Studio Code](ht |
71 | 72 |
|
72 | 73 | You will need to have the [Puppet Agent](https://puppet.com/docs/puppet/4.10/about_agent.html) or [Puppet Development Kit (PDK)](https://puppet.com/docs/pdk/1.x/pdk.html) installed in order to fully use this extension. |
73 | 74 |
|
74 | | -**Note:** PDK version 1.5.0 or higher is required. |
| 75 | +> Note: PDK version 1.5.0 or higher is required. |
75 | 76 |
|
76 | 77 | You can find instructions and installation links here: |
77 | 78 |
|
@@ -163,6 +164,14 @@ As part of IntelliSense and Snippets, you can quickly create templates to automa |
163 | 164 |
|
164 | 165 | Linting is automatically applied to the document as you edit, without having to save the file first. The validation uses [puppet-lint](https://github.com/rodjek/puppet-lint) to validate the Puppet syntax in all open puppet files. Errors and warnings appear in the Problems window in VSCode. |
165 | 166 |
|
| 167 | +### Live Workspace Intellisense |
| 168 | + |
| 169 | +If you are editing a module you will now get live intellisense of the [Puppet Custom Types](https://puppet.com/docs/puppet/latest/custom_types.html), [Functions](https://puppet.com/docs/puppet/latest/lang_write_functions_in_puppet.html), [Classes](https://puppet.com/docs/puppet/latest/lang_classes.html) and [Defined Types](https://puppet.com/docs/puppet/latest/lang_defined_types.html). For example if you are editing the [puppetlabs-apache module](https://github.com/puppetlabs/puppetlabs-apache) you will be able to get auto-complete for resources like `apache::vhost` or `apache::mod::php`. |
| 170 | + |
| 171 | +Support for [Control Repositories](https://puppet.com/docs/pe/latest/control_repo.html) is _coming soon!_ |
| 172 | + |
| 173 | +> Note: Workspace Intellisense is only updated when you save a file, instead of features like linting which update as you type |
| 174 | +
|
166 | 175 | ### Puppet Commands |
167 | 176 |
|
168 | 177 | #### Puppet Resource |
@@ -195,9 +204,9 @@ The node graph will appear next to the manifest |
195 | 204 |
|
196 | 205 | You can use the [Puppet Development Kit](https://puppet.com/blog/develop-modules-faster-new-puppet-development-kit) inside VS Code from the command palette. To use any of the above commands, open the command palette and start typing a command. You can also use the right-click context menu or the editor menu to reach these commands. |
197 | 206 |
|
198 | | -** Note: The PDK must be installed prior to using these commands |
| 207 | +> Note: The PDK must be installed prior to using these commands |
199 | 208 |
|
200 | | -** Note: `pdk convert` is not available in the command palette as it is a complicated command that requires user input to succeed. It is better to use it from the builtin terminal. |
| 209 | +> Note: `pdk convert` is not available in the command palette as it is a complicated command that requires user input to succeed. It is better to use it from the builtin terminal. |
201 | 210 |
|
202 | 211 | #### PDK new module |
203 | 212 |
|
@@ -274,9 +283,9 @@ The Puppet VSCode extension can use the PDK or the Puppet Agent to provide advan |
274 | 283 | If no settings are chosen, the extension will attempt to use the Puppet Agent, to force it to use the PDK you have to select `pdk` for `puppet.installType`. |
275 | 284 |
|
276 | 285 |
|
277 | | -**Note**: The `puppet.puppetAgentDir` setting name will be changed in the `0.12.0` release to `puppet.installDirectory` |
| 286 | +> Note: The `puppet.puppetAgentDir` setting name will be changed in the `0.12.0` release to `puppet.installDirectory` |
278 | 287 |
|
279 | | -**Note**: Only PDK v1.5.0 and above are supported. |
| 288 | +> Note: Only PDK v1.5.0 and above are supported. |
280 | 289 |
|
281 | 290 | ### Configure extension to use PDK |
282 | 291 |
|
|
0 commit comments