0.0.9 • Published 2 years ago

vscode-ui-connector v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vscode-ui-connector

Installation

Install the npm package

npm i -D vscode-ui-connector

Content Script

/* rollup.config.js */
import {vscodeUiConnector} from 'vscode-ui-connector';

export default {
	plugins: [vscodeUiConnector()],
};

explanation: The content script is injected in your page during development and listen for click events, it builds a context object and sends it to the server to find the best location in your source.

Server

Use vscode-ui-connector in your npm scripts to start the server (or short version vuc). You can also use npx vuc from the command line. (Running the server as a service using wireit is the recommended way.)

explanation: The server waits for the content script to send a context object, it then uses grep to find the best match and attempts to find the best location, and opens it in VSCode.

Usage

Use Alt + click on any element in your page.

License

MIT (c) 2023 Valentin Degenne

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago