-
Notifications
You must be signed in to change notification settings - Fork 58
Dollar should be part of identifiers #33
Comments
Variables with Correct me if I'm wrong, but I don't think the "double-click" or |
If not, it is a problem (with Atom itself) / they should be: these operations are based on the concept of "words", and this concept is tightly related to the language: $ is a good example here (valid in JS / Java, not in some other languages), but in other languages (CSS for example) dash is also part of identifiers (words), and so on. Idem for Unicode characters. |
@PhiLhoSoft I totally agree. It should be part of the language definition. But as it is now, the rest of this issue (aside from highlighting) does not belong to this repo (if that is so). In CSS, stuff like dashes in e.g. |
That's annoying, but indeed, if that's beyond your scope, please feel free to close the issue if you fixed what was within your reach. |
It actually is. |
Cool, thanks for the correction! |
I haven't understood the comment of @50Wliu until today, thanks to the comment atom/language-javascript#374 (comment) |
I opened a similar issue for JavaScript: atom/language-javascript#374
Frankly, I dont use Atom to edit Java code, I use Eclipse instead. Given the low number of issues here, either I am not alone, or you are very good... 😛
OK, let's repeat the gist of the previous issue:
Atom 1.7.3, Windows 7, although the latter is probably not relevant...
AFAIK, $ is part of the valid characters in identifiers, like underscore. Yet it is treated as a foreign punctuation character in many features of Atom.
Examples:
$log
.I know that Sun recommended not to use $ in identifiers, keeping this usage for themselves, but yet it is a valid char, and should be treated as such.
The text was updated successfully, but these errors were encountered: