Code Monkey home page Code Monkey logo

Comments (5)

DanTup avatar DanTup commented on June 26, 2024 1

Oh, good point - no it won't, this change was only for completion - but file another issue about that (in the SDK). The hover probably won't be so trivial though (for completion we already have the lint, but right now I don't think for YAML we have any hover support at all).

from dart-code.

DanTup avatar DanTup commented on June 26, 2024

There already is completion for lint names:

image

However because of some quirks with the yaml parser, in some cases it won't show up. It seems to work reliably for me if there are already some items listed though.

As well as possibly a hint on what the rule is about with maybe the link to the docs.

Agreed - it'd be nice to see the docs here like we do with other completions. This shouldn't be difficult.

and possibly to look for active rules to suggest under analyzer -> errors and maybe analyzer -> language.

That sounds reasonable to me too - could you file a separate issue for that? (actually at https://github.com/dart-lang/sdk would be better, since it's analysis server work). I'll rename this one for the dartdocs and leave it here as that's a quick fix.

Thanks!

from dart-code.

DanTup avatar DanTup commented on June 26, 2024

With docs (https://dart-review.googlesource.com/c/sdk/+/364740):

lint.docs.mp4

from dart-code.

FMorschel avatar FMorschel commented on June 26, 2024

Will the docs show with mouse hover as well? Similar to dart classes/etc.

I'll create the other issue in a bit. Thanks a lot!

from dart-code.

DanTup avatar DanTup commented on June 26, 2024

Docs in completion is done in dart-lang/sdk@6127f10, which ships in a Dart/Flutter SDK release.

The other issues here now have their own SDK issues at dart-lang/sdk#55592 and dart-lang/sdk#55593.

from dart-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.