-
自动显示提示
自动显示提示的快捷键是Ctrl+Space
, 但是中文输入法占了这个热键, 需要关闭非常的麻烦.
在注册表里有这些目录HKCU\Control Panel\Input Method\Hot Keys\ HKU\.DEFAULT\Control Panel\Input Method\Hot Keys\ HKU\S-1-5-19\Control Panel\Input Method\Hot Keys\ HKU\S-1-5-20\Control Panel\Input Method\Hot Keys\ HKU\S-1-5-21-3973068761-148523991-3394759106-1002\Control Panel\Input Method\Hot Keys
在
10
和70
子项中分别找到Key Modifiers=02c00000
,Virtual Key=20000000
的子目录, 将这些键值改成Key Modifier=00c00000
,Virtual Key=ff000000
即可. 只改第一条后注销并登录即可. 如不行再考虑后四条. -
设置文件
"git.path": "D:\\software\\Git\\cmd\\git.exe", "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe", "files.autoSave": "afterDelay", "files.autoGuessEncoding": true,//自动识别编码 "window.title": "${dirty}${activeEditorShort}${separator}${rootPath}", "editor.wordWrap": "on", "workbench.statusBar.feedback.visible": false,//取消反馈图标
-
扩展
- Latex Workshop
需要安装MiKTeX
需要安装latexmk库
需要安装Perl
需要安装SyncTeX. 从链接将synctex.exe和kpathsea623.dll放到\MiKTeX 2.9\miktex\bin\x64
.
有中文的话要\usepackage{xeCJK}
, 行首添加% !TEX program = xelatex
文件路径要为英文, 否则SyncTeX Forward Locating用不了//latex-workshop设置文件 "latex-workshop.view.pdf.viewer": "tab", "latex-workshop.synctex.afterBuild.enabled": true, "latex-workshop.showContextMenu": true, "latex-workshop.view.pdf.external.command": { "command": "D:\\应用程序\\Acrobat\\Acrobat\\Acrobat.exe", "args": [ "%PDF%" ] },
- Python
//python设置文件 "python.autoComplete.addBrackets": true,
- Remote Development
- 安装
Remote Development
需要5个插件和最新的VSCode - 需要在远程服务器上安装serverStackOverflow和github
- Attempt to connect, let it fail
- On server, get the commit id
$ ls ~/.vscode-server/bin/553cfb2c2205db5f15f3ee8395bbd5cf066d357d
ID也可以通过观察本地VSCode->About得到 - Download tarball replacing
$COMMIT_ID
with the the commit number from the previous stephttps://update.code.visualstudio.com/commit:$COMMIT_ID/server-linux-x64/stable
- Move tarball to
~/.vscode-server/bin/$COMMIT_ID/vscode-server-linux-x64.tar.gz
- Extract tarball in this directory
$ cd ~/.vscode-server/bin/$COMMIT_ID $ tar -xvzf vscode-server-linux-x64.tar.gz --strip-components 1
- Connect again
- 安装
- Latex Workshop
-
VSCode Snippets(ref)
可以使用placeholder和默认变量如$TM_LINE_NUMBER
.
Visual Studio Code使用相关
最新推荐文章于 2022-05-11 11:24:12 发布