-
Notifications
You must be signed in to change notification settings - Fork 14
Collapse elements in editor #23
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
Comments
Today code folding uses line indentation (like VSCode) and not AST (like JDT). I don't know if it will be easy to fold "import", see https://github.com/angelozerr/typescript.java/blob/master/eclipse/jsdt/ts.eclipse.ide.jsdt.ui/src/ts/eclipse/ide/jsdt/internal/ui/editor/folding/IndentFoldingStrategy.java |
Maybe searching for the first and the last lines with "import" as the first keyword the import section can be detected. |
Yes it's the idea. |
Cool! |
Maybe imports can be collapsed automatically as JDT does for Java
The text was updated successfully, but these errors were encountered: