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

[Extension type] Analysis server / IDE support work #49741

Closed
29 of 30 tasks
Tracked by #52684
itsjustkevin opened this issue Aug 19, 2022 · 10 comments
Closed
29 of 30 tasks
Tracked by #52684

[Extension type] Analysis server / IDE support work #49741

itsjustkevin opened this issue Aug 19, 2022 · 10 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-server Issues related to some aspect of the analysis server feature-extension-types Implementation of the extension type feature P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Milestone

Comments

@itsjustkevin
Copy link
Contributor

itsjustkevin commented Aug 19, 2022

This is the issue tracking the work that needs to be done in the analysis server to support the views feature. If you decide to work on a feature, either create an issue for the feature and link to it from here, or put your name beside the feature so that we don't duplicate effort.

  • Call Hierarchy (dantup)
  • Closing Labels (N/A, scheglov)
  • Code Completion (brianwilkerson)
  • Code Folding (scheglov)
  • documentSymbol (keertip)
  • Flutter Outline (N/A, dantup)
  • Hovers (keertip? bwilkerson?)
  • Implemented Markers (scheglov)
  • Navigation (scheglov)
  • Occurrences (scheglov)
  • Organize Imports (N/A, scheglov)
  • Outline (keertip)
  • Overrides Markers (scheglov)
  • Quick Assists (keertip)
  • Quick Fixes (keertip)
  • Refactorings - legacy (scheglov)
  • Refactorings - self describing (keertip)
  • Search - Find References (scheglov)
  • Search - Member Declarations (scheglov)
  • Search - Member References (scheglov)
  • Search - Top-level Declarations (scheglov)
  • selectionRange (scheglov)
  • Syntax Highlighting
    • Semantic Highlights (dantup)
    • LSP Semantic Tokens (dantup)
    • dart-syntax-highlight TextMate Grammar (dantup)
  • Signature Help (dantup)
  • Snippets (N/A dantup)
  • Sort Members (scheglov)
  • Type Hierarchy (scheglov)
  • Type Hierarchy - LSP (dantup)
@bwilkerson bwilkerson added P1 A high priority bug; for example, a single project is unusable or has many test failures area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-server Issues related to some aspect of the analysis server labels Aug 19, 2022
@srawlins
Copy link
Member

Still blocked on dart-lang/language#2420

@srawlins srawlins modified the milestones: Dart 3 stable, Dart 3 beta 2 Nov 30, 2022
@srawlins srawlins added type-enhancement A request for a change that isn't a bug P2 A bug or feature request we're likely to work on and removed P1 A high priority bug; for example, a single project is unusable or has many test failures labels Feb 7, 2023
@srawlins srawlins modified the milestones: Dart 3 beta 2, Future Feb 14, 2023
@DanTup
Copy link
Collaborator

DanTup commented Mar 6, 2023

@srawlins what's the status of this? I started some changes (dart-lang/dart-syntax-highlight#41, https://dart-review.googlesource.com/c/sdk/+/286928) because I had a notification from #49734 and the spec is in the "Accepted" folder, but I just noticed the comment above and that #2420 is still open :-)

@eernstg
Copy link
Member

eernstg commented Mar 6, 2023

I hadn't noticed that dart-lang/language#2420 was open and referred to 'views'. The feature is now the 'inline class' feature, the spec is in accepted and dart-lang/language#2420 has been closed.

@eernstg
Copy link
Member

eernstg commented Mar 6, 2023

I haven't changed the title of this issue (or any other issue on this topic area), because I did not want to create further confusion (e.g., suddenly they may not be searchable if they are searched using terms like 'views').

However, I think it would be helpful to replace every occurrence of 'view' such that it says 'inline class'.

@eernstg
Copy link
Member

eernstg commented Mar 6, 2023

I added a comment on the '[views]' issues that I could easily find.

@DanTup
Copy link
Collaborator

DanTup commented Mar 6, 2023

Yeah, that caught me out too 😄 Maybe it's worth just adding Inline-Classes (and keeping Views) avoids any confusion?

I also now see I missed the milestone change above from Dart3 -> Future so guess that somewhat answers my question too.

@itsjustkevin itsjustkevin changed the title [Views] Analysis server / IDE support work [Inline Class] Analysis server / IDE support work Mar 6, 2023
@srawlins
Copy link
Member

srawlins commented Mar 7, 2023

Hey @DanTup I was out today but it looks like all your questions are answered, haha. Yeah it's accepted and there is a lot of movement, e.g. in dart_style, parser, etc. So it is "accepted" for some "future" release.

@itsjustkevin itsjustkevin changed the title [Inline Class] Analysis server / IDE support work [Extension type] Analysis server / IDE support work Jul 25, 2023
@DanTup
Copy link
Collaborator

DanTup commented Sep 7, 2023

Snippets

Any opinion on whether we should add a snippet for extension type? We do have some snippets for basic things like class definition although we don't currently have one for extension. I don't personally feel like they add a lot, although perhaps they do help with the syntax if it's not something you type out by hand a lot?

@bwilkerson
Copy link
Member

I don't have a strong opinion, although I agree that they generally feel like they don't add much. I'm fine with not having one, but don't object to having one if someone thinks we should.

@srawlins srawlins added the feature-extension-types Implementation of the extension type feature label Nov 7, 2023
@bwilkerson
Copy link
Member

The feature has shipped, so I'm going to close this. Any features not yet implemented should have their own issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-server Issues related to some aspect of the analysis server feature-extension-types Implementation of the extension type feature P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants