Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Rename class scopes #3741

Merged
merged 1 commit into from
May 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Java/Java.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,7 @@ contexts:

receiver-unqualified-type:
- match: '{{identifier}}'
scope: storage.type.class.java
scope: support.class.java
push:
- receiver-unqualified-type-end
- maybe-array-modifiers
Expand All @@ -1984,7 +1984,7 @@ contexts:
receiver-qualified-type:
- meta_scope: meta.path.java
- match: '{{identifier}}'
scope: storage.type.class.java
scope: support.class.java
push:
- receiver-qualified-type-end
- qualified-object-type-arguments
Expand Down Expand Up @@ -2034,7 +2034,7 @@ contexts:
receiver-qualified-identifier-path:
- meta_scope: meta.path.java
- match: '{{id}}'
scope: storage.type.class.java
scope: support.class.java
push:
- receiver-qualified-identifier-accessor
- maybe-type-argument
Expand Down Expand Up @@ -2224,7 +2224,7 @@ contexts:
scope: punctuation.accessor.dot.java
set:
- match: '{{classcase_id}}'
scope: storage.type.class.java
scope: support.class.java
set:
- variable-namespace-meta
- maybe-object-type-child
Expand Down Expand Up @@ -2598,7 +2598,7 @@ contexts:

qualified-constant-class:
- match: '{{identifier}}'
scope: storage.type.class.java
scope: support.class.java
set:
- qualified-constant-class-accessor
- maybe-type-argument
Expand Down Expand Up @@ -2652,7 +2652,7 @@ contexts:

static-import-class:
- match: '{{identifier}}'
scope: storage.type.class.java
scope: support.class.java
set:
- static-import-class-accessor
- maybe-type-argument
Expand Down Expand Up @@ -2710,7 +2710,7 @@ contexts:

type-import-class:
- match: '{{identifier}}'
scope: storage.type.class.java
scope: support.class.java
set:
- type-import-class-accessor
- maybe-type-argument
Expand Down Expand Up @@ -2884,7 +2884,7 @@ contexts:
object-types:
# Popular JDK classes, generic type variable
- match: (?:UUID|UR[LI]|\p{Lu}){{break}}
scope: storage.type.class.java
scope: support.class.java
push:
- maybe-object-type-child
- maybe-array-modifiers
Expand All @@ -2894,7 +2894,7 @@ contexts:
scope: constant.other.java
# Classes
- match: '{{classcase_id}}'
scope: storage.type.class.java
scope: support.class.java
push:
- maybe-object-type-child
- maybe-array-modifiers
Expand All @@ -2912,7 +2912,7 @@ contexts:
scope: constant.other.java
pop: 1
- match: '{{classcase_id}}'
scope: storage.type.class.java
scope: support.class.java
set:
- maybe-object-type-child
- maybe-array-modifiers
Expand Down Expand Up @@ -2941,7 +2941,7 @@ contexts:

unqualified-object-type:
- match: '{{id}}'
scope: storage.type.class.java
scope: support.class.java
push:
- unqualiefied-object-type-end
- maybe-type-argument
Expand Down Expand Up @@ -2975,7 +2975,7 @@ contexts:

qualified-object-type-class:
- match: '{{identifier}}'
scope: storage.type.class.java
scope: support.class.java
push:
- qualified-object-type-end
- qualified-object-type-arguments
Expand Down
Loading