Skip to content

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

Closed

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.

Activity

  1. added this to the v3.102.0 milestone on Nov 25, 2024
  2. added
    in editorRelates to code editing or language features
    on Nov 25, 2024
  3. DanTup commented on Nov 25, 2024

    @DanTup
    Member

    image

  4. FMorschel commented on Nov 25, 2024

    @FMorschel
    ContributorAuthor

    Looking at the diff, you've not added to the description that they accept ~ for home? Should I open a new issue to ask for this?

  5. DanTup commented on Nov 25, 2024

    @DanTup
    Member

    @FMorschel I split this into two issues (so there are clear entries in the release notes) - see #5347

  6. changed the title [-]Analyzer path settings shows different message and missing description info[/-] [+]Analyzer path settings shows different message than sdks when invalid[/+] on Nov 25, 2024
  7. FMorschel commented on Nov 25, 2024

    @FMorschel
    ContributorAuthor

    Missed it, sorry! I thought it was a PR about this you made, not another issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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