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

SQL Editor - Format - Trim trailing spaces #23465

Open
ShadelessFox opened this issue Apr 18, 2024 Discussed in #23459 · 0 comments
Open

SQL Editor - Format - Trim trailing spaces #23465

ShadelessFox opened this issue Apr 18, 2024 Discussed in #23459 · 0 comments
Labels
feature request xf:sql editor SQL Editor and Editor Services like autocompletion, highlighting, folding, formatting, etc. xp:normal

Comments

@ShadelessFox
Copy link
Member

Discussed in https://github.com/orgs/dbeaver/discussions/23459

Originally posted by GuenterSch May 31, 2022
Hello,
to remove all trailing spaces of a script/file (opened in SQL Editor), it would be fine to have the functionality
Edit>Format>Trim trailing spaces
for the selection and for the whole file.

Example:
_ (Underscore) stands for a space
select_*________


___from DUAL;


-->


select_*


___from DUAL;

Thanks, BR
Günter

Let's add extra commands for trimming leading and trailing spaces separately.

@ShadelessFox ShadelessFox added feature request xp:normal xf:sql editor SQL Editor and Editor Services like autocompletion, highlighting, folding, formatting, etc. labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request xf:sql editor SQL Editor and Editor Services like autocompletion, highlighting, folding, formatting, etc. xp:normal
Projects
None yet
Development

No branches or pull requests

1 participant