This VS Code extension allows you to add, edit, delete, and clear line-specific notes without affecting the file content. Notes are shown at the end of the line and can be managed through commands or keybindings.
Features
Add Notes: Add notes to specific lines of code.
Edit Notes: Edit existing notes.
Delete Notes: Delete notes.
Clear Notes: Clear all notes.
Commands
The following commands are available:
extension.addNote: Add a note to the current line.
extension.deleteNote: Delete the note from the current line.
extension.updateNote: Update the note on the current line.
extension.clearNotes: Clear all notes.
Keybindings
Default keybindings for the commands:
Ctrl+G: Add a note to the current line.
Usage
Open a file in VS Code.
Place the cursor on the line where you want to add a note.
Use the keybinding Ctrl+G or the command Add Note from the command palette (Ctrl+Shift+P) to add a note.
To edit or delete a note, click on the (Note) indicator at the end of the line and choose the desired action from the hover menu.
To clear all notes, use the command Clear Notes from the command palette.
Installation
Clone the repository.
Open the project in VS Code.
Run npm install to install dependencies.
Press F5 to open a new VS Code window with the extension loaded.
Contribution
Feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.