You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1b006ae
Browse filesBrowse the repository at this point in the historyBrowse files
An express/connect/webpack-dev-server compatible middleware for opening files in your editor from the browser, powered by [`launch-editor`](https://github.com/vitejs/launch-editor#readme).
To launch files, send requests to the server like the following:
14
+
15
+
```text
16
+
/__open-in-editor?file=src/main.js:13:24
17
+
```
18
+
19
+
Both the line and column numbers are optional. `file://` URIs are also supported.
20
+
21
+
## API
22
+
23
+
See [`index.d.ts`](./index.d.ts) for the full type definitions and the available arguments.
24
+
25
+
## Custom editor support
26
+
27
+
This package infers the editor from currently running processes. You can override that behavior with the `LAUNCH_EDITOR` environment variable to force a specific editor or run a custom launch script. See the [`launch-editor` README](https://github.com/vitejs/launch-editor#custom-editor-support) for details.
0 commit comments