Skip to content

Instantly share code, notes, and snippets.

@kamuiroeru
Created February 1, 2020 11:26
Show Gist options
  • Select an option

  • Save kamuiroeru/3892b2102b216caf1f8fb3d6643f62ab to your computer and use it in GitHub Desktop.

Select an option

Save kamuiroeru/3892b2102b216caf1f8fb3d6643f62ab to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-02-01T11:26:48.468Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.0.29"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.14"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.0"
},
{
"metadata": {
"id": "f30b63fa-e34a-40af-a573-5de5ecfb6c5e",
"publisherId": "k--kato.intellij-idea-keybindings",
"publisherDisplayName": "k--kato"
},
"name": "intellij-idea-keybindings",
"publisher": "k--kato",
"version": "0.2.37"
},
{
"metadata": {
"id": "61d03280-3919-4dd1-bce1-178ca21fdeaf",
"publisherId": "James-Yu.latex-workshop",
"publisherDisplayName": "James-Yu"
},
"name": "latex-workshop",
"publisher": "James-Yu",
"version": "8.7.1"
},
{
"metadata": {
"id": "113b22c8-8125-42ec-8c6b-80c3f5d5fa5f",
"publisherId": "IBM.output-colorizer",
"publisherDisplayName": "IBM"
},
"name": "output-colorizer",
"publisher": "IBM",
"version": "0.1.2"
},
{
"metadata": {
"id": "79afa437-682e-4fa2-a4fd-87844832a1dc",
"publisherId": "ryu1kn.partial-diff",
"publisherDisplayName": "ryu1kn"
},
"name": "partial-diff",
"publisher": "ryu1kn",
"version": "1.4.1"
},
{
"metadata": {
"id": "0d1241e3-fa60-4f24-8f2a-6d7085677c48",
"publisherId": "ionutvmi.path-autocomplete",
"publisherDisplayName": "ionutvmi"
},
"name": "path-autocomplete",
"publisher": "ionutvmi",
"version": "1.13.3"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "3.20.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.1.58038"
},
{
"metadata": {
"id": "3792588c-3d35-442d-91ea-fe6a755e8155",
"publisherId": "mechatroner.rainbow-csv",
"publisherDisplayName": "mechatroner"
},
"name": "rainbow-csv",
"publisher": "mechatroner",
"version": "1.5.0"
},
{
"metadata": {
"id": "7ed7bccd-f358-4c6f-88c0-1296185abaa1",
"publisherId": "chrmarti.regex",
"publisherDisplayName": "chrmarti"
},
"name": "regex",
"publisher": "chrmarti",
"version": "0.2.0"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.41.7"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.23.1"
},
{
"metadata": {
"id": "01881e5c-9963-4a71-ae5c-17bc7317ce4f",
"publisherId": "wyze.theme-hybrid-next",
"publisherDisplayName": "wyze"
},
"name": "theme-hybrid-next",
"publisher": "wyze",
"version": "2.4.0"
},
{
"metadata": {
"id": "6ad45f5a-09ec-44e5-b363-867ddc1ec674",
"publisherId": "shardulm94.trailing-spaces",
"publisherDisplayName": "shardulm94"
},
"name": "trailing-spaces",
"publisher": "shardulm94",
"version": "0.3.1"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.23.0"
},
{
"metadata": {
"id": "03944bdc-9bcb-4ac2-b9b3-fdb050dd43e4",
"publisherId": "mrmlnc.vscode-duplicate",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-duplicate",
"publisher": "mrmlnc",
"version": "1.2.1"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "9.7.0"
},
{
"metadata": {
"id": "077515fe-1509-49c0-9dcc-5511b41682fc",
"publisherId": "MS-CEINTL.vscode-language-pack-ja",
"publisherDisplayName": "MS-CEINTL"
},
"name": "vscode-language-pack-ja",
"publisher": "MS-CEINTL",
"version": "1.41.2"
},
{
"metadata": {
"id": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
"publisherId": "GitHub.vscode-pull-request-github",
"publisherDisplayName": "GitHub"
},
"name": "vscode-pull-request-github",
"publisher": "GitHub",
"version": "0.14.0"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.4"
},
{
"metadata": {
"id": "3620b114-6fe8-459b-8c68-99943147069b",
"publisherId": "hollowtree.vue-snippets",
"publisherDisplayName": "hollowtree"
},
"name": "vue-snippets",
"publisher": "hollowtree",
"version": "0.1.11"
},
{
"metadata": {
"id": "f9b4b301-502e-4e02-929e-3df312520522",
"publisherId": "lucaslpsan.vuetify-pug-snippet",
"publisherDisplayName": "lucaslpsan"
},
"name": "vuetify-pug-snippet",
"publisher": "lucaslpsan",
"version": "0.6.0"
}
]
{
// エディタの設定
"editor.fontFamily": "Ricty Diminished Discord",
"editor.fontSize": 16,
"editor.renderWhitespace": "all",
"files.autoSave": "onFocusChange",
"workbench.colorTheme": "Hybrid Next (Gray Background)",
"window.zoomLevel": 0,
// エディタのコマンド設定
// "editor.action.format"
// ターミナルの設定
"terminal.integrated.fontSize": 16,
"terminal.integrated.fontFamily": "Ricty Discord",
"terminal.integrated.lineHeight": 1.2,
// clang用
"codegnuglobal.executable": "/usr/local/bin/global",
"editor.cursorBlinking": "solid",
"git.autorefresh": false,
"C_Cpp.clang_format_style": "Visual Studio",
"workbench.startupEditor": "newUntitledFile",
"python.dataScience.jupyterServerURI": "http://localhost:8888/?token=957560501c9739507b25aaae38b66984e8fbbc6f0f3e1537",
"python.pythonPath": "/Users/rokumura/.miniconda3/bin/python",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"terminal.integrated.shell.osx": "/bin/zsh",
"workbench.iconTheme": "vscode-icons",
"git.untrackedChanges": "separate",
// latex用
// editor.wordSeparators: 単語単位での移動を行う場合の区切り文字を指定
// 日本語文書で単語移動を使うため、助詞や読点、括弧を区切り文字として指定する
"editor.wordSeparators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~? 、。「」【】『』()!?てにをはがのともへでや",
// 設定: LaTeX Workshop
// https://qiita.com/popunbom/items/7d02fc75ad23b735d28c 参考
// LaTeX Workshop ではビルド設定を「Tool」と「Recipe」という2つで考える
// Tool: 実行される1つのコマンド。コマンド (command) と引数 (args) で構成される
// Recipe: Tool の組み合わわせを定義する。Tool の組み合わせ (tools) で構成される。
// tools の中で利用される Tool は "latex-workshop.latex.tools" で定義されている必要がある。
// latex-workshop.latex.tools: Tool の定義
"latex-workshop.latex.tools": [
// latexmk を利用した uplatex によるビルドコマンド
{
"name": "Latexmk (upLaTeX)",
"command": "latexmk",
"args": [
"-f", "-gg", "-pv", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%", "-outdir=%OUTDIR%"
]
},
// latexmk を利用した xelatex によるビルドコマンド
{
"name": "Latexmk (XeLaTeX)",
"command": "latexmk",
"args": [
"-f", "-gg", "-pv", "-xelatex", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%", "-outdir=%OUTDIR%"
]
},
// latexmk を利用した platex によるビルドコマンド
// 古い LaTeX のテンプレートを使いまわしている (ドキュメントクラスが jreport や jsreport ) 場合のため
{
"name": "Latexmk (pLaTeX)",
"command": "latexmk",
"args": [
"-f", "-gg", "-pv", "-latex='platex'", "-latexoption='-kanji=utf8 -no-guess-input-env'", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%", "-outdir=%OUTDIR%"
]
},
// latexmk を利用した lualatex によるビルドコマンド
{
"name": "Latexmk (LuaLaTeX)",
"command": "latexmk",
"args": [
"-f", "-gg", "-pv", "-lualatex", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%", "-outdir=%OUTDIR%"
]
}
],
// latex-workshop.latex.recipes: Recipe の定義
"latex-workshop.latex.recipes": [
// LaTeX(upLaTeX) で書かれた文書のビルドレシピ
{
"name": "upLaTeX",
"tools": [
"Latexmk (upLaTeX)"
]
},
// XeLaTeX で書かれた文書のビルドレシピ
{
"name": "XeLaTeX",
"tools": [
"Latexmk (XeLaTeX)"
]
},
// LaTeX(pLaTeX) で書かれた文書のビルドレシピ
{
"name": "pLaTeX",
"tools": [
"Latexmk (pLaTeX)"
]
},
// LuaLaTeX で書かれた文書のビルドレシピ
{
"name": "LuaLaTeX",
"tools": [
"Latexmk (LuaLaTeX)"
]
}
],
// latex-workshop.latex.magic.args: マジックコメント付きの LaTeX ドキュメントをビルドする設定
// '%!TEX' で始まる行はマジックコメントと呼ばれ、LaTeX のビルド時にビルドプログラムに解釈され、
// プログラムの挙動を制御する事ができる。
// 参考リンク: https://blog.miz-ar.info/2016/11/magic-comments-in-tex/
"latex-workshop.latex.magic.args": [
"-f", "-gg", "-pv", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%"
],
// latex-workshop.latex.clean.fileTypes: クリーンアップ時に削除されるファイルの拡張子
// LaTeX 文書はビルド時に一時ファイルとしていくつかのファイルを生成するが、最終的に必要となるのは
// PDF ファイルのみである場合などが多い。また、LaTeX のビルド時に失敗した場合、失敗時に生成された
// 一時ファイルの影響で、修正後のビルドに失敗してしまう事がよくある。そのため、一時的なファイルを
// 削除する機能 (クリーンアップ) が LaTeX Workshop には備わっている。
"latex-workshop.latex.clean.fileTypes": [
"*.aux", "*.bbl", "*.blg", "*.idx", "*.ind", "*.lof", "*.lot", "*.out", "*.toc", "*.acn", "*.acr", "*.alg", "*.glg", "*.glo", "*.gls", "*.ist", "*.fls", "*.log", "*.fdb_latexmk", "*.synctex.gz",
// for Beamer files
"_minted*", "*.nav", "*.snm", "*.vrb",
],
// latex-workshop.view.pdf.viewer: PDF ビューアの開き方
// VSCode 自体には PDF ファイルを閲覧する機能が備わっていないが、
// LaTeX Workshop にはその機能が備わっている。
// "tab" オプションを指定すると、今開いているエディタを左右に分割し、右側に生成されたPDFを表示するようにしてくれる
// この PDF ビュアーは LaTeX のビルドによって更新されると同期して内容を更新してくれる。
"latex-workshop.view.pdf.viewer": "external",
// latex-workshop.latex.clean.onFailBuild.enabled: ビルド失敗時に一時ファイルのクリーンアップを行うかどうか
// 上記説明にもあったように、ビルド失敗時に生成された一時ファイルが悪影響を及ぼす事があるため、自動で
// クリーンアップがかかるようにしておく。
"latex-workshop.latex.autoClean.run": "onFailed",
// latex-workshop.latex.autoBuild.onSave.enabled: .tex ファイルの保存時に自動的にビルドを行うかどうか
// LaTeX ファイルは .tex ファイルを変更後にビルドしないと、PDF ファイル上に変更結果が反映されないため、
// .tex ファイルの保存と同時に自動的にビルドを実行する設定があるが、文書が大きくなるに連れてビルドにも
// 時間がかかってしまい、ビルドプログラムの負荷がエディタに影響するため、無効化しておく。
// "latex-workshop.latex.autoBuild.run": "never",
"latex-workshop.latex.autoBuild.run": "onFileChange",
// outdir
"latex-workshop.latex.outDir": "%DIR%/../build",
// Skimの設定
"latex-workshop.view.pdf.external.viewer.command": "open -ga /Applications/Skim.app",
"latex-workshop.view.pdf.external.viewer.args": [
"-r 1",
"%PDF%"
],
"latex-workshop.view.pdf.external.synctex.command": "/Applications/Skim.app/Contents/SharedSupport/displayline",
"latex-workshop.view.pdf.external.synctex.args": [
"-r",
"%LINE%",
"%PDF%",
"%TEX%"
],
"sync.gist": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment