With double click in PhpStorm the entire word is selected. But if there is a dash in the text like full-text double clicking on it will only select full, not the text.
Is there any setting to select full-text in double click?
AFAIK it may depend on context (what language it is currently injected there). What's your context?
- LazyOne
For CSS there is a special setting in Settings/Preferences | Editor | General | Smart Keys to have it selected in one go. Otherwise it requires more clicks/different approach.
- LazyOne
It is PHP. Also same issue in Rubymine
- chanchal118
What do you mean by "PHP"? Does PHP (language) allows naming classes/variables with dash in their name? I do not think so. if you are talking about plain text (e.g. words in a string) then I'm not aware of such IDE setting.
- LazyOne
IDE version? It seems to work OK in PhpStorm 2017.2.1 EAP build. Does not work like that in 2017.1.4 thuogh.
- LazyOne
1 Answers
3
votes
As a workaround, double click to select one of the words and then press ctrl + w.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
Settings/Preferences | Editor | General | Smart Keysto have it selected in one go. Otherwise it requires more clicks/different approach. - LazyOne