Reputation: 39044
Say I have a string like 'cheap-module-inline-source-map'
in the following:
In Atom, I want to be able to just double click that string to select the entire string. However it only let's me select the words I click on.
I did find the following in Settings > Editor:
Originally it was /\()"':,.;<>~!@#$%^&*|+=[]{}?-…
I removed the -
however this did not fix the issue.
Upvotes: 1
Views: 806
Reputation: 56667
You have already looked at the global settings (under "Editor"), but many settings (including this one) appear in the various packages so that you can customize things per syntax.
This setting seems to exist in both language-javascript
and language-babel
, and perhaps you have other Javascript packages that have it (there are many of them out there...)
If you navigate to...
Then you will find a "Grammar" settings section in most syntax packages. This is the one from language-javascript
.
As you can see it has a copy of the Non-Word Characters setting. You can set this explicitly, though I would have expected it to inherit from the global value.
language-babel
has this too, though you need to scroll down a bit further to find it.
Upvotes: 5