Skip to content

Collapsible Regions for the PDE #1144

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

Closed
schmallan opened this issue Jun 12, 2025 · 1 comment
Closed

Collapsible Regions for the PDE #1144

schmallan opened this issue Jun 12, 2025 · 1 comment

Comments

@schmallan
Copy link

Relevant sub-area for this feature?

PDE

Feature description

Adding collapsible (folding) regions to the PDE text editor, similar to Visual Studio. Clicking the arrow on the left side of a set of curly braces would hide/show the content within.

Image

Benefits

Improve code readability as an alternative to using separate files.

Possible challenges

No response

Additional context

No response

Would you like to work on the issue?

Yes

@Stefterv
Copy link
Collaborator

Hi @schmallan, thanks for the suggestion! Great to see that you're interested in working on this.

It unfortunately does not align with the current direction for the PDE.
Code folding like you are suggesting is very helpful for more advanced users of Processing but is somewhat confusing for beginners, especially if it can be done on accident. Instead we are planning to expand the possibilities to use editors like VSCode (see #1115) and IntelliJ IDEA, which already come with code-folding support out of the box.

For future reference, this idea is a duplicate of #426.

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