Skip to content

[Extension type] Syntax highlighters implementation #49734

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

Open
3 tasks
Tracked by #52684
itsjustkevin opened this issue Aug 19, 2022 · 7 comments
Open
3 tasks
Tracked by #52684

[Extension type] Syntax highlighters implementation #49734

itsjustkevin opened this issue Aug 19, 2022 · 7 comments
Labels
area-tools A meta category for issues that should be addressed by tooling (prefer more concrete areas).

Comments

@a-siva a-siva added the area-tools A meta category for issues that should be addressed by tooling (prefer more concrete areas). label Aug 19, 2022
DanTup added a commit to DanTup/dart-syntax-highlight that referenced this issue Mar 6, 2023
See dart-lang/sdk#49734 and https://github.com/dart-lang/language/blob/master/accepted/future-releases/inline-classes/feature-specification.md.

Inline is only detected as part of class, the spec says:

> The token `inline` is not made a built-in identifier: the reserved word `class` that occurs right after `inline` serves to disambiguate the inline class declaration with a fixed lookahead.
@eernstg
Copy link
Member

eernstg commented Mar 6, 2023

Please note that this feature has been renamed: It is now the 'inline class' feature.

@itsjustkevin itsjustkevin changed the title [Views] Syntax highlighters implementation [Inline Class] Syntax highlighters implementation Mar 6, 2023
DanTup added a commit to DanTup/dart-syntax-highlight that referenced this issue May 9, 2023
See dart-lang/sdk#49734 and https://github.com/dart-lang/language/blob/master/accepted/future-releases/inline-classes/feature-specification.md.

Inline is only detected as part of class, the spec says:

> The token `inline` is not made a built-in identifier: the reserved word `class` that occurs right after `inline` serves to disambiguate the inline class declaration with a fixed lookahead.
DanTup added a commit to DanTup/dart-syntax-highlight that referenced this issue Jun 28, 2023
See dart-lang/sdk#49734 and https://github.com/dart-lang/language/blob/master/accepted/future-releases/inline-classes/feature-specification.md.

Inline is only detected as part of class, the spec says:

> The token `inline` is not made a built-in identifier: the reserved word `class` that occurs right after `inline` serves to disambiguate the inline class declaration with a fixed lookahead.
DanTup added a commit to dart-lang/dart-syntax-highlight that referenced this issue Jun 28, 2023
See dart-lang/sdk#49734 and https://github.com/dart-lang/language/blob/master/accepted/future-releases/inline-classes/feature-specification.md.

Inline is only detected as part of class, the spec says:

> The token `inline` is not made a built-in identifier: the reserved word `class` that occurs right after `inline` serves to disambiguate the inline class declaration with a fixed lookahead.
@itsjustkevin itsjustkevin changed the title [Inline Class] Syntax highlighters implementation [Extension type] Syntax highlighters implementation Jul 25, 2023
@DanTup
Copy link
Collaborator

DanTup commented Aug 31, 2023

@itsjustkevin do you have a script to create issues like this one? I was adding some items to the server list and wasn't sure whether the syntax highlighting (that doesn't come from the server) is recorded anywhere?

@itsjustkevin
Copy link
Contributor Author

itsjustkevin commented Aug 31, 2023

@DanTup I need to work on that script again, it is currently broken due to some bad graphql calls but I would be happy to add the additions you mention here!

This is on my todo list for the near future.

@DanTup
Copy link
Collaborator

DanTup commented Sep 1, 2023

Out of interest, is the script public? (I'm curious what it does/where it gets data from).

I've removed the textmate grammar (the dart-syntax-highlight repo) from my changes to the servers features since it doesn't really belong there, but it'd be good to include them in your script (or manual process) for new features.

I presume the script pulls the analysis server items directly from https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/process/new_language_feature.md (and there isn't another copy of that list somewhere)?

@bwilkerson
Copy link
Member

I would love it if the script populated the list automatically, but IIRC it's always just created an empty issue and I've been the one copying the list into the issue.

@itsjustkevin
Copy link
Contributor Author

@DanTup I have not even gone through that depth of inception. My script only generates the basic issues under the umbrella issues.

@bwilkerson I do see value in compiling a list and further updating these template issues to have their own child issues.

bootleg scripts can be viewed here 🙂.

@domesticmouse
Copy link
Member

@johnpryan and @devoncarew are maintaining this for DartPad now.

FYI @RedBrogdon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tools A meta category for issues that should be addressed by tooling (prefer more concrete areas).
Projects
None yet
Development

No branches or pull requests

6 participants