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.2.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
@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>
|
2023-08-09 07:18:35 +00:00
|
|
|
<h1>
|
|
|
|
<a
|
|
|
|
id="user-content-vscode"
|
|
|
|
class="anchor"
|
|
|
|
aria-hidden="true"
|
|
|
|
href="#vscode"
|
|
|
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
|
|
|
>VSCode
|
|
|
|
</h1>
|
|
|
|
<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">"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><,>,[,]<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>
|
|
|
|
<p>
|
|
|
|
Some love for PlantUML, with extension
|
|
|
|
<a
|
|
|
|
href="https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml"
|
|
|
|
rel="nofollow"
|
|
|
|
>PlantUML</a
|
|
|
|
>
|
|
|
|
</p>
|
|
|
|
<div class="highlight highlight-source-json">
|
|
|
|
<pre>{
|
|
|
|
<span class="pl-ent">"plantuml.exportFormat"</span>: <span class="pl-s"><span class="pl-pds">"</span>png<span class="pl-pds">"</span></span>,
|
|
|
|
<span class="pl-ent">"plantuml.server"</span>: <span class="pl-s"><span class="pl-pds">"</span>https://www.plantuml.com/plantuml<span class="pl-pds">"</span></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>. Source
|
|
|
|
code is available on
|
|
|
|
<a href="https://github.com/haunt98/posts-go">GitHub</a>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|