Variable Log Extension for VS Code
This extension allows you to quickly insert console.log statements before or after a selected variable in your code.
Features
Insert console.log before a variable: This command inserts a console.log statement before the selected variable in the active text editor.
Insert console.log after a variable: This command inserts a console.log statement after the selected variable in the active text editor.
Requirements
- Visual Studio Code 1.50.0 or later
Installation
- Launch Visual Studio Code.
- Go to the Extensions view (Ctrl+Shift+X).
- Search for "Variable Log" and click Install.
- Restart Visual Studio Code (if required).
Usage
- Open a JavaScript or TypeScript file in the editor.
- Select the variable you want to log.
- Code Actions on the selected variable or use the command palette (Ctrl+Shift+P).
- Choose either "Insert console.log before line" or "Insert console.log after line" from the available commands.
- A
console.log statement will be inserted at the appropriate position.
Known Issues
- No known issues at the moment. If you encounter any problems, please report them in the Issues section of the GitHub repository.
Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request to the main repository.
License
This extension is released under the MIT License.
For any questions or suggestions, feel free to reach out to the project maintainer:
- Roulianosss
- Email: roulianosss@gmail.com
| |