Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions vscode-extension/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
out/
node_modules/
*.vsix
6 changes: 6 additions & 0 deletions vscode-extension/.vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.vscode/**
src/**
node_modules/**
tsconfig.json
**/*.ts
**/*.map
40 changes: 40 additions & 0 deletions vscode-extension/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# MaxPyLang VSCode Extension

A VSCode extension for generating Max/MSP and Max for Live patches using natural language prompts.

## Status

**Scaffold only** — the UI shell is in place but generation logic is not yet connected. The extension registers:

- A sidebar panel with a prompt input, plugin type selector, and generate button
- A command `MaxPyLang: Open Prompt` to open the sidebar

## Development

```bash
cd vscode-extension
npm install
npm run compile
```

Then press `F5` in VSCode to launch the Extension Development Host and test.

## Structure

```
vscode-extension/
src/
extension.ts # Entry point — registers command + webview provider
promptView.ts # Webview sidebar panel with prompt UI
media/
icon.svg # Activity bar icon
package.json # Extension manifest
tsconfig.json # TypeScript config
```

## Next Steps

- [ ] Connect the generate button to the backend API
- [ ] Display generation progress and results in the webview
- [ ] Add output file handling (open generated .maxpat/.amxd in editor or finder)
- [ ] Add preset prompt templates for common plugin types
5 changes: 5 additions & 0 deletions vscode-extension/media/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading