Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YAML syntaxcoloration by default #13187

Closed
slemeur opened this issue Apr 18, 2019 · 13 comments
Closed

Add YAML syntaxcoloration by default #13187

slemeur opened this issue Apr 18, 2019 · 13 comments
Labels
kind/enhancement A feature request - must adhere to the feature request template.

Comments

@slemeur
Copy link
Contributor

slemeur commented Apr 18, 2019

Description

The IDE should be getting the YAML syntax coloration by default.

Reproduction Steps

OS and version:

Diagnostics:

@slemeur slemeur added kind/enhancement A feature request - must adhere to the feature request template. target/che7GA labels Apr 18, 2019
@benoitf
Copy link
Contributor

benoitf commented Apr 18, 2019

All these VS Code extensions should be integrated by default: https://github.com/Microsoft/vscode/tree/master/extensions

@tsmaeder
Copy link
Contributor

@slemeur Marc Dumais is holding off on a CQ for the extensions @benoitf mentions because we haven't told him how we want to handle the case of the LGPL code in the git extension. We could get the rest merged soon if we can exclude that one.

@slemeur
Copy link
Contributor Author

slemeur commented Oct 17, 2019

any update on this?

@tsmaeder
Copy link
Contributor

No, I'm not sure where we could consume those extensions from. Someone needs to find out.

@sunix
Copy link
Contributor

sunix commented Oct 17, 2019

could we just add our yaml extension by default to che-theia ?
What is the problem ?

@slemeur
Copy link
Contributor Author

slemeur commented Oct 17, 2019 via email

@benoitf
Copy link
Contributor

benoitf commented Oct 17, 2019

I think it may related to #14759

We should provide by default (in che-theia) all 'builtin VS Code extensions' that provides syntax highlights/grammars
It includes https://github.com/microsoft/vscode/tree/master/extensions/yaml

We don't need https://github.com/eclipse/che-plugin-registry/tree/master/v3/plugins/redhat/vscode-yaml for syntax highlights (no language server is required just for syntax highlight)

@benoitf
Copy link
Contributor

benoitf commented Oct 17, 2019

No, I'm not sure where we could consume those extensions from. Someone needs to find out.

it can be done like https://github.com/che-incubator/ms-code.typescript/releases as it extracts https://github.com/microsoft/vscode/tree/master/extensions/typescript-language-features

@sunix
Copy link
Contributor

sunix commented Oct 17, 2019

@slemeur to me it would solve several problems at the same time and it would be simple to do:

  1. simplify few dependency problems with other extensions like the kubernetes ext. user won't have to think about what to activate. until we figure out a better way to do.
  2. it is simple to do: just add the ext in the che-theia default plugin to use.
  3. in the future we may need to edit devfile.yaml file in any workspaces. it makes sence to have it by default.
  4. we would get syntax highliting for yaml ...

@sunix
Copy link
Contributor

sunix commented Oct 18, 2019

@evidolob told me that the way we get dependencies will change in the next che version. So maybe forget my previous comment.

@tsmaeder
Copy link
Contributor

@benoitf It would make sense to share the build and publish effort in the Theia community. At least the build scripts, etc. should be shared if not publishing the extensions once and consuming them from a common place.

@benoitf
Copy link
Contributor

benoitf commented Oct 21, 2019

@tsmaeder AFAIK theia community is already publishing them on npmjs
https://www.npmjs.com/search?q=%40theia%20builtin

@azatsarynnyy
Copy link
Member

Fixed by eclipse-che/che-theia#618
VS Code YAML built-in extension is included in Che Theia by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

No branches or pull requests

6 participants