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

Indenter Trim/Remove Trailing Spaces #6180

Open
5TjpWBU2wkwHpFDb opened this issue Nov 16, 2023 · 2 comments
Open

Indenter Trim/Remove Trailing Spaces #6180

5TjpWBU2wkwHpFDb opened this issue Nov 16, 2023 · 2 comments
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-smart-indenter status-deferred There is no way to implement this right now, but the team wants to do it.

Comments

@5TjpWBU2wkwHpFDb
Copy link

Excess whitespace at the end of a line, esp. a "blank" line, is a hindrance when I use cursor keys.
Please, make the indenter Indenter Trim/Remove Trailing Spaces

Additionally, maybe reduce multiple "blank" lines to one?
Additionally, maybe remove the "blank" lines at the end of a module?

@5TjpWBU2wkwHpFDb 5TjpWBU2wkwHpFDb added the enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. label Nov 16, 2023
@Vogel612
Copy link
Member

We really need to handle #4251 before tackling any indenter enhancements, so I'm applying [status-deferred]

@Vogel612 Vogel612 added the status-deferred There is no way to implement this right now, but the team wants to do it. label Dec 22, 2023
@retailcoder
Copy link
Member

Side note, the indenter in RD3 is going to become "code formatting", to adhere with LSP terminology; trimming extraneous whitespace is very much in scope there.
It's also inherently going to be based on hierarchical symbols and semantic tokens, which is a couple of notches beyond what the 2.x model is making available in the internal API.

The v3 model is being implemented right now, so code formatting will be a possible RD3 work item once the language server is able to issue workspace symbols and semantic tokens.
Note to self: no need to wait until symbol types are resolved to invoke the code formatting pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. feature-smart-indenter status-deferred There is no way to implement this right now, but the team wants to do it.
Projects
Status: To triage
Development

No branches or pull requests

3 participants