Pavic
Overview
Pavic is a VS Code extension that automatically converts pavic(data) into console.log("pavic", data) in JavaScript and TypeScript files.
Features
- Automatically converts
pavic(data) to console.log("pavic", data) when typing in JavaScript and TypeScript files.
- Supports TypeScript React (
.tsx ) files as well.
- Simplifies debugging and logging by reducing repetitive typing.
Installation
You can install the Pavic extension via the Visual Studio Code Marketplace:
- Open Visual Studio Code.
- Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or press
Ctrl+Shift+X .
- Search for "Pavic".
- Click on the Install button.
Usage
Pavic works automatically in JavaScript and TypeScript files. Here’s how you can use it:
- Open a JavaScript or TypeScript file in Visual Studio Code.
- Type
pavic(data) where data is the variable or value you want to log.
- The extension will automatically convert
pavic(data) to console.log("pavic", data) .
Example
// Before
pavic("test");
// After
console.log("pavic", "test");
| |