This plugin offers quick access of following in VS Code
- focused blocks or pages
- configuration files
- the graph folder
VS Codium is also supported.
Use the following keyboard shortcuts:
mod+shift+o
: Open graphmod+o
: Open current pagemod+alt+o
: Open current block
You can also use the command palette to execute these commands.
Note: Logseq's ctrl+d ctrl+a
shortcut opens the current page in the default app.
Specify the version of VS Code (or, URL scheme) you're using.
- Stable :
vscode://file/
- Insider :
vscode-insiders://file/
- VS Codium :
vscodium://file/
Though not planed, this list can potentially be extended to other editors that support file URLs.
By default, a new windows will be opened. But sometimes it's preferable to avoid reopening a new windows for each file. So several options are provided.
Choose where to open the specified file
- In an independent new window
- In the last focused window
- In the graph folder
- In the workspace (Experimental function. It only works when the file
<graph folder>/<graph_name>.code-workspace
exists. And it's only tested with the stable version)
Right now the path of the file
<graph_name>.code-workspace
has to be put in the graph folder. And it's highly recommended to enable automatic saving on focus change.{ "folders": [ { "path": "." } ], "settings": { "files.autoSave": "onFocusChange", // recommended } }
- Install dependencies with
npm install
- Build the application using
npm run build
ornpm run watch
- Load the plugin in the Logseq Desktop client using the
Load unpacked plugin
option.