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

Missing scopes on brackets and parentheses #19

Closed
chbk opened this issue Sep 5, 2015 · 2 comments
Closed

Missing scopes on brackets and parentheses #19

chbk opened this issue Sep 5, 2015 · 2 comments
Assignees
Labels

Comments

@chbk
Copy link
Contributor

chbk commented Sep 5, 2015

Brackets and parentheses aren't scoped, they are the same color as variables:

javab

list[i] = (sum == n ? true : false);

Sometimes they can be distinguished in an identifier class:

javag

public static void main(String[] args) {

}

But they still aren't scoped:

javac

@50Wliu 50Wliu added the bug label Sep 5, 2015
@50Wliu
Copy link
Contributor

50Wliu commented Sep 10, 2015

I'm actually getting some different results for the bottom one:
image

What version of Atom are you on, and can you reproduce the same scopes in safe mode (atom --safe)?

@chbk
Copy link
Contributor Author

chbk commented Sep 10, 2015

I'm using Atom 1.0.11

You're right this is the full code to get the same result:

public class MyClass {
    public static void main(String[] args) {}
}

@50Wliu 50Wliu self-assigned this Oct 1, 2015
50Wliu added a commit that referenced this issue Oct 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants