Commit 1679feab authored by Mounir Lamouri's avatar Mounir Lamouri Committed by Commit Bot

VSCode: update documentation to handle Linux underscore bug.

Bug: 921548
Change-Id: I1406ddf0284dac2d007d71f4b7acac23d72c6a63
Reviewed-on: https://chromium-review.googlesource.com/c/1436203
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Auto-Submit: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626157}
parent 45e7df91
...@@ -55,19 +55,40 @@ terminal. The argument to `code` is the base directory of the workspace. VS ...@@ -55,19 +55,40 @@ terminal. The argument to `code` is the base directory of the workspace. VS
Code does not require project or solution files. However, it does store Code does not require project or solution files. However, it does store
workspace settings in a `.vscode` folder in your base directory. workspace settings in a `.vscode` folder in your base directory.
### Git on Windows
### Fixes for Known Issues
#### Git on Windows
If you only have the `depot_tools` Git installed on your machine, even though it If you only have the `depot_tools` Git installed on your machine, even though it
is in your PATH, VS Code will ignore it as it seems to be looking for `git.exe`. is in your PATH, VS Code will ignore it as it seems to be looking for `git.exe`.
You will have to add the following to your settings in order for the Git You will have to add the following to your settings in order for the Git
integration to work: integration to work:
``` ```json
{ {
"git.path": "C:\\src\\depot_tools\\git.bat" "git.path": "C:\\src\\depot_tools\\git.bat"
} }
``` ```
#### Rendering of underscore on Linux
As mentioned in [#35901](https://github.com/Microsoft/vscode/issues/35901), VS
Code will not show underscore (`_`) properly on Linux by default. You can work
around this issue by forcing another font such as the default `monospace` or
changing the font size in your settings:
```json
{
// If you want to use the default "monospace" font:
//"terminal.integrated.fontFamily": "monospace"
// If you would rather just increase the size of the font:
//"terminal.integrated.fontSize": 15
// If you would rather decrease the size of the font:
//"terminal.integrated.fontSize": 15
}
```
### Useful Extensions ### Useful Extensions
Up to now, you have a basic version of VS Code without much language support. Up to now, you have a basic version of VS Code without much language support.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment