If you know vscode enouph, vscode is a great tool to read code, it's key-bind is better than understand or SI.
key binds
// Place your key bindings in this file to overwrite the defaultsauto[]
[
{
"key": "alt+a left",
"command": "workbench.action.splitEditorLeft"
},
{
"key": "alt+a right",
"command": "workbench.action.splitEditorRight"
},
{
"key": "alt+a down",
"command": "workbench.action.splitEditorDown"
},
{
"key": "alt+a up",
"command": "workbench.action.splitEditorUp"
},
{
"key": "ctrl+k f12",
"command": "-editor.action.openDeclarationToTheSide",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "alt+f12",
"command": "-editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+w ctrl+w",
"command": "workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "alt+a alt+w",
"command": "workbench.action.closeWindow"
},
{
"key": "ctrl+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "alt+w alt+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "alt+a alt+t",
"command": "editor.action.peekTypeDefinition"
},
{
"key": "alt+a alt+q",
"command": "editor.action.openDeclarationToTheSide"
},
{
"key": "alt+a alt+a",
"command": "editor.action.previewDeclaration"
}
]
settings
{
"workbench.colorTheme": "Solarized Dark",
"editor.fontSize": 16,
"editor.minimap.maxColumn": 20,
"editor.tabSize": 2,
"editor.tokenColorCustomizations": {
//"functions": "#c00505",
"keywords": "#05a9be",
"types": "#eca60d",
"textMateRules": [
{
"scope":"variable.other",//struct member
"settings": {
"foreground": "#60bef5",
}
},
{
"scope":"entity.name.function",
"settings": {
"foreground": "#ec4f05",
"fontStyle": "underline"
}
},
{
"scope":"meta.function",
"settings": {
"foreground": "#fc9a08",//function call is function params
}
},
{
"scope":"meta.function-call",//function call is function params
"settings": {
"foreground": "#8a77f5",
"fontStyle": "italic"
}
},
{
"scope":"meta.block",
"settings": {
"foreground": "#e3e9e9",
}
},
{
"scope": "keyword.operator",
"settings": {
"foreground": "#d40b0b"
}
},
{
"scope":"keyword.control",
"settings": {
"foreground": "#f32496",
}
}
]
},
"workbench.colorCustomizations":{
"editor.selectionHighlightBorder": "#aa0000",
"editor.selectionBackground": "#3261fac7",
"editor.hoverHighlightBackground": "#2b4d50",
"editor.background": "#02252b",
},
"window.zoomLevel": 0,
"editor.renderWhitespace": "none",
}
网友评论