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
Copy file name to clipboardExpand all lines: README.md
+26-7Lines changed: 26 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,8 +61,6 @@ This extension provides full Puppet Language support for [Visual Studio Code](ht
61
61
62
62
**It is currently in technical preview, so that we can gather bug reports and find out what new features to add.**
63
63
64
-

65
-
66
64
## Requirements
67
65
68
66
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.
@@ -97,14 +95,20 @@ Syntax highlighting recognizes all versions of Puppet and displays as you type.
Hovering over any resource, class declaration or other Puppet symbol provides instant contextual information. For example, hovering over the resource declaration lists the type name and parameter list, with all relevant help text.
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.
@@ -149,18 +157,26 @@ You can use the [Puppet Development Kit](https://puppet.com/blog/develop-modules
149
157
150
158
`PDK New Module` is available even if the extension isn't loaded, the rest of the commands are only available when the extension is loaded.
You can create new classes using PDK using the VS Code command palette. This functionality is only available when a Puppet file has already been opened, to trigger the extension.
You can initiate a valiadtion of your module using PDK using the VS Code command palette. This functionality is only available when a Puppet file has already been opened, to trigger the extension.
You can run the test suite of your module using PDK using the VS Code command palette. This functionality is only available when a Puppet file has already been opened, to trigger the extension.
The debugging features in the extension are based on the excellent ideas in [puppet-debugger](https://www.puppet-debugger.com/) by [Corey Osman](https://github.com/nwops).
179
198
180
199
#### Configuring the debug session
@@ -185,18 +204,18 @@ The [VSCode Debugging - Launch Configurations](https://code.visualstudio.com/doc
185
204
186
205
#### Settings
187
206
188
-
`manifest` - The manifest to apply. By default this is the currently open file in the editor
189
-
190
-
`noop` - Whether the `puppet apply` sets No Operation (Noop) mode. By default, this is set to true. This means when running the debugger it will not make changes to your system. The [documentation about the puppet agent](https://puppet.com/docs/puppet/5.3/man/apply.html#OPTIONS) has more information about `puppet apply` and and the `noop` option.
207
+
-`manifest` - The manifest to apply. By default this is the currently open file in the editor
191
208
192
-
`args` - Additional arguements to pass to `puppet apply`, for example `['--debug']` will output debug information
209
+
-`noop` - Whether the `puppet apply` sets No Operation (Noop) mode. By default, this is set to true. This means when running the debugger it will not make changes to your system. The [documentation about the puppet agent](https://puppet.com/docs/puppet/5.3/man/apply.html#OPTIONS) has more information about `puppet apply` and and the `noop` option.
-`args` - Additional arguements to pass to `puppet apply`, for example `['--debug']` will output debug information
195
212
196
213
## Installing the Extension
197
214
198
215
You can install the official release of the Puppet extension by following the steps in the [Visual Studio Code documentation](https://code.visualstudio.com/docs/editor/extension-gallery). In the Extensions pane, search for "puppet-vscode" extension and install it there. You will get notified automatically about any future extension updates!
You can also install the extension without access to the internet by following these [instructions](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix.)
0 commit comments