Skip to content

Code already includes yaml support, doesn't need providing #1

Closed

Description

@devoncarew

https://github.com/DanTup/Dart-Code/blob/master/syntaxes/yaml.plist

It seems better to just rely on it being available from vscode...

Activity

  1. DanTup commented on Aug 4, 2016

    @DanTup
    Member

    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?

  2. devoncarew commented on Aug 4, 2016

    @devoncarew
    ContributorAuthor

    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.

  3. DanTup commented on Aug 4, 2016

    @DanTup
    Member

    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!

  4. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    and removed on Aug 4, 2016
  5. added this to the milestone on Aug 4, 2016
  6. changed the title [-]should the yaml syntax be checked in?[/-] [+]Code already includes yaml support, doesn't need providing[/+] on Aug 4, 2016
  7. DanTup commented on Aug 4, 2016

    @DanTup
    Member

    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 :-)

  8. devoncarew commented on Aug 4, 2016

    @devoncarew
    ContributorAuthor

    👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions