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

Improve language ids support. #532

Merged
merged 2 commits into from
Dec 17, 2016

Conversation

JimiC
Copy link
Member

@JimiC JimiC commented Dec 14, 2016

Makes the use of the extension declaration redundant and adds support for the example generator.

Makes the use of the extension declaration redundant and adds support for the example generator.
@JimiC
Copy link
Member Author

JimiC commented Dec 14, 2016

We also need to explore what other extensions are supported (besides the default) for those with languageIds so to remove those too.

Copy link
Member

@jens1o jens1o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good, but see the comment

{ icon: 'cshtml', extensions: ['cshtml'] },
{ icon: 'csproj', extensions: ['csproj'] },
{ icon: 'css', extensions: ['css'], languages: [languages.css] },
{ icon: 'css', extensions: [], languages: [languages.css] },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we don't need to have the extensions array defined in them?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It stays there for 2 reasons:

  • in case there is another extension that has the same icon.
  • schema consistency.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okey, I'm fine with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants