問題:
I have some code like:我有一些代碼,如:
testVar = { a: 1 };
testVariable1 = 2;
var c = testVar.a + testVariable2;
var d = testVar;
I want to rename "testVar" variable.我想重命名“testVar”變量。 When I set multiple cursors with Ctrl + D and edit variable, "testVariable" is also selected and edited.當我使用Ctrl + D和編輯變量設置多個光標時,也會選擇和編輯“testVariable”。
Is there a way to skip some selections while setting multiple cursors with Ctrl + D ?有沒有辦法在使用Ctrl + D設置多個光標時跳過一些選擇?
解決方案:
參考一: https://en.stackoom.com/question/mSF2參考二: https://stackoom.com/question/mSF2