简体   繁体   中英

Can Pycharm select current word when searching?

Most applications select the whole word at the current cursor position when searching, but PyCharm doesn't seem to do this. I know I can double click or do Ctrl + Left then Shift + Ctrl + Right before hitting Ctrl + F , but it's not ideal.

Am I missing something? I can't see an option to turn on that selects the current word by default.

I searched the PyCharm keymap and the best match is Ctrl + W Extend Selection (before using Ctrl + F or Ctrl + Shift + F to search). It's configured by default but can also be constumized in File > Settings > Keymap .

设置键盘映射的图像

There is also a plugin at JetBrains Marketplace called BrowseWordAtCaret that: "Allows to easily browse next/previous word at caret and highlight other appearances of selected word."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM