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

Chained File Extensions specific settings (index.html.erb vs nginx/conf.erb) #222032

Closed
Frexuz opened this issue Jul 18, 2024 · 4 comments
Closed
Assignees
Labels
feature-request Request for new features or functionality html HTML support issues

Comments

@Frexuz
Copy link

Frexuz commented Jul 18, 2024

Original settings:

  "[erb]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "aliariff.vscode-erb-beautify"
  },

this formatter is made for HTML templates specifically, but it also triggers when saving any other non-HTML.erb file

it would be awesome to support chained file extensions like so

  "[html.erb]": {
    "editor.formatOnSave": true, // save does not trigger a format
    "editor.defaultFormatter": "aliariff.vscode-erb-beautify"
  },

while it could be fixed by the formatter maintainer in this case;

  1. he says he does not have time to do any updates
  2. my file settings might not be only formatter specific settings

so i think it's way better to support this in vscode :P

thanks

@gjsjohnmurray
Copy link
Contributor

Came out of #35350 (comment)

@aeschli aeschli added html HTML support issues feature-request Request for new features or functionality labels Jul 19, 2024
@VSCodeTriageBot VSCodeTriageBot added this to the Backlog Candidates milestone Jul 19, 2024
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@aeschli aeschli assigned sandy081 and unassigned aeschli Jul 19, 2024
Copy link

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Copy link

🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality html HTML support issues
Projects
None yet
Development

No branches or pull requests

5 participants