Skip to content

Conversation

@tyler-jewell
Copy link

Summary

  • Rename plugin directory from dart-analyzer to dart-lsp for consistency
  • Update plugin.json name to dart-lsp
  • Update .lsp.json client-id to claude-code.dart-lsp

Test plan

  • Verify plugin loads correctly with new name
  • Confirm LSP functionality works as expected

🤖 Generated with Claude Code

tyler-jewell and others added 4 commits December 25, 2025 11:40
Add dart-analyzer LSP plugin using the Dart Analysis Server bundled
with the Dart SDK. Includes Flutter-optimized initialization options
and a session hook to verify SDK installation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename directory from dart-analyzer to dart-lsp
- Update plugin.json name to dart-lsp
- Update .lsp.json client-id to claude-code.dart-lsp

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Owner

@boostvolt boostvolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the addition. Some small comments. And pls add the dart-analyzer to the root README as well. Thanks!

@@ -0,0 +1,8 @@
{
"name": "dart-lsp",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls make sure directory and name here is the same as in root marketplace.json -> dart-analyzer

{
"name": "dart-lsp",
"description": "Dart/Flutter language server",
"version": "1.1.0",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls same version as in root marketplace.json -> 1.0.0

{
"dart": {
"command": "dart",
"args": ["language-server", "--client-id=claude-code.dart-lsp", "--client-version=1.0.0"],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls use same client id as plugin name defined in root marketplace.json -> dart-analyzer

"onlyAnalyzeProjectsWithOpenFiles": false,
"suggestFromUnimportedLibraries": true,
"closingLabels": false,
"outline": true,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true by default -> remove

},
"transport": "stdio",
"initializationOptions": {
"onlyAnalyzeProjectsWithOpenFiles": false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

false by default -> remove

"suggestFromUnimportedLibraries": true,
"closingLabels": false,
"outline": true,
"flutterOutline": true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true by default -> remove

"transport": "stdio",
"initializationOptions": {
"onlyAnalyzeProjectsWithOpenFiles": false,
"suggestFromUnimportedLibraries": true,
Copy link
Owner

@boostvolt boostvolt Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this option exists? doc link?

"initializationOptions": {
"onlyAnalyzeProjectsWithOpenFiles": false,
"suggestFromUnimportedLibraries": true,
"closingLabels": false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why against defaults here?

"dart": {
"completeFunctionCalls": true,
"enableSnippets": true,
"showTodos": false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again everything except showTodos is per default so it does not need to be set explicitly.
also why is showTodos against defaults?

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.

2 participants