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: Remove comments from .conf files. #11

Open intijk opened 5 years ago

intijk commented 5 years ago

configuration file is a very simple type, for example, /etc/debconf.conf

configuration lines are start with #.

Remove empty line also good. Please consider implement it , appreciate :)

plibither8 commented 5 years ago

Hi @intijk,

Seems like an easy addition, I'll implement it ASAP. Thanks for bringing this up :D

Cheers,

Mihir

intijk commented 5 years ago

Great, this is a very common need from system admins. Usually I type below command to achieve this, but I am getting more lazy :laughing:

cat /etc/debconf.conf | egrep "^\s*#" -v | awk NF