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

Format selection (VHDL, possibly other languages as well) #653

Open
ckuhlmann opened this issue Sep 4, 2024 · 0 comments
Open

Format selection (VHDL, possibly other languages as well) #653

ckuhlmann opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ckuhlmann
Copy link
Contributor

ckuhlmann commented Sep 4, 2024

Is your feature request related to a problem? Please describe.
When a file contains parts that are not handled well by automatic formatting (e.g. formatting of large and nested if conditions that are arranged over several lines for clarity and logically indented), it would be nice to still be able to format some sections of the document

Describe the solution you'd like
If the user selects part of the document, there should be a "Format selection" command or a mode of the "Format document" command, that affects only the selected text.

Describe alternatives you've considered
Currently, I use the formatter of p2l2.vhdl-by-hgb (https://github.com/g2384/VHDLFormatter) in a separate VSCode portable install since its formatter works with partial VHDL files, but this requires lots of copy-pasting and two VSCode instances, which gets confusing.

@ckuhlmann ckuhlmann added the enhancement New feature or request label Sep 4, 2024
@ckuhlmann ckuhlmann changed the title Format selection (VHDL, prossibly other languages as well) Format selection (VHDL, possibly other languages as well) Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant