Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: .vscode #869

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: .vscode
Adds Visual Code configurations:
- `settings.json`
- `extensions.json`

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Mar 29, 2024
commit bd483ccfaa564a829712c7f7750e07fb0853572c
14 changes: 14 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"recommendations": [
"davidanson.vscode-markdownlint", // Markdown Lint
"eamodio.gitlens", // GitLens
"esbenp.prettier-vscode", // Prettier
"hashicorp.hcl", // HCL
"hashicorp.terraform", // Terraform
"marvhen.reflow-markdown", // Reflow Markdown
"ms-vscode.powershell", // PowerShell
"redhat.ansible", // Ansible
"trunk.io", // Trunk
"vscode.json-language-features" // JSON
]
}
60 changes: 60 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
// Editor settings
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.guides.bracketPairs": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,

// File watcher settings
"files.watcherExclude": {
"**/.DS_Store": true,
"**/.site/**": true,
"**/.trunk/**": true
},

// PowerShell settings
"powershell.analyzeOpenDocumentsOnly": true,
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationAfterEveryPipeline",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.integratedConsole.suppressStartupBanner": true,
"powershell.scriptAnalysis.enable": true,

// Extension settings
"extensions.ignoreRecommendations": false,

// Reflow Markdown settings
"reflowMarkdown.preferredLineLength": 100,
"reflowMarkdown.wrapLongLinks": "wrap",

// Language-specific settings
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": true
},
"[md]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": true,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 100,
"editor.rulers": [100]
},
"[powershell]": {
"editor.defaultFormatter": "ms-vscode.powershell",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": true,
"editor.wordWrap": "off"
}
}