Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Some properties are marked as constants #97

Closed
nevir opened this issue Feb 1, 2015 · 3 comments
Closed

Some properties are marked as constants #97

nevir opened this issue Feb 1, 2015 · 3 comments

Comments

@nevir
Copy link

nevir commented Feb 1, 2015

thing.length, thing.className, etc. Feels really awkward for highlighting

At the very least, it would be handy to mark them as .property in addition to their other classes. Would help disambiguate

@TechnoBerry
Copy link
Contributor

Hello! You can just use https://atom.io/packages/language-javascript-better which highlights each identifier after dot as object's property.

@code-tree
Copy link

I'm getting a bit confused when things like "thing.content" is tagged as ".support.constant.dom" and then trying to work out if I'm overriding some built-in property or method?

In this case, shouldn't it just be "window.content" that is tagged?

@winstliu
Copy link
Contributor

They're now tokenized as support.variable.property.js, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants