Skip to content

Analyzer path settings shows different message than sdks when invalid #5345

@FMorschel

Description

@FMorschel

After setting analyzerPath for the first time I got:

Could not find a Dart Analysis Server at C:\Users\felip_0vh5fa6\Documents\Projects\dart\bug\C:serselip_0vh5fa6ocumentsrojectslonesart-sdk2dkkgnalysis_server�inerver.dart

The current project path:

C:\Users\felip_0vh5fa6\Documents\Projects\dart\bug\

And this is what I've placed on the variable:

"dart.analyzerPath": "C:/Users/felip_0vh5fa6/Documents/Projects/clones/dart-sdk2/sdk/pkg/analysis_server/bin/server.dart"

After some talk on Discord. I'd like to request that it shows a similar message as when the SDK path is not valid. Not displaying the full output. Or doing so for the other path settings.


Also, I'd like to request that these paths that accept the use of ~/path/to/something also say so in the description. Similar to the description for the log files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions