LoginSignup
1
3

More than 5 years have passed since last update.

VSCodeで最初にやること

Last updated at Posted at 2018-11-12

日本語化

  1. 拡張機能「Japanese Language Pack for VS Code」をインストール
  2. VSCode上で「Ctrl+Shift+P」を押してコマンドパレットを開く
  3. Configure Display Languageを選択
  4. locale.jsonが開く
  5. localeをjaに設定

Emacsをインストール

  • 拡張機能「Emacs Friendly Keymap」をインストール
  • でもctrl+v, ctrl+sはwindows系を使いたい

ctrl+vをペーストにしたい場合

\Users\hoge\.vscode\extensions\lfs.vscode-emacs-friendly-0.8.2\package.json
{
    "key": "ctrl+v",        
    "command": "emacs.C-y",
    "when": "editorTextFocus && !editorReadonly"
}

ctrl+sを保存にしたい場合

\Users\hoge\.vscode\extensions\lfs.vscode-emacs-friendly-0.8.2\package.json
{
    "key": "ctrl+s",
    "command": "workbench.action.files.save",
    "when": "editorTextFocus"
}

ターミナルをanacondaに変更

起動スクリプトを下記に配置

\Users\hoge\Anaconda3\envs\anaconda3.bat
%windir%\System32\cmd.exe "/K" C:\Users\hoge\Anaconda3\Scripts\activate.bat C:\Users\hoge\Anaconda3

VSCode > ファイル > 基本設定 > 設定 で下記を追加

UserSettings
{
    "python.pythonPath": "C:\\Users\\hoge\\Anaconda3\\pythonw.exe",
    "terminal.integrated.shell.windows": "C:\\Users\\hoge\\Anaconda3\\envs\\Anaconda3.bat",
}

ctrl+@ でターミナルを起動

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3