g2384 / VHDLFormatter

VHDL formatter web online written in typescript
https://g2384.github.io/VHDLFormatter/
MIT License
52 stars 20 forks source link

Skip formatting in defined regions #47

Open ed-boon opened 3 years ago

ed-boon commented 3 years ago

Request a new feature

First of all - thank you for your grat work!

Skip formatting in defined regions with comment tags

It would be great to have comment tags that allows you to disable the formatter in a defined region of code.

Example Input = Output within region:

--vhdlformatter_disable -> or any other special tag name
        test : entity work.test
            generic map(
                g_access_addr_config => (start_addr,
                                         addr_length,
                                         end_addr
                                        ))
-- --vhdlformatter_enable