Skip to content

Instantly share code, notes, and snippets.

@jpogran
Last active April 27, 2021 18:41
Show Gist options
  • Save jpogran/3855c7a5ead1565e7e36c8933b4019ac to your computer and use it in GitHub Desktop.
Save jpogran/3855c7a5ead1565e7e36c8933b4019ac to your computer and use it in GitHub Desktop.
Puppet Camp VS Code Tips Settings
{
// // settings for all languages
"editor.fontFamily": "'Cascadia Code PL', 'Cascadia Code', Consolas, monaco, monospace",
"editor.fontSize": 18,
"editor.minimap.enabled": false,
// "editor.suggest.showStatusBar": true,
// "editor.suggest.insertMode": "insert",
// "workbench.tree.indent": 16
// "workbench.tree.renderIndentGuides": "always"
// "workbench.startupEditor": "newUntitledFile",
// // "files.defaultLanguage": "markdown",
// "files.defaultLanguage": "${activeEditorLanguage}",
// "workbench.editor.decorations.badges": true,
// "git.enableStatusBarSync": false,
// "[git-commit]": {
// "editor.rulers": [72],
// "editor.wordWrapColumn": 72,
// "editor.wordWrap": "wordWrapColumn",
// },
// "files.autoSave": "afterDelay",
// "files.associations": {
// "Puppetfile": "puppet"
// },
// "[puppet]": {
// "editor.tabSize": 2,
// "editor.insertSpaces": true,
// "editor.rulers": [80, 120],
// "files.encoding": "utf8",
// "files.eol": "\n",
// "files.trimFinalNewlines": true,
// "files.trimTrailingWhitespace": true,
// "editor.formatOnSave": true,
// "editor.formatOnSaveMode": "modifications",
// "editor.formatOnType": true, // setting 1 of 2
// },
// "puppet.format.enable": true,
// "puppet.editorService.formatOnType.enable": true,// setting 2 of 2
// "puppet.validate.resolvePuppetfiles": true,
// "puppet.editorService.puppet.modulePath":"c:/users/src/modules;c:/users/src/modules",
// "puppet.editorService.puppet.version":"6.10.0",
// "puppet.editorService.debugFilePath": "c:/users/james/desktop/foo.log",
// "puppet.editorService.loglevel": "debug",
// // // bolt task validation comes inside extension
// // // https://puppet.com/docs/bolt/latest/vscode_and_bolt.html
// "yaml.schemas": {
// "https://forgeapi.puppet.com/schemas/bolt-defaults.json": [
// "bolt-defaults.yaml"
// ],
// "https://forgeapi.puppet.com/schemas/bolt-project.json": [
// "bolt-project.yaml"
// ],
// "https://forgeapi.puppet.com/schemas/bolt-inventory.json": [
// "inventory.yaml"
// ],
// "https://forgeapi.puppet.com/schemas/bolt-yaml-plan.json": [
// "plans/**/*.yaml"
// ]
// },
}
{
"editor.fontFamily": "'Cascadia Code PL', 'Cascadia Code', Consolas, 'Courier New', monospace",
"editor.fontSize": 18,
"debug.openDebug": "neverOpen",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"editor.fontLigatures": true,
"editor.insertSpaces": true,
"editor.minimap.enabled": false,
"editor.renderControlCharacters": true,
"editor.renderFinalNewline": true,
"editor.renderIndentGuides": true,
"editor.renderLineHighlight": "line",
"editor.renderWhitespace": "boundary",
"editor.rulers": [80, 120],
"editor.suggest.showStatusBar": true,
"editor.suggest.insertMode": "insert",
"editor.tabSize": 2,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"files.autoSave": "afterDelay",
"files.defaultLanguage": "markdown",
"files.encoding": "utf8",
"files.eol": "\n",
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"git.enableStatusBarSync": false,
"gitlens.codeLens.scopes": ["document", "containers"],
"gitlens.statusBar.enabled": false,
"terminal.integrated.windowsEnableConpty": true,
"terminal.integrated.rendererType": "auto",
"terminal.integrated.shell.windows": "C:/Program Files/PowerShell/7/pwsh.exe",
"terminal.integrated.shell.linux": "pwsh",
"terminal.integrated.shellArgs.linux": [],
"terminal.integrated.shell.osx": "pwsh",
"terminal.integrated.shellArgs.osx": [],
"window.openFilesInNewWindow": "off",
"window.menuBarVisibility": "toggle",
"window.restoreWindows": "all",
"window.titleBarStyle": "custom",
"window.title": "${activeEditorShort}${separator}${rootName}${dirty}",
"workbench.colorTheme": "GitHub Dark",
"workbench.editor.decorations.badges": true,
"workbench.editor.enablePreview": false,
"workbench.settings.editor": "json",
"workbench.sideBar.location": "right",
"workbench.startupEditor": "newUntitledFile",
"workbench.statusBar.visible": true,
"workbench.tree.indent": 16,
"workbench.tree.renderIndentGuides": "always",
"[git-commit]": {
"editor.rulers": [72],
"editor.wordWrapColumn": 72,
"editor.wordWrap": "wordWrapColumn"
},
"go.toolsManagement.autoUpdate": true,
"[go]": {
"editor.renderWhitespace": "selection",
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.formatOnSaveMode": "file",
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[markdown]": {
"editor.wordWrapColumn": 80,
"editor.wordWrap": "wordWrapColumn",
"editor.quickSuggestions": false,
"editor.formatOnSave": false
},
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.integratedConsole.showOnStartup": false,
"[powershell]": {
"editor.codeLens": false
},
// "puppet.editorService.debugFilePath": "c:/users/james/desktop/foo.log",
// "puppet.editorService.loglevel": "debug",
"[puppet]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.encoding": "utf8",
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
},
"window.zoomLevel": 1,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment