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

Feature Request: Fold and Unfold for HTML Tags in .heex files #24

Open
daniel-leal opened this issue Feb 23, 2024 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@daniel-leal
Copy link

daniel-leal commented Feb 23, 2024

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:

Screen.Recording.2024-02-23.at.09.30.52.mov
@samharnack
Copy link

I was able to resolve this by adding this to my settings:

{
  "[phoenix-heex]": {
    "editor.defaultFoldingRangeProvider": "vscode.html-language-features"
  }
}

@chrismccord chrismccord added the help wanted Extra attention is needed label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants