-
自动显示提示
自动显示提示的快捷键是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_IDwith 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使用相关
最新推荐文章于 2023-08-24 15:18:49 发布
本文围绕VSCode展开,介绍了自动显示提示功能,因中文输入法占用热键,可在注册表修改键值解决。还提及了Latex Workshop、Python Remote Development等扩展的安装要求和注意事项,如Latex Workshop需安装多个库,Python Remote Development要安装插件和在远程服务器操作等。
1933

被折叠的 条评论
为什么被折叠?



