Skip to content

docs: expand Django Cotton (VS Code) ecosystem entry with current features#369

Merged
wrabit merged 1 commit into
wrabit:mainfrom
twentyforty:docs/update-vscode-extension-ecosystem-entry
Jul 12, 2026
Merged

docs: expand Django Cotton (VS Code) ecosystem entry with current features#369
wrabit merged 1 commit into
wrabit:mainfrom
twentyforty:docs/update-vscode-extension-ecosystem-entry

Conversation

@twentyforty

@twentyforty twentyforty commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

The Django Cotton (VS Code) extension's ecosystem entry hasn't kept up with the extension itself - it now offers a fair bit more than "autocompletion, go-to-definition, parameter intellisense from c-vars, and missing-component diagnostics". This PR updates the one-line description on the Ecosystem page to reflect what's actually shipped today:

  • Hover documentation for components and props
  • Go-to-definition for props (to their <c-vars> declaration or first usage) and slot names
  • Find All References, plus unused-component detection in the file explorer
  • Support for the c-vars, c-slot, and c-component built-in directives
  • A new diagnostic for <c-slot name="..."> values that don't match anything the target component references (catches typos)

Test plan

  • Confirmed ecosystem_item.html's description paragraph has no truncation/line-clamp styling, so the change is purely a copy update with no layout risk.
  • Kept the new copy close in length to the other entries on the page (~24 words) per that component's own "one-line description" convention.

…tures

The extension has grown substantially since this description was written:
hover docs, Find All References, unused-component detection, go-to-definition
for props and slot names, and diagnostics for slot-name typos in addition to
missing components. Update the ecosystem listing to reflect what it actually
does today, matching the existing one-line description convention.

Co-authored-by: Cursor <cursoragent@cursor.com>
@twentyforty
twentyforty force-pushed the docs/update-vscode-extension-ecosystem-entry branch from b5cbb1f to 8d62446 Compare July 11, 2026 15:06
@wrabit
wrabit merged commit 60bea18 into wrabit:main Jul 12, 2026
18 checks passed
@wrabit

wrabit commented Jul 12, 2026

Copy link
Copy Markdown
Owner

@twentyforty would you consider publishing the LSP server as a standalone package? I'd be interested to add support for this to pycharm..

@twentyforty

Copy link
Copy Markdown
Contributor Author

give it a shot:

https://www.npmjs.com/package/django-cotton-lsp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants