Ctrl+Shift+Enter 在上面插入行 Insert line above 比下面插行更需要 Ctrl+] / [ 缩进/突出行 Indent/outdent line 把[ 想象为Tab定位符,虽然叫“行”操作,但实际上有选择的时候,对选择覆盖的各行进行操作,没有选择则对本行进行操作。 Home 转到行首 Go to beginning of line 下面这几项就不需要多解释了...
Alt+ ↑ / ↓ 向上/向下移动行 Move line up/down Shift+Alt + ↓ / ↑ 向上/向下复制行 Copy line up/down Ctrl+Shift+K 删除行 Delete line Ctrl+Enter 在下面插入行 Insert line below Ctrl+Shift+Enter 在上面插入行 Insert line above Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl...
Ctrl+Shift+K 删除行 Delete line Ctrl+Enter 在下面插入行 Insert line below Ctrl+Shift+Enter 在上面插入行 Insert line above Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl+] / [ 缩进/缩进行 Indent/outdent line Home 转到行首 Go to beginning of line End 转到行尾 Go to end of...
Ctrl+EndGo to end of file 跳至文件结尾 Ctrl+↑ / ↓Scroll line up/down 滚动代码(而不是移动光标) Alt+PgUp / PgDnScroll page up/down 以页为单位滚动(不移动光标) Ctrl+Shift+\Jump to matching bracket 跳至对应括号处 Ctrl+] / [Indent/outdent line 向右/左缩进(无论光标在哪儿,无须选中整体...
跳转到定义其实很简单,通过vscode.languages.registerDefinitionProvider注册一个provider,这个provider如果返回了new vscode.Location()就表示当前光标所在单词支持跳转,并且跳转到对应location。 为了示例更加有意义,我在这里写了一个支持package.json中dependencies、devDependencies跳转到对应依赖包的例子jump-to-definition.js(...
data-inspector-line="44"data-inspector-column="10"data-inspector-relative-path="src/layouts/index.tsx">Inspect react components and click will jump to localIDEto view component code.; 这样就可以在输入快捷键的时候,开启 debug 模式,让 DOM 在 hover 的时候增加一个遮罩层并展示组件对应的信息: 这...
Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl+]/[缩进/缩进行 Indent/outdent line Home 转到行首 Go to beginningofline End 转到行尾 Go to endofline Ctrl+Home 转到文件开头 Go to beginningoffile Ctrl+End 转到文件末尾 Go to endoffile ...
jumpToLine: Open a file and jump to a certain line createBottomBar: Create the bottom bar button nextTick: Create the bottom bar button createSquare: Create a square block watchFiles: Monitor changes in file content and deletion createEvents: Tools for subscribing to event communication getActiv...
line-height: 22rem 还有,自动取名等强大的功能 内存劝退 ,大概占用200-300mb内存 11. 统计你写了多少代码 ,分别是什么文件 名称: VSCode Counter 安装插件后右键文件目录: 可以看到vant src目录下 代码 空白 注释共68,581行 12. 可视化统计你的工作时长 名称: WakaTime 会有统计图表,你做了哪些项目,耗费了多...
Steps to reproduce: Search for string in Search menu Click on Search results in any file Code will jump into wrong line most of the time After closing and opening that file in editor and cliking again will solve the problem for that file only ...