Jetbrains 编辑器跳转到指定行/列的快捷键

IDE 2020-03-05 阅读 1386 评论 0

使用 JetBrains 系列的 ide ,让光标快速定位到指定行和列的快捷键,包括 Toolbox App,IntelliJ IDEA,PyCharm,WebStorm,PhpStorm,ReSharper,Rider,CLion,Datalore,DataGrip,RubyMine,AppCode,GoLand,ReSharper C++,dotPeek,dotTrace,dotMemory,dotCover,YouTrack,TeamCity,Upsource,Hub,Kotlin,MPS,PyCharm Edu,IntelliJ IDEA Edu 等,都一样适用。

Windows 版本

Ctrl - G 

弹出框 "Go to Line/Column",输入行数:列数,点击 OK,即可跳到指定行/列。

Mac OS 版本

Command - L 

最后更新 2020-03-05
MIP.watch('startSearch', function (newVal, oldVal) { if(newVal) { var keyword = MIP.getData('keyword'); console.log(keyword); // 替换当前历史记录,新增 MIP.viewer.open('/s/' + keyword, {replace: true}); setTimeout(function () { MIP.setData({startSearch: false}) }, 1000); } }); MIP.watch('goHome', function (newVal, oldVal) { MIP.viewer.open('/', {replace: false}); });