-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Allow file name to language associations via settings #3612
Comments
@rakkarage I can't reproduce the error you get on the first line. Do you have any extensions installed that might have an impact on Yaml? |
ya nevermind the error i cannot reproduce it either but i think it came because i changed the file type a couple times before i ended up on yaml. because each time i open the project i have to reselect yaml type for each file thanks |
@egamma pushed a change to have an action in the mode picker that hints a user to the fact that this is configurable now, feedback welcome: |
@bpasero the quick box looks good. The top most quick box entries are difficult to discover since the currently defined association is revealed. How about not revealing the current mode when the user has changed the association. In this way the top most entries are always visible? What is a bit disturbing are the info messages that appear when you have a workspace settings, but this is not the common case I suggest to make |
@egamma good ideas, here is the new look depending on what you do: Should we stop showing the info message for workspace settings at all? |
My wording suggestions: My understanding is that this will always open the settings, therefore the ellipses (...). |
I'd keep it, it is useful since it tells me the setting. 👍 on @aeschli 's wording suggestions |
Ok pushed. Thanks! |
i have yaml in .controller, .asset etc files
when i open the file it does not detect it is yaml and sets it to plain text mode?
i can choose yaml from the language mode selector (to get nice coloring) but then i get an error on that first yaml 1.1 line
Expected a JSON object, array or literal
thanks
https://code.visualstudio.com/docs/languages/overview
Q: Can I map additional file extensions to a language?
A: Currently this is not supported but it's on the way.
The text was updated successfully, but these errors were encountered: