开发者

Keyboard Shortcut for Moving Between Words in Camel Case in Notepad++

开发者 https://www.devze.com 2023-03-23 09:43 出处:网络
In Notepad++, is there a keyboard shortcut for moving between the compound words in a camelCase word?When I use the shortcut Control + Right/Left, the caret moves to the next \"real\" word, not the ne

In Notepad++, is there a keyboard shortcut for moving between the compound words in a camelCase word? When I use the shortcut Control + Right/Left, the caret moves to the next "real" word, not the ne开发者_JAVA百科xt compound word.


  • Right : Ctrl\
  • Left : Ctrl/

Source: http://sourceforge.net/p/notepad-plus/discussion/331753/thread/bf4ad0f5. Here is the interesting bit:

You can. Set the shortcuts in the shortcut mapper (Scintilla Commands tab) for SCI_WORDPARTLEFT, SCI_WORDPARTRIGHT. The "EXTEND" versions of these shortcuts normally have the shift key added, as they "extend" the selection, so it's natural to hold shift down in these cases.

0

精彩评论

暂无评论...
验证码 换一张
取 消