Sublimetext2 查找并替换Sublime文本2中的注释?

Sublimetext2 查找并替换Sublime文本2中的注释?,sublimetext2,Sublimetext2,我已经在代码中重命名了一个变量,所以我也将检查并替换使用该变量的所有实例。这将是一个简单的查找和替换,但最初的变量是一个词,我的许多评论中也碰巧有这个词。就是这样, //Old: var input = getUserInput(); var userinput = getUserInput(); input = parseInt(input, 1); doSomething(input); //Does something with the user's input doSomethingE

我已经在代码中重命名了一个变量,所以我也将检查并替换使用该变量的所有实例。这将是一个简单的查找和替换,但最初的变量是一个词,我的许多评论中也碰巧有这个词。就是这样,

//Old: var input = getUserInput();
var userinput = getUserInput();

input = parseInt(input, 1);
doSomething(input); //Does something with the user's input
doSomethingElse(input); //Does something else with the user's input
我想替换注释之外的
input
实例,以便得到以下结果:

//Old: var input = getUserInput();
var userinput = getUserInput();

userinput = parseInt(userinput, 1);
doSomething(userinput); //Does something with the user's input
doSomethingElse(userinput); //Does something else with the user's input

这可能吗?

两个问题:(1)是否也在字符串中使用变量名?和(2)您是否使用
/**/语法,或者只是
/
供您评论?额外的问题!(3) 您是否在字符串中使用过
/
/*
*/
?@ParthianShot否,仅
/
和否。