Comments (5)
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.
There already is completion for lint names:
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 maybeanalyzer -> 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.
With docs (https://dart-review.googlesource.com/c/sdk/+/364740):
lint.docs.mp4
from dart-code.
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.
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)
- `Restart Analysis Server` exits `DevTools` on Flutter projects HOT 1
- Don't prompt for Dart SDK updates when Dart SDK is found from a symlink in a Flutter SDK HOT 11
- Duplicate fields in debugger view HOT 13
- Breakpoints not triggering on web build HOT 9
- Missed snackbar.dart file path from fluent_ui.dart HOT 2
- Add an option to auto open DevTools in browser on start debugging HOT 1
- Debug breakpoints not triggering on iOS devices HOT 6
- Make it clearer which settings only apply to legacy analysis server protocol (additionalAnalyzerFileExtensions, analyzeAngularTemplates) HOT 1
- Make the display of getters/fields consistent
- Clean install on windows 11 using Visual Studio fails HOT 1
- [Macros] "Go to Augmentation" for library + CodeLense HOT 3
- Reload the Flutter sidebar from VS Code when the Flutter version changes HOT 3
- [Feature request] Make multi-line string literals foldable HOT 1
- When writing Flutter code in VSCode, there is no automatic indentation when breaking lines within the brackets {} HOT 5
- Quick fix for "Add missing switch cases" does not add all quick fixes HOT 1
- Add custom web server response headers when debugging a Flutter web app on VS code HOT 4
- Code keeps stoping at Disabled Breakpoints HOT 11
- Remove --ios-language for Flutter > 3.22 and update setting description
- Support syncing select debug session into the sidebar HOT 1
- Support openDevTools over sidebar API without a debug session ID HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-code.