Skip to content

paket-phileep/vscode-logger

Repository files navigation

vscode-logger

vscode-logger is a Visual Studio Code extension that simplifies logging for developers by providing enhanced logging functionalities directly within the editor.

Features

  • Log Insertion: Quickly insert log statements (e.g., console.log) into your code with customizable templates.
  • Log Highlighting: Automatically highlight log statements for better visibility and debugging.
  • Log History: View a history of recent log statements and navigate directly to their insertion points.
  • Customizable Settings: Tailor logging behavior and appearance to suit your preferences.

Installation

You can install vscode-logger from the Visual Studio Code Marketplace or directly from the editor.

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for vscode-logger.
  4. Click Install to install it.
  5. Reload Visual Studio Code to activate the extension.

Usage

Inserting Logs

To insert a log statement:

  1. Place your cursor at the position where you want to insert the log.
  2. Open the Command Palette (Ctrl+Shift+P).
  3. Type Insert Log and select the desired log type (e.g., console.log).

Configuring Settings

You can customize vscode-logger through the settings:

  1. Go to File > Preferences > Settings (Ctrl+,).
  2. Search for vscode-logger to find all available settings.
  3. Modify the settings as per your requirements.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes. For major feature requests, please open an issue first to discuss the proposed changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For any questions or issues, please open an issue on GitHub.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published