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

[Dart] Send dart/connectToDtd request to the Analysis Server #938

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

@elliette
Copy link
Author

FYI @alexander-doroshko @jwren

@alexander-doroshko alexander-doroshko self-assigned this Mar 12, 2025
@alexander-doroshko
Copy link
Member

alexander-doroshko commented Mar 12, 2025

According to the spec, dart/connectToDtd is a request that the IDE should send to the Dart Analysis Server. This PR tries to send it to the Dart Tooling Daemon. I guess DTD doesn't need to connect to DTD :).

The scope of this subtask is to implement DartAnalysisServerService.connectToDtd(String url) method. It will be similar to lspMessage_dart_textDocumentContent() and it will require DAS protocol files update (com.google.dart.server.generated.AnalysisServer and friends). Some of these files could be generated, others - hand-written. I think @jwren can help with it.

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 this pull request may close these issues.

Provide DTD URI to the Analysis Server
2 participants