Skip to content

Analyze README-advertised language extensions - #102

Open
braedonsaunders wants to merge 1 commit into
mainfrom
cursor/advertised-lang-exts-0f8f
Open

Analyze README-advertised language extensions#102
braedonsaunders wants to merge 1 commit into
mainfrom
cursor/advertised-lang-exts-0f8f

Conversation

@braedonsaunders

@braedonsaunders braedonsaunders commented Sep 3, 2026

Copy link
Copy Markdown
Owner

The Supported Languages table already lists C++ .cxx / .hh / .hxx, Scala .sc, Groovy .gvy, Erlang .hrl, literate Haskell .lhs, F# .fsi, OCaml .mli, ClojureScript .cljs / .cljc, and PowerShell .psd1. Folder, GitHub, and ZIP analysis dropped those files because they were in neither codeExts nor textExts.

The thin CLI already watched them for live diffs, so a save in one of those files could mark the analysis stale without the file ever appearing on the map.

What changed

  • Added the advertised extensions to Parser.codeExts so they are included as code.
  • Pointed the existing C++ / Scala tree-sitter configs at the extra suffixes.
  • Tests cover inclusion, CLI watch parity, and C++ / Scala / Groovy extraction on the new suffixes.

Still one HTML file plus tests. No new packages. Does not touch the named-groups or 3D-particle PRs.

How to see it

  1. Open a folder that has a .cxx or .cljs file (or analyze a GitHub repo that does).
  2. That file should appear as a node and, for C++/Scala/Groovy, have functions extracted.

Tests

npm test is green (217).

Left out

  • Did not add new language-specific extractors for Haskell/Erlang/Clojure/PowerShell (those already-included suffixes still use the shared heuristic).
  • Did not change Code view, named groups, or 3D particles.
  • Did not close an issue (none were open).
  • Did not merge.

Promotion-block notes

Open in Web Open in Cursor 

The Supported Languages table already lists C++ .cxx/.hh/.hxx, Scala
scripts, Groovy .gvy, Erlang headers, literate Haskell, F#/OCaml
signatures, ClojureScript, and PowerShell data files. Those paths were
dropped from folder, GitHub, and ZIP analysis because they were neither
code nor text, even though the CLI already watched them for live diffs.

Co-authored-by: Braedon Saunders <braedonsaunders@users.noreply.github.com>
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
codeflow Ready Ready Preview Sep 3, 2026 4:25pm UTC

Request Review

@braedonsaunders
braedonsaunders marked this pull request as ready for review September 4, 2026 01:03
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

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