#contents

* ユーザー設定 [#UserSettings]
- %AppData%/Code/User/settings.json
- 1つのタブに相当するスペースの数
 "editor.tabSize": 2,

- エディターで制御文字を表示する必要があるかどうかを制御します
 "editor.renderControlCharacters": true,

- エディターで空白文字を表示する方法を制御します
 "editor.renderWhitespace": "all",

- 自動整形(タイプ時, 貼り付け時, 保存時)
 "editor.formatOnType": false,
 "editor.formatOnPaste": false,
 "editor.formatOnSave": true,

- 既定の文字セットエンコーディング
 "files.encoding": "utf8bom",

- ファイルを開くときに文字セットエンコーディングを推測する
 "files.autoGuessEncoding": true,

- 匿名関数の関数キーワードの後のスペース処理を定義します
 "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,

- pandoc .html output option template that you would like to use
 "pandoc.htmlOptString": "-s -t html5 -c <CSSファイル名> --toc",
-- [[GitHub:cognitom/paper-css]]
-- [[Google Web Font:https://fonts.google.com/earlyaccess]]

- PlantUML エクスポート先フォルダ
 "plantuml.exportOutDirName": ".",

- PlantUML エクスポートフォーマット
 "plantuml.exportFormat": "svg",

- Markdown-lint
 "markdownlint.config": {
   "no-trailing-spaces": {
     "br_spaces": 2
   },
   "line-length": false,
   "no-inline-html": {
     "allowed_elements": [
       "div",
       "span",
       "section",
     ]
   },
 },

* ワークスペース設定 [#WorkspaceSettings]
** Perl用 [#WorkspaceSettings_Perl]
- tasks.json
-- 2.0.0
#code(javascript){{{{
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "presentation": {
    "echo": true,
    "reveal": "always",
    "focus": true,
    "panel": "shared"
  },
  "tasks": [
    {
      "label": "compile",
      "type": "shell",
      "group": "test",
      "command": "perl -c ${file}",
      "problemMatcher": []
    },
    {
      "label": "build",
      "type": "shell",
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "command": "perl build/build.pl",
      "problemMatcher": []
    }
  ]
}
}}}}
-- 0.1.0
#code(javascript){{{{
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "0.1.0",
  "suppressTaskName": true,
  "showOutput": "silent",
  "tasks": [
    {
      "taskName": "compile",
      "command": "perl",
      "args": [
        "-c",
        "${file}"
      ]
    },
    {
      "taskName": "perltidy",
      "command": "perltidy",
      "args": [
        "${file}"
      ],
      "isShellCommand": true
    },
    {
      "taskName": "delete-bak",
      "command": "del",
      "args": [
        "*.bak"
      ],
      "isShellCommand": true
    }
  ]
}
}}}}

* キー設定 [#KeyBindings]
- %AppData%/Code/User/keybindings.json
#code(javascript){{{{
[
  { // タスクの実行
    "key": "shift+alt+t",
    "command": "workbench.action.tasks.runTask"
  },
  { // 再帰的に折りたたむ
    "key": "ctrl+shift+alt+[",
    "command": "editor.foldRecursively",
    "when": "editorTextFocus"
  },
  { // 再帰的に展開する
    "key": "ctrl+shift+alt+]",
    "command": "editor.unfoldRecursively",
    "when": "editorTextFocus"
  }
]
}}}}

* メモ [#Memo]
** 設定ファイルの保存場所 [#Memo_UserSettingsFolder]
 %AppData%/Code/User

** 拡張機能の保存場所 [#Memo_ExtensionsFolder]
 %UserProfile%/.vscode/extensions

** PowerShell プロファイル [#Memo_PowerShell_Profile]
- 統合ターミナルとなる PowerShell のプロファイルのパス
 %UserProfile%/Documents/WindowsPowerShell/Microsoft.VSCode_profile.ps1
- 通常の PowerShell とプロファイルを共有
 cd %UserProfile%/Documents/WindowsPowerShell
 mklink Microsoft.VSCode_profile.ps1 Microsoft.PowerShell_profile.ps1

* リンク [#Link]
- [[Visual Studio Code:https://code.visualstudio.com/]]
-- [[Updates:https://code.visualstudio.com/updates]]
-- [[Tasks:https://code.visualstudio.com/docs/editor/tasks]]
-- [[Key Bindings:https://code.visualstudio.com/docs/customization/keybindings]]
-- [[File and Folder Icons in Visual Studio Code:https://code.visualstudio.com/blogs/2016/09/08/icon-themes]]
-- [[Creating a Formatter Extension:https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices]]

- [[Visual Studio Marketplace:https://marketplace.visualstudio.com/]]
-- [[C/C++:https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools]]
-- [[C# for Visual Studio Code:https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp]]
-- [[Document This:https://marketplace.visualstudio.com/items?itemName=joelday.docthis]]
-- [[ESLint:https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint]]
-- [[Excel Viewer:https://marketplace.visualstudio.com/items?itemName=GrapeCity.gc-excelviewer#overview]] CSV/TSVのプレビュー
-- [[ExtendScript:https://marketplace.visualstudio.com/items?itemName=hennamann.jsx]] Adobe ExtendScript (.jsx, .jsxinc)
-- [[Git History (git log):https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory]]
-- [[markdownlint:https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint]]
-- [[Perl Debug:https://marketplace.visualstudio.com/items?itemName=mortenhenriksen.perl-debug]]
-- [[perltidy:https://marketplace.visualstudio.com/items?itemName=sfodje.perltidy]]
-- [[PlantUML:https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml]]
-- [[PowerShell:https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell]]
-- [[REG:https://marketplace.visualstudio.com/items?itemName=ionutvmi.reg]]
-- [[SVG Viewer:https://marketplace.visualstudio.com/items?itemName=cssho.vscode-svgviewer]]
-- [[Scheme:https://marketplace.visualstudio.com/items?itemName=rebornix.scheme]]
-- [[vscode-pandoc:https://marketplace.visualstudio.com/items?itemName=DougFinke.vscode-pandoc]]
-- [[vscode-pdf:https://marketplace.visualstudio.com/items?itemName=tomoki1207.pdf]]
-- [[XML Tools:https://marketplace.visualstudio.com/items?itemName=DotJoshJohnson.xml]]

- [[GitHub:Microsoft/TypeScript]]
-- [[JSDoc support in JavaScript>GitHub:Microsoft/TypeScript/wiki/JsDoc-support-in-JavaScript]]

- [[Right click on Windows folder and open with Visual Studio Code - thisDaveJ:http://thisdavej.com/right-click-on-windows-folder-and-open-with-visual-studio-code/]]

- [[Build an Amazing Markdown Editor Using Visual Studio Code and Pandoc - thisDaveJ:http://thisdavej.com/build-an-amazing-markdown-editor-using-visual-studio-code-and-pandoc/]]

- [[Visual Studio Code always asking for git credentials - Stack Overflow>Stackoverflow:34400272]]

リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS