Monorepo for Django Cotton editor tooling.
| Package | Description |
|---|---|
django-cotton-lsp |
Editor-agnostic LSP server (publishable to npm) |
django-cotton |
VS Code extension (thin client around the language server) |
npm install
npm run compilePress F5 in VS Code to launch the extension against the test-workspace/ fixture.
npm publish -w django-cotton-lspDo not run vsce publish directly from packages/vscode-extension in the monorepo — it will follow workspace symlinks and bundle the whole repo. Use:
npm run package:extensionThis produces packages/vscode-extension/django-cotton-1.0.1.vsix with only the extension and its npm dependencies.
npm run publish:extensionOr package first, then publish the VSIX manually:
npm run package:extension
npx @vscode/vsce publish -i packages/vscode-extension/django-cotton-1.0.1.vsix