Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Update Visual Studio Code
authored
Feb 26, 2025
by
Miki, Hiromitsu
Hide whitespace changes
Inline
Side-by-side
Visual-Studio-Code.md
View page @
404a1e96
# Visual Studio Code
# Visual Studio Code
## Requirements
## Requirements
[
Git
](
https://git-scm.com
)
から Git for Windows を事前にインストールしておくことを推奨する。
[
Git
](
https://git-scm.com
)
から Git for Windows を事前にインストールしておくことを推奨する。
Git for Windows のインストールにあたって、デフォルトの選択状態から変更する画面は以下の通り。
Git for Windows のインストールにあたって、デフォルトの選択状態から変更する画面は以下の通り。
*
Select Components
*
Select Components
*
Git LFS (Large File Support) 以外のチェックを外す
*
Git LFS (Large File Support) 以外のチェックを外す
*
Choosing the default editor used by Git
*
Choosing the default editor used by Git
*
Use VisualStudioCode as Git's default editor
*
Use VisualStudioCode as Git's default editor
*
Configuring the line ending conversions
*
Configuring the line ending conversions
*
Checkout as-is, commit as-is
*
Checkout as-is, commit as-is
## Install
## Install
インストーラを使って、適当にインストールする。
インストーラを使って、適当にインストールする。
## Extensions
## Extensions
-
Japanese Language Pack for Visual Studio Code (ms-ceintl.vscode-language-pack-ja)
-
Japanese Language Pack for Visual Studio Code (ms-ceintl.vscode-language-pack-ja)
-
Prettier - Code formatter (esbenp.prettier-vscode)
-
Prettier - Code formatter (esbenp.prettier-vscode)
-
markdownlint (davidanson.vscode-markdownlint)
-
markdownlint (davidanson.vscode-markdownlint)
## Global Settings
## Global Settings
```
jsonc
```
jsonc
{
{
// -- Common --
// -- Common --
"editor.fontFamily"
:
"PlemolJP"
,
"editor.fontFamily"
:
"Moralerspace Argon HW"
,
"editor.formatOnSave"
:
true
,
"editor.fontSize"
:
13
,
"editor.renderWhitespace"
:
"boundary"
,
"editor.formatOnSave"
:
true
,
"editor.scrollBeyondLastLine"
:
true
,
"editor.renderWhitespace"
:
"boundary"
,
"workbench.startupEditor"
:
"none"
,
"editor.scrollBeyondLastLine"
:
true
,
"security.workspace.trust.untrustedFiles"
:
"open"
,
"update.showReleaseNotes"
:
false
,
// -- Lang: JSON --
"workbench.startupEditor"
:
"none"
,
"[json]"
:
{
"security.workspace.trust.untrustedFiles"
:
"open"
,
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
// -- Lang: JSON --
},
"[json]"
:
{
"[jsonc]"
:
{
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
},
},
"[jsonc]"
:
{
// -- Lang: JavaScript --
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
"[javascript]"
:
{
},
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
// -- Lang: JavaScript --
},
"[javascript]"
:
{
// -- Lang: TypeScript --
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
"[typescriptreact]"
:
{
},
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
// -- Lang: TypeScript --
},
"[typescriptreact]"
:
{
// -- Lang: CSS --
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
"[css]"
:
{
},
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
// -- Lang: HTML/CSS --
},
"[html]"
:
{
// -- Lang: AsciiDoc --
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
"asciidoc.use_kroki"
:
true
},
}
"[css]"
:
{
```
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
},
## Cygwin + gcc
// -- Lang: AsciiDoc --
"asciidoc.use_kroki"
:
true
### settings.json
}
```
```
json
{
## Cygwin + gcc
"terminal.integrated.shell.windows"
:
"C:
\\
cygwin64
\\
bin
\\
bash.exe"
,
"terminal.integrated.shellArgs.windows"
:
[
"-l"
],
### settings.json
"terminal.integrated.env.windows"
:
{
"CHERE_INVOKING"
:
"1"
```
json
}
{
}
"terminal.integrated.shell.windows"
:
"C:
\\
cygwin64
\\
bin
\\
bash.exe"
,
```
"terminal.integrated.shellArgs.windows"
:
[
"-l"
],
"terminal.integrated.env.windows"
:
{
### tasks.json
"CHERE_INVOKING"
:
"1"
}
```
json
}
{
```
"version"
:
"2.0.0"
,
"tasks"
:
[
### tasks.json
{
"label"
:
"build"
,
```
json
"type"
:
"shell"
,
{
"command"
:
"make"
,
"version"
:
"2.0.0"
,
"args"
:
[
"app=${workspaceFolderBasename}"
],
"tasks"
:
[
"options"
:
{
{
"cwd"
:
"${workspaceFolder}/.."
"label"
:
"build"
,
},
"type"
:
"shell"
,
"problemMatcher"
:
[
"$gcc"
],
"command"
:
"make"
,
"group"
:
{
"args"
:
[
"app=${workspaceFolderBasename}"
],
"kind"
:
"build"
,
"options"
:
{
"isDefault"
:
true
"cwd"
:
"${workspaceFolder}/.."
}
},
}
"problemMatcher"
:
[
"$gcc"
],
]
"group"
:
{
}
"kind"
:
"build"
,
```
"isDefault"
:
true
}
### c_cpp_properties.json
}
]
```
json
}
{
```
"configurations"
:
[
{
### c_cpp_properties.json
"name"
:
"ETRC"
,
"includePath"
:
[
```
json
"${workspaceFolder}/**"
,
{
"${workspaceFolder}/../../../arch"
,
"configurations"
:
[
"${workspaceFolder}/../../../arch/arm_gcc/am1808"
,
{
"${workspaceFolder}/../../../arch/arm_gcc/common"
,
"name"
:
"ETRC"
,
"${workspaceFolder}/../../../base-workspace/OBJ"
,
"includePath"
:
[
"${workspaceFolder}/../../../include"
,
"${workspaceFolder}/**"
,
"${workspaceFolder}/../../../target/ev3_gcc"
,
"${workspaceFolder}/../../../arch"
,
"${workspaceFolder}/../../common/ev3api/include"
,
"${workspaceFolder}/../../../arch/arm_gcc/am1808"
,
"${workspaceFolder}/../../OBJ"
,
"${workspaceFolder}/../../../arch/arm_gcc/common"
,
"C:/msys64/opt/gcc-arm-none-eabi-4_8-2014q3-20140805-win32/arm-none-eabi/include"
,
"${workspaceFolder}/../../../base-workspace/OBJ"
,
"C:/msys64/opt/gcc-arm-none-eabi-4_8-2014q3-20140805-win32/lib/gcc/arm-none-eabi/4.8.4/include"
"${workspaceFolder}/../../../include"
,
],
"${workspaceFolder}/../../../target/ev3_gcc"
,
"defines"
:
[
"_DEBUG"
,
"UNICODE"
,
"_UNICODE"
],
"${workspaceFolder}/../../common/ev3api/include"
,
"cStandard"
:
"c11"
,
"${workspaceFolder}/../../OBJ"
,
"intelliSenseMode"
:
"gcc-x64"
"C:/msys64/opt/gcc-arm-none-eabi-4_8-2014q3-20140805-win32/arm-none-eabi/include"
,
}
"C:/msys64/opt/gcc-arm-none-eabi-4_8-2014q3-20140805-win32/lib/gcc/arm-none-eabi/4.8.4/include"
],
],
"version"
:
4
"defines"
:
[
"_DEBUG"
,
"UNICODE"
,
"_UNICODE"
],
}
"cStandard"
:
"c11"
,
"intelliSenseMode"
:
"gcc-x64"
}
],
"version"
:
4
}
```
```
\ No newline at end of file