Comments (5)
I did think about this, but it doesn't seem to be built-in and it seemed weird to expect people to get another extension. This one is set only to apply to pubspec.yaml
(and the extension only activates on .dart
or pubspec.yaml
so it won't be loaded outside of Dart projects). I figured if someone had a better extension it w/could override it (though I haven't actually seen how to set priorities).
It seems a bit weird to install a Dart extension and not get colors in pubspec?
from dart-code.
I see yaml files syntax highlighted in my copy of vscode, and do see a yaml syntax here: https://github.com/Microsoft/vscode/tree/master/extensions/yaml. You might want to double check your copy of vscode and see if it includes yaml support? Perhaps from the change language mode
command.
from dart-code.
Ok, maybe I added Pubspec to my packages json before testing it and that changed the language from Yaml to Pubspec. I'll investigate and fix later. Thanks!
from dart-code.
This is fixed now. I think when I first added it I wanted to activate my extension when opening pubspec.yaml so I declared a language; but subsequently discovered workspaceContains
.
Gone now, and you'll see YAML
as the langauge instead of Pubspec
:-)
from dart-code.
👍
from dart-code.
Related Issues (20)
- Sidebar does not load on current Flutter master HOT 13
- VSCode stuck in Select a device to use HOT 16
- add sdk to path on windows not working cause the path is quoted HOT 6
- Flutter: Launch emulator - invalid entries HOT 10
- Multiple `Dart Devtools` Running HOT 4
- avdmanager is missing from the Android SDK HOT 3
- Missing Hot Reload button in debug toolbar HOT 6
- Go to Augmentation CodeLen opens a new editor in the current group instead of jumping to an existing editor in another group HOT 5
- Consider implementing VSCode's new Test Coverage API HOT 1
- option to customize diagnostic severity HOT 7
- Intellisense seems pretty broken with the new VSCode (1.88) HOT 12
- Notify users with large numbers of TODO diagnostics that they can turn them off HOT 1
- RainbowBrackets bug with `Map`/`Set` inside string interpolation. HOT 2
- Open online interactive sample leads to 404 for non-classes (mixins, extension types) HOT 1
- Add support for "Go to Augmented" and "Go to Augmentation" commands + CodeLenses HOT 11
- "Go to Augmented" does not show up for augmentations of augmentations HOT 3
- "Find all references" on invocation of a getter/setter only returns other references as a get (or set) HOT 7
- "Move to File" refactor says it will overwrite existing files even though it adds to them
- Support monorepos
- Color picker should const if it is originally const 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.