Skip to content

Instantly share code, notes, and snippets.

@tera3939
Created December 11, 2017 03:33
Show Gist options
  • Save tera3939/887fa0ee3078fbd11de14439bc9cd239 to your computer and use it in GitHub Desktop.
Save tera3939/887fa0ee3078fbd11de14439bc9cd239 to your computer and use it in GitHub Desktop.
Visual Studio Codeの設定っぽい
//-------- Rust extension configuration --------
// The mode in which the extension will function
"rust.mode": "rls",
// Specifies path to Racer binary if it's not in PATH
"rust.racerPath": "C:\\Users\\tera\\.cargo\\bin\\racer.exe",
// Specifies path to Rustfmt binary if it's not in PATH
"rust.rustfmtPath": "C:\\Users\\tera\\.cargo\\bin\\rustfmt.exe",
// Specifies path to Rustsym binary if it's not in PATH
"rust.rustsymPath": "C:\\Users\\tera\\.cargo\\bin\\rustsym.exe",
// Specifies path to /src directory of local copy of Rust sources
"rust.rustLangSrcPath": "C:\\Users\\tera\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\src\\rust\\src",
// Specifies path to Cargo binary if it's not in PATH
"rust.cargoPath": "C:\\Users\\tera\\.cargo\\bin\\cargo.exe",
"rust.rustup": {
"toolchain": "stable-x86_64-pc-windows-msvc",
"nightlyToolchain": "nightly-x86_64-pc-windows-msvc"
},
"rust.rls": {
"executable": "rustup",
"args": [
"run",
"stable",
"rls"
],
"env": {
"RUST_LOG": "rls=debug"
},
"revealOutputChannelOn": "info",
"useRustfmt": true,
"useRacer": true
},
"workbench.colorTheme": "Solarized Dark",
//-------- Python Configuration --------
//"python.pythonPath": "C:\\Users\\tera\\AppData\\Local\\Programs\\Python\\Python36-32\\python.exe",
"python.venvPath": "~/venv",
"python.jediPath": "C:\\Users\\tera\\AppData\\Local\\Programs\\Python\\Python36-32\\Lib\\site-packages\\jedi",
// Whether to lint Python files using pylint.
"python.linting.pylintEnabled": false,
// Whether to lint Python files using flake8
"python.linting.flake8Enabled": true,
// Whether to lint Python files using mypy.
"python.linting.mypyEnabled": true,
// Path to flake8, you can use a custom version of flake8 by modifying this setting to include the full path.
"python.linting.flake8Path": "C:\\Users\\tera\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\flake8.exe",
// Path to mypy, you can use a custom version of mypy by modifying this setting to include the full path.
"python.linting.mypyPath": "C:\\Users\\tera\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\mypy.exe",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment