How to change which characters are treated as words separators?

已回答

How to change which characters are treated as words separators?

I have many challanges with words, because the dot is not treated by IDEA as a part of a word but as word separator. For example float/double numbers with fractial parts as treated as two words, not as one. IP addresses are treated as 4 words.

My issues:

  • want to select that portion of chars at once with Ctrl-w to copy/cut it
  • don't want to break a line wrap on the dot period
  • probably more, but now don't remember

I tried to install this plugin, but it is not working for me or maybe I don't know how to configure/use it.

https://plugins.jetbrains.com/plugin/13613-customize-word-separators

1

It looks like there is no default way to configure it. You can press Ctrl + W several times to extend selection. 

See the links below for more information:

- https://www.jetbrains.com/help/idea/working-with-source-code.html#editor_code_selection

- https://www.jetbrains.com/help/idea/working-with-source-code.html#camelHumps

0

请先登录再写评论。