Sdk: Analysis Server doesn't provide highlighting and completion for analysis_options.yaml file on Windows

Created on 4 Dec 2015  路  8Comments  路  Source: dart-lang/sdk

Windows-specific issue. Dart Analysis Server returns empty set of problems for analysis_options.yaml (or .analysis_options) file on Windows:

analyzer:
  errors:
    invalid-option: invalid-value

Also, no code completion in analysis_options.yaml on Windows.

P2 area-analyzer type-bug

Most helpful comment

ping - this would be good to address

All 8 comments

@pq Windows users still have no error highlighting and code completion in .analysis_options files. Are there OS-specific technical difficulties with it?
Thanks for taking a look!

@alexander-doroshko : I believe this is fixed?

Please re-open if you see otherwise.

@pq I'm afraid it is not fixed.
Analysis Server on Windows doesn't report errors/warnings neither for .analysis_options nor for analysis_options.yaml files.
I do not have permissions to reopen the issue.

Whoops. Thanks for following up! (And @bwilkerson for re-opening!)

ping - this would be good to address

fyi @jwren

Update as of Dart SDK 2.10.0-110.3.beta on Windows:

  • Server is reporting warnings like 'invalid option' or 'invalid value' in analysis_options.yaml
    image
  • Note: warnings are reported only for saved state of the file, they are not updated on typing until the file is saved again. Is this a known limitation?
  • Still no code completion in analysis_options.yaml.

warnings are reported only for saved state of the file, they are not updated on typing until the file is saved again. Is this a known limitation?

Yes.

Still no code completion in analysis_options.yaml.

I believe that Jaime has been looking into this. @jwren

Was this page helpful?
0 / 5 - 0 ratings