vscode-phoenix
vscode-phoenix copied to clipboard
Feature Request: Fold and Unfold for HTML Tags in .heex files
Feature Request
Overview:
I would like to propose the addition of a feature that allows folding and unfolding of HTML tags within .heex files. Currently, the vscode-phoenix extension provides excellent support for working with Phoenix framework's .heex files, but the ability to collapse and expand HTML tags would significantly enhance the development experience.
Details:
Feature Description: Add the ability to fold and unfold HTML tags in .heex files. The folding should work specifically for HTML tags, making it easier to navigate and manage the code.
Benefits:
Improved code readability and organization. Streamlined navigation within .heex files containing extensive HTML markup. Enhanced developer productivity.
Example of how it should be:
https://github.com/phoenixframework/vscode-phoenix/assets/3511128/5e962692-bc0c-4d59-bb77-657434ad8e8f
I was able to resolve this by adding this to my settings:
{
"[phoenix-heex]": {
"editor.defaultFoldingRangeProvider": "vscode.html-language-features"
}
}
Is there a way to plug that into the extension's settings itself so that users don't have to do that manually on their own settings?
Is there a way to plug that into the extension's settings itself so that users don't have to do that manually on their own settings?
It should be possible. Extensions can contribute default settings