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

Use more appropriate scopes instead of keyword.other #278

Closed
wise0704 opened this issue Aug 22, 2023 · 0 comments · Fixed by #281
Closed

Use more appropriate scopes instead of keyword.other #278

wise0704 opened this issue Aug 22, 2023 · 0 comments · Fixed by #281

Comments

@wise0704
Copy link
Contributor

Original comment: #277 (comment)

  • Expression word operators should also take either keyword.operator.wordlike.* (C++) or keyword.operator.expression.* (TypeScript).
    All of these are currently keyword.other.*
    • await
    • default
    • nameof
    • typeof
    • as (keyword.operator.cast.as.cs might be the best fit)
    • with
    • new (keyword.operator.new.cs might be good enough, still better than keyword.other.)
    • stackalloc
    • using (using directive)
    • using static (using directive)
  • Definition keywords keyword.other.*storage.type.*
    • class
    • interface
    • delegate
    • enum
    • struct
    • record
    • namespace
    • event
    • operator
    • var
    • get
    • set
    • init
    • add
    • remove
    • extern alias
  • Modifiers keyword.other.*storage.modifier.*
    • implicit
    • explicit
  • Block control keywords keyword.other.*keyword.control.*
    • checked
    • unchecked
    • lock
    • using (using statement)
    • where
    • (not yet added) fixed
    • (not yet added) unsafe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant