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.

Revisions

  1. jpogran revised this gist Apr 15, 2021. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions recommended extensions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Gitlens
    Remote Development Pack
    Puppet Extension
    Ruby
    YAML Extension
    PowerShell Extension
    Better Align
  2. jpogran revised this gist Apr 14, 2021. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion custom-minimal-settings.json
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    {
    // // 1920x1080
    // // settings for all languages
    "editor.fontFamily": "'Cascadia Code PL', 'Cascadia Code', Consolas, monaco, monospace",
    "editor.fontSize": 18,
  3. jpogran revised this gist Apr 14, 2021. 3 changed files with 77 additions and 71 deletions.
    75 changes: 75 additions & 0 deletions custom-minimal-settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    {
    // // 1920x1080
    // // 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"
    // ]
    // },
    }
    3 changes: 2 additions & 1 deletion custom-settings.json
    Original file line number Diff line number Diff line change
    @@ -54,7 +54,8 @@
    "workbench.sideBar.location": "right",
    "workbench.startupEditor": "newUntitledFile",
    "workbench.statusBar.visible": true,
    "workbench.tree.indent": 20
    "workbench.tree.indent": 16,
    "workbench.tree.renderIndentGuides": "always",

    "[git-commit]": {
    "editor.rulers": [72],
    70 changes: 0 additions & 70 deletions minimal-settings.json
    Original file line number Diff line number Diff line change
    @@ -1,70 +0,0 @@
    {
    "editor.fontFamily": "'Cascadia Code PL', 'Cascadia Code', Consolas, monaco, monospace",
    "editor.fontSize": 18,

    "editor.suggest.showStatusBar": true,
    "editor.suggest.insertMode": "insert",

    "workbench.tree.indent": 16
    "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"
    ]
    },
    }
  4. jpogran revised this gist Apr 14, 2021. 2 changed files with 2 additions and 0 deletions.
    1 change: 1 addition & 0 deletions custom-settings.json
    Original file line number Diff line number Diff line change
    @@ -54,6 +54,7 @@
    "workbench.sideBar.location": "right",
    "workbench.startupEditor": "newUntitledFile",
    "workbench.statusBar.visible": true,
    "workbench.tree.indent": 20

    "[git-commit]": {
    "editor.rulers": [72],
    1 change: 1 addition & 0 deletions minimal-settings.json
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@
    "editor.suggest.showStatusBar": true,
    "editor.suggest.insertMode": "insert",

    "workbench.tree.indent": 16
    "workbench.startupEditor": "newUntitledFile",

    // "files.defaultLanguage": "markdown",
  5. jpogran created this gist Apr 14, 2021.
    104 changes: 104 additions & 0 deletions custom-settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,104 @@
    {
    "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,

    "[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,
    }
    69 changes: 69 additions & 0 deletions minimal-settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,69 @@
    {
    "editor.fontFamily": "'Cascadia Code PL', 'Cascadia Code', Consolas, monaco, monospace",
    "editor.fontSize": 18,

    "editor.suggest.showStatusBar": true,
    "editor.suggest.insertMode": "insert",

    "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"
    ]
    },
    }