1. 修改当前行颜色:
1. go to file > Preferences > settings
2. type in the search Editor token color customizations
3. under the Editor token color customizations header
4. click on edit in settings.json
5. paste this into the json object
"workbench.colorCustomizations": {
"editor.selectionBackground": "#e788ff7c", //Currently SELECTED text "editor.selectionHighlightBackground": "#ff00005b", //Same content as selection "editor.lineHighlightBackground": "#ffffff57","editor.findMatchBackground": "#00cc44a8", //Current SEARCH MATCH "editor.findMatchHighlightBackground": "#ff7b00a1" //Other SEARCH MATCHES
},
2. 修改Line Number区域颜色:
1. go to file > Preferences > settings
2. type in the searchEditor token color customizations
3. under theEditor token color customizationsheader
4. click on edit in settings.json
5. paste this into the json object
"workbench.colorCustomizations": {
"editorLineNumber.foreground": "#6d6e6d",
"editorGutter.background": "#3d3d3f",
"editorCursor.foreground": "#d41313",
}