posts-go/docs/2023-08-09-vscode.html

166 lines
8.1 KiB
HTML
Raw Normal View History

2023-08-09 07:18:35 +00:00
<!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.5.1/github-markdown.min.css"
2023-08-09 07:18:35 +00:00
/>
<title>haunt98 posts</title>
</head>
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
2024-03-01 10:11:20 +00:00
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;
2023-08-09 07:18:35 +00:00
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
<body class="markdown-body">
2023-08-09 07:22:58 +00:00
<h2>
<a href="index.html"><code>~</code></a>
</h2>
2024-02-29 12:29:26 +00:00
<div class="markdown-heading">
<h1 class="heading-element">VSCode</h1>
2023-11-19 15:59:21 +00:00
<a
id="user-content-vscode"
2024-03-08 08:12:41 +00:00
class="anchor"
2024-02-29 12:29:26 +00:00
aria-label="Permalink: VSCode"
2023-11-19 15:59:21 +00:00
href="#vscode"
2024-02-29 12:29:26 +00:00
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
2023-08-09 07:18:35 +00:00
<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>,
2023-08-09 07:18:35 +00:00
<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>
2023-08-09 07:34:36 +00:00
}</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>
2023-08-09 07:18:35 +00:00
}</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>&lt;,&gt;,[,]<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
2023-08-20 17:29:13 +00:00
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>.
<br />Source code is available on
2023-08-09 07:18:35 +00:00
<a href="https://github.com/haunt98/posts-go">GitHub</a>
2023-08-20 17:29:13 +00:00
<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>
2023-08-09 07:18:35 +00:00
</div>
</body>
</html>