plibither8 / vscode-remove-comments

🚫 VS Code extension to remove all comments from your code at once — 60+ languages supported
https://marketplace.visualstudio.com/items?itemName=plibither8.remove-comments
MIT License
36 stars 13 forks source link

Feature Request: Support VHDL #17

Closed Nabav closed 2 years ago

Nabav commented 4 years ago

By copying VHDL codes from language templates, a lot of inline comments are added, which usually violate the maximum single line length.

For example:

   OBUFDS_inst : OBUFDS
   generic map (
      IOSTANDARD => "DEFAULT", -- Specify the output I/O standard
      SLEW => "SLOW")          -- Specify the output slew rate
   port map (
      O => O,     -- Diff_p output (connect directly to top-level port)
      OB => OB,   -- Diff_n output (connect directly to top-level port)
      I => I      -- Buffer input 
   );

All [whitespace]--whatever parts can be removed.

Nabav commented 4 years ago

Please not that the block comments are also added recently into VHDL-2008.

/*
multiple line comment
*/

-- single line comment

a <= b; -- inline comments
Nabav commented 2 years ago

The new extension does this. https://github.com/rioj7/remove-comments