A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/icoretech/autopathcomment below:

icoretech/autopathcomment: VSCode extension that adds a comment with the file's relative path at the top of the file upon saving

AutoPathComment is a Visual Studio Code extension that automatically inserts a comment at the top of your file with its relative path when you save. This can be useful for quickly identifying a file’s location, especially in large or multi-root workspaces.

  1. From the VS Code Marketplace (recommended):

  2. From a VSIX file:

    1. Download the autopathcomment-0.0.1.vsix file (created by vsce package).
    2. In VS Code, press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) and select Extensions: Install from VSIX....
    3. Select the downloaded .vsix file to install.
  3. From Source:

    1. Clone the repository or download it.
    2. Run npm install.
    3. Run npm run package or vsce package to create a .vsix.
    4. Install the .vsix in VS Code as above.
  1. Open a file within a folder or workspace in VS Code.

  2. Edit and Save (Ctrl+S / Cmd+S).

  3. That’s it! You should now see something like:

    # src/utils/parser.py
    
    # (rest of your file)

    or

    // src/components/MyComponent.ts
    
    // (rest of your file)

Right now, the extension offers limited customization. You can modify the code to:

Known Issues / Limitations
  1. Fork and clone the repo.
  2. Create a new branch for your feature or bugfix.
  3. Open a pull request describing your changes.

This project is licensed under the MIT License.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4