2017-04-19 42 views
0

我使用Sublime text 3,编译3126. 当我使用quick add next选择一个变量时,它将选择该单词的所有实例,而不管变量或字符串如何。快速查找下一个查找所有Sublime文本3

这是一个错误,或我的设置刚刚关闭?

SROM我的默认设置:

// Highlights other occurrences of the currently selected text 
"match_selection": true, 

enter image description here

回答

0

编辑基于评论:

检查重构:https://github.com/s-a/sublime-text-refactor

你也可以做CMD +单击ctrl +点击窗口上的)并手动选择变量,这并不理想,但可能适用于适量的代码。

原来的答案:

这是如何工作的,它不类型的数据进行筛选,简单地通过文本内容。

见下文:

enter image description here

match_selection设置相同:

// Highlights other occurrences of the currently selected text 
"match_selection": true, 
+0

如何重构一个变量呢? – Life4ants

+0

我上面编辑过,希望有帮助。 – Syden