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

feat: support for langcfg indentation rules #683

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

sebthom
Copy link
Member

@sebthom sebthom commented Feb 4, 2024

This PR adds support for processing and applying indentation rules defined in language configurations.

  1. indentation rules are visible in preferences and can be disabled per language:

  2. indentation on enter is enriched for languages specifying indentation rules. e.g. in PHP when pressing enter after { the next line is now indented:

  3. indentation is adjusted when copy and pasting code snippets depending on insert location:

@sebthom sebthom merged commit 2e1769f into eclipse-tm4e:main Feb 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant