-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add VSCode with extensions (#21)
- Loading branch information
1 parent
5e2b771
commit 3654b21
Showing
6 changed files
with
74 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ README.md | |
CHANGELOG.md | ||
install.sh | ||
.git/ | ||
LICENSE | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"telemetry.telemetryLevel": "off", | ||
"redhat.telemetry.enabled": false, | ||
|
||
"files.insertFinalNewline": true, | ||
"editor.tabSize": 2, | ||
"editor.insertSpaces": true, | ||
"editor.detectIndentation": false, | ||
"editor.bracketPairColorization.enabled": true, | ||
"editor.guides.bracketPairs": "active", | ||
"editor.formatOnSave": true, | ||
"editor.accessibilitySupport": "off", | ||
|
||
"workbench.colorTheme": "Atom One Dark", | ||
"workbench.startupEditor": "none", | ||
"workbench.iconTheme": "vscode-icons", | ||
"terminal.integrated.fontFamily": "MesloLGS NF", | ||
"terminal.integrated.defaultProfile.osx": "zsh", | ||
"terminal.external.osxExec": "iTerm.app", | ||
"vsicons.dontShowNewVersionMessage": true, | ||
|
||
"prettier.bracketSpacing": false, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[yaml]": { | ||
"editor.defaultFormatter": "redhat.vscode-yaml" | ||
}, | ||
"better-comments.multilineComments": true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
private_Library/private_Application Support/private_Code/User/symlink_settings.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ .chezmoi.sourceDir }}/.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
extensions=( | ||
akamud.vscode-theme-onedark | ||
wayou.vscode-todo-highlight | ||
vscode-icons-team.vscode-icons | ||
DavidAnson.vscode-markdownlint | ||
esbenp.prettier-vscode | ||
bierner.markdown-emoji | ||
aaron-bond.better-comments | ||
timonwong.shellcheck | ||
aykutsarac.jsoncrack-vscode | ||
GitLab.gitlab-workflow | ||
redhat.vscode-yaml | ||
) | ||
|
||
if ! [ -x "$(command -v code)" ]; then | ||
echo 'Error: code is not installed.' >&2 | ||
else | ||
for ext in "${extensions[@]}"; do | ||
code --install-extension "$ext" | ||
done | ||
fi |