177 lines
8.4 KiB
HTML
177 lines
8.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.7.0/github-markdown.min.css"
|
|
/>
|
|
<title>haunt98 posts</title>
|
|
</head>
|
|
<style>
|
|
.markdown-body {
|
|
box-sizing: border-box;
|
|
min-width: 200px;
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
padding: 45px;
|
|
font-family:
|
|
Shantell Sans Normal,
|
|
Rec Mono Casual,
|
|
SF Pro,
|
|
Inter,
|
|
sans-serif;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
font-family:
|
|
Berkeley Mono,
|
|
IBM Plex Mono,
|
|
SF Mono,
|
|
Jetbrains Mono,
|
|
monospace;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.markdown-body {
|
|
padding: 15px;
|
|
}
|
|
}
|
|
</style>
|
|
<body class="markdown-body">
|
|
<h2>
|
|
<a href="index.html"><code>~</code></a>
|
|
</h2>
|
|
<div class="markdown-heading">
|
|
<h1 class="heading-element">VSCode</h1>
|
|
<a
|
|
id="user-content-vscode"
|
|
class="anchor"
|
|
aria-label="Permalink: VSCode"
|
|
href="#vscode"
|
|
><span aria-hidden="true" class="octicon octicon-link"></span
|
|
></a>
|
|
</div>
|
|
<p>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer nofollow"
|
|
href="https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.jxl"
|
|
><img
|
|
src="https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.jxl"
|
|
alt="vscode-000"
|
|
style="max-width: 100%"
|
|
/></a>
|
|
</p>
|
|
<p>Favortite settings everytime I install VSCode.</p>
|
|
<p>
|
|
I sort JSON using
|
|
<a href="https://r37r0m0d3l.github.io/json_sort/" rel="nofollow">this</a>
|
|
(will probably change in the future until I find better tool)
|
|
</p>
|
|
<div class="highlight highlight-source-json">
|
|
<pre>{
|
|
<span class="pl-ent">"breadcrumbs.enabled"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"editor.bracketPairColorization.enabled"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"editor.bracketPairColorization.independentColorPoolPerBracketType"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"editor.cursorBlinking"</span>: <span class="pl-s"><span class="pl-pds">"</span>smooth<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"editor.cursorSmoothCaretAnimation"</span>: <span class="pl-s"><span class="pl-pds">"</span>on<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"editor.foldingImportsByDefault"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"editor.guides.bracketPairs"</span>: <span class="pl-s"><span class="pl-pds">"</span>active<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"editor.inlineSuggest.enabled"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"editor.lineNumbers"</span>: <span class="pl-s"><span class="pl-pds">"</span>relative<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"editor.minimap.renderCharacters"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"editor.renderLineHighlight"</span>: <span class="pl-s"><span class="pl-pds">"</span>gutter<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"editor.smoothScrolling"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"editor.wordWrap"</span>: <span class="pl-s"><span class="pl-pds">"</span>on<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"editor.wordWrapColumn"</span>: <span class="pl-c1">120</span>,
|
|
<span class="pl-ent">"explorer.confirmDelete"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"explorer.confirmDragAndDrop"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"explorer.sortOrder"</span>: <span class="pl-s"><span class="pl-pds">"</span>type<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"extensions.ignoreRecommendations"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"files.autoSave"</span>: <span class="pl-s"><span class="pl-pds">"</span>onFocusChange<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"files.exclude"</span>: {
|
|
<span class="pl-ent">".idea"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"vendor"</span>: <span class="pl-c1">true</span>
|
|
},
|
|
<span class="pl-ent">"files.trimTrailingWhitespace"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"files.watcherExclude"</span>: {
|
|
<span class="pl-ent">".idea"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"vendor"</span>: <span class="pl-c1">true</span>
|
|
},
|
|
<span class="pl-ent">"git.mergeEditor"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"json.sortOnSave.enable"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"problems.decorations.enabled"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"search.exclude"</span>: {
|
|
<span class="pl-ent">".idea"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"vendor"</span>: <span class="pl-c1">true</span>
|
|
},
|
|
<span class="pl-ent">"telemetry.telemetryLevel"</span>: <span class="pl-s"><span class="pl-pds">"</span>off<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"terminal.integrated.enablePersistentSessions"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"terminal.integrated.macOptionIsMeta"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"terminal.integrated.persistentSessionReviveProcess"</span>: <span class="pl-s"><span class="pl-pds">"</span>never<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"terminal.integrated.showExitAlert"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"window.commandCenter"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"workbench.fontAliasing"</span>: <span class="pl-s"><span class="pl-pds">"</span>auto<span class="pl-pds">"</span></span>
|
|
}</pre>
|
|
</div>
|
|
<p>Experiment alot</p>
|
|
<div class="highlight highlight-source-json">
|
|
<pre>{
|
|
<span class="pl-ent">"editor.experimental.asyncTokenization"</span>: <span class="pl-c1">true</span>
|
|
}</pre>
|
|
</div>
|
|
<p>
|
|
Can not go without vim, with extension
|
|
<a
|
|
href="https://marketplace.visualstudio.com/items?itemName=vscodevim.vim"
|
|
rel="nofollow"
|
|
>Vim</a
|
|
>
|
|
</p>
|
|
<div class="highlight highlight-source-json">
|
|
<pre>{
|
|
<span class="pl-ent">"vim.enableNeovim"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"vim.neovimPath"</span>: <span class="pl-s"><span class="pl-pds">"</span>/change/your/path/here<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"vim.textwidth"</span>: <span class="pl-c1">120</span>,
|
|
<span class="pl-ent">"vim.whichwrap"</span>: <span class="pl-s"><span class="pl-pds">"</span><,>,[,]<span class="pl-pds">"</span></span>
|
|
}</pre>
|
|
</div>
|
|
<p>
|
|
I code in Go, with extension
|
|
<a
|
|
href="https://marketplace.visualstudio.com/items?itemName=golang.go"
|
|
rel="nofollow"
|
|
>Go</a
|
|
>
|
|
</p>
|
|
<div class="highlight highlight-source-json">
|
|
<pre>{
|
|
<span class="pl-ent">"go.inlayHints.parameterNames"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"go.lintOnSave"</span>: <span class="pl-s"><span class="pl-pds">"</span>off<span class="pl-pds">"</span></span>,
|
|
<span class="pl-ent">"go.survey.prompt"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"go.toolsManagement.autoUpdate"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"gopls"</span>: {
|
|
<span class="pl-ent">"formatting.gofumpt"</span>: <span class="pl-c1">true</span>,
|
|
<span class="pl-ent">"ui.documentation.linksInHover"</span>: <span class="pl-c1">false</span>,
|
|
<span class="pl-ent">"ui.semanticTokens"</span>: <span class="pl-c1">true</span>
|
|
}
|
|
}</pre>
|
|
</div>
|
|
|
|
<div>
|
|
Feel free to ask me via
|
|
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
|
|
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>.
|
|
<br />Source code is available on
|
|
<a href="https://github.com/haunt98/posts-go">GitHub</a>
|
|
<a href="https://codeberg.org/yoshie/posts-go">Codeberg</a>
|
|
<a href="https://git.sr.ht/~youngyoshie/posts-go">sourcehut</a>
|
|
<a href="https://gitea.treehouse.systems/yoshie/posts-go">Treehouse</a>
|
|
<a href="https://gitlab.com/youngyoshie/posts-go">GitLab</a>
|
|
</div>
|
|
</body>
|
|
</html>
|