1.0.3 β€’ Published 4 years ago

vite-plugin-openinvscode v1.0.3

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

vite-plugin-openinvscode

URL input path and file name directly open the corresponding file in vscode

Note: You need to have vscode installed and add it to your path.

Add vscode in your PATH

Usage

// vite.config.js
import openInVscode from 'vite-plugin-openinvscode'

export default {
  plugins: [
    openInVscode()
  ]
}

After run npm run dev, type URL path like http://localhost:3000/__open-in-editor?file=xxxxx,

Best partner

Please use this plugin with my modified react devtools or other tools.

The principle of my react devtools is to send an Ajax request to the middleware, and then open the corresponding file, you can use similar tools or implement your own awesome toolsπŸš€πŸš€πŸš€

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago