add vscode config
This commit is contained in:
parent
3137171c4a
commit
825c69b13f
2
.gitignore
vendored
2
.gitignore
vendored
@ -10,6 +10,8 @@
|
|||||||
!nano/*
|
!nano/*
|
||||||
!x11/**
|
!x11/**
|
||||||
!git/*
|
!git/*
|
||||||
|
!vscode/*
|
||||||
|
|
||||||
!starship.toml
|
!starship.toml
|
||||||
#directory catchall
|
#directory catchall
|
||||||
!*/
|
!*/
|
||||||
|
3
vscode/extensions.txt
Normal file
3
vscode/extensions.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
dracula-theme.theme-dracula
|
||||||
|
golang.go
|
||||||
|
hashicorp.terraform
|
115
vscode/settings.json
Normal file
115
vscode/settings.json
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
{
|
||||||
|
"go.formatTool": "goimports",
|
||||||
|
"go.useLanguageServer": true,
|
||||||
|
"go.lintTool": "golangci-lint",
|
||||||
|
"window.zoomLevel": 0,
|
||||||
|
"editor.tokenColorCustomizations": {
|
||||||
|
"textMateRules": [
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.open.bullet",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFFF00"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.open.marker",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFFF00"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.open.keyword",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.open.text",
|
||||||
|
"settings": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.completed.keyword",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.completed.marker",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#AAAAAA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.completed.text",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#AAAAAA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.task.completed.bullet",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFFF00"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.memo.keyword",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.memo.bullet",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFFF00"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.scope",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFFF00"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.link.keyword",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "text.html.markdown.journal.link.bullet",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFFF00"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"go.toolsManagement.autoUpdate": true,
|
||||||
|
"editor.suggestSelection": "first",
|
||||||
|
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
||||||
|
"files.exclude": {
|
||||||
|
"**/.classpath": true,
|
||||||
|
"**/.project": true,
|
||||||
|
"**/.settings": true,
|
||||||
|
"**/.factorypath": true
|
||||||
|
},
|
||||||
|
"go.coverOnSave": true,
|
||||||
|
"go.coverageDecorator": {
|
||||||
|
"coveredHighlightColor": "rgba(64,128,128,0.5)",
|
||||||
|
"uncoveredHighlightColor": "rgba(128,64,64,0.25)",
|
||||||
|
"coveredGutterStyle": "blockgreen",
|
||||||
|
"uncoveredGutterStyle": "blockred"
|
||||||
|
},
|
||||||
|
"go.coverOnSingleTest": true,
|
||||||
|
"go.alternateTools": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"javascript.format.enable": false,
|
||||||
|
"[html]": {
|
||||||
|
"editor.defaultFormatter": "vscode.html-language-features"
|
||||||
|
},
|
||||||
|
"[css]": {
|
||||||
|
"editor.defaultFormatter": "vscode.css-language-features"
|
||||||
|
},
|
||||||
|
"editor.fontFamily": "MesloLGSDZNerdFontCompleteM-Regular, Menlo, Monaco, 'Courier New', monospace",
|
||||||
|
"workbench.colorTheme": "Dracula"
|
||||||
|
}
|
7
vscode/setup.sh
Executable file
7
vscode/setup.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash -eo pipefail
|
||||||
|
|
||||||
|
ln -s ~/.vscode/settings.json ~/Library/Application Support/Code/User/settings.json
|
||||||
|
|
||||||
|
while read p; do
|
||||||
|
code --install-extension $p
|
||||||
|
done <extensions.txt
|
Loading…
Reference in New Issue
Block a user