Think before you speak, read before you think.

VSCode Notes

https://code.visualstudio.com/docs/setup/mac

# 尽量用快捷键
command + shift + E 浏览打开的代码及文件目录 反复按可切换

# Are you using a screen reader to operate VS Code? (word wrap is disabled when using a screen reader)

# Golang env:
Go to View menu; select **Command Palette**
command + shift + p, type

Go: install/update tools => select all

Tools environment: GOPATH=/Users/yang.yang/go
Installing 8 tools at /Users/yang.yang/go/bin in module mode.
gopkgs
go-outline
gotests
gomodifytags
impl
goplay
staticcheck
gopls

# shell
# Golang env:
Go to View menu; select **Command Palette**
command + shift + p, type
shell
_”Install ‘code’ command in PATH”_

# preferences
command + shift + p, type

preferences

# install Gitlens

Extentions
Code Runner

# Set tab indentation
Settings, search `Tab Size`, set to 4

# Improve the word spell, grammarly
https://marketplace.visualstudio.com/items?itemName=znck.grammarly

# Set max line width alert: 80, 120
“editor.rulers”: [80, 120]

# Set Word Wrap
Editor: Word Wrap, use `wordWrapColumn`
Editor: Word Wrap Column 80

# collapse all the folders in the explorer
Command +


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *