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

Implement files.associations properties #4973

Merged
merged 1 commit into from
Apr 26, 2019
Merged

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Apr 23, 2019

Signed-off-by: Anatoliy Bazko abazko@redhat.com

What does this PR do

Allows to set files.associations properties in the preferences.
https://code.visualstudio.com/docs/languages/identifiers

Reference issue

#4581

@tolusha tolusha requested a review from akosyakov April 23, 2019 12:13
packages/core/src/browser/mime-service.ts Outdated Show resolved Hide resolved
packages/core/src/browser/mime-service.ts Outdated Show resolved Hide resolved
packages/monaco/src/browser/monaco-mime-service.ts Outdated Show resolved Hide resolved
packages/core/src/browser/mime-service.ts Outdated Show resolved Hide resolved
@tolusha tolusha requested a review from akosyakov April 24, 2019 08:52
@tolusha tolusha force-pushed the ab/files.associations branch from 574a1ea to fbc5730 Compare April 25, 2019 09:15
Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

it looks good, please update 2018 -> 2019

Please also file follow-up issues:

  • for editors with auto-detected languages it should be recomputed on mime associations change
  • label provider should take into account a language matching to the given URI to create an icon, not only a file extension like right now (i.e. UI should reflect mime associations, e.g. explorer should show proper a matching language icon)

@tolusha tolusha force-pushed the ab/files.associations branch from fbc5730 to 6d6376f Compare April 26, 2019 09:56
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
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.

2 participants