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

Make foldingImportsByDefault work in svelte files #2165

Closed
Xeronic opened this issue Sep 21, 2023 · 3 comments
Closed

Make foldingImportsByDefault work in svelte files #2165

Xeronic opened this issue Sep 21, 2023 · 3 comments

Comments

@Xeronic
Copy link

Xeronic commented Sep 21, 2023

Description

In ts and normal js files if this setting is turned on all imports are collapsed when opening a file. It would be great if this could be the case for Svelte files as well.

Proposed solution

That the Svelte extension should respect this setting: foldingImportsByDefault

Alternatives

No response

Additional Information, eg. Screenshots

No response

@jasonlyu123
Copy link
Member

Duplicate of #2037 and #1704.

@jasonlyu123 jasonlyu123 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
@Xeronic
Copy link
Author

Xeronic commented Sep 22, 2023

Will there be a fix for this. I read this The current folding is indentation based provided by VSCode. This should work as expected once we provide a more "semantic" folding range support. . When will that be in place? I've files that have 20+ imports and it's annoying to not be able to collapse them without wrapping them in a region.

@jasonlyu123
Copy link
Member

Yes. It's on the way. It's nearly finished.

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

No branches or pull requests

2 participants