Giter Site home page Giter Site logo

Comments (5)

DanTup avatar DanTup commented on June 18, 2024

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.

devoncarew avatar devoncarew commented on June 18, 2024

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.

DanTup avatar DanTup commented on June 18, 2024

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.

DanTup avatar DanTup commented on June 18, 2024

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.

devoncarew avatar devoncarew commented on June 18, 2024

👍

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.