MCPcopy Index your code
hub / github.com/BennyKok/novel-vscode

github.com/BennyKok/novel-vscode @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
18 symbols 42 edges 9 files 4 documented · 22% updated 2y ago★ 738 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

novel-vscode

A vscode extension for novel

Based on hello-world-react-vite for vscode

Installation

Download on vscode marketplace

or

Building vsix

pnpm package

Features

  • Edit markdown file directly in vscode with novel editor [ctrl/cmd]+shift+p -> Edit Markdown with Novel
  • Debounced Auto save

https://github.com/BennyKok/novel-vscode/assets/18395202/8f2d400b-2a03-4ea3-96a2-6ce1eb9869b8

Upon installation, novel-vscode will opens up by default for md/mdx files, to revert back, right click on md file -> open with -> configure default

https://github.com/BennyKok/novel-vscode/assets/18395202/407e6651-efa8-45a8-9529-d3a2083fc4bb

Development

# Navigate into sample directory
cd novel-vscode

# Install dependencies for both the extension and webview UI source code
pnpm install:all

# Build webview UI source code
pnpm build:webview

# Open sample in VS Code
code .

Once the sample is open inside VS Code you can run the extension by doing the following:

  1. Press F5 to open a new Extension Development Host window
  2. Inside the host window, open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type Edit Markdown with Novel

Core symbols most depended-on inside this repo

postMessage
called by 3
webview-ui/src/utilities/vscode.ts
getUri
called by 2
src/utilities/getUri.ts
getNonce
called by 1
src/utilities/getNonce.ts
register
called by 1
src/panels/NovelEditorPanel.ts
updateWindow
called by 1
src/panels/NovelEditorPanel.ts
getWebviewContent
called by 1
src/panels/NovelEditorPanel.ts
getState
called by 1
webview-ui/src/utilities/vscode.ts
setState
called by 1
webview-ui/src/utilities/vscode.ts

Shape

Method 9
Function 5
Class 4

Languages

TypeScript100%

Modules by API surface

src/panels/NovelEditorPanel.ts7 symbols
webview-ui/src/utilities/vscode.ts6 symbols
webview-ui/src/App.tsx2 symbols
src/utilities/getUri.ts1 symbols
src/utilities/getNonce.ts1 symbols
src/extension.ts1 symbols

For agents

$ claude mcp add novel-vscode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page