Giter VIP home page Giter VIP logo

comment-remover-vscode-extention's Introduction

Comment Remover for VS Code

This VS Code extension provides a simple and efficient way to remove single-line comments from your code. Whether you're cleaning up a file, preparing code for production, or simply need to declutter your workspace, Comment Remover makes it easy with just one command.

Features

  • Remove Single-line Comments: Quickly remove // single-line comments from any file.
  • Intelligent URL Skipping: Preserves URLs in your code, ensuring that only non-essential comments are removed.
  • Support for Multiple Languages: Works with any programming language supported by VS Code that uses // for single-line comments.

Installation

  1. Open Visual Studio Code.
  2. Press Ctrl+P to open the Quick Open dialog.
  3. Type ext install your-publisher.comment-remover and press Enter.
  4. Once installed, you can access Comment Remover from the Command Palette.

Usage

To use Comment Remover, follow these steps:

  1. Open the file from which you want to remove comments.
  2. Open the Command Palette with Ctrl+Shift+P (or Cmd+Shift+P on macOS).
  3. Type "Remove Single-line Comments" and press Enter.

Your file will be instantly cleaned of single-line comments, except for URLs or commented-out URLs.

Configuration

No configuration is necessary to use Comment Remover. It works out of the box with any supported file type.

Known Issues

Currently, Comment Remover only supports single-line comments starting with //. Block comments and other comment types are not affected.

Contributing

If you encounter a bug or have a feature request, please open an issue on our GitHub repository. Contributions to improve Comment Remover are always welcome!

Release Notes

1.0.0

Initial release of Comment Remover:

  • Remove single-line comments.
  • Skip URLs in comments.

comment-remover-vscode-extention's People

Contributors

japsimrans13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.