Skip to content

firefox-main: analyze Typescript projects with scip-typescript#321

Open
nicolas-guichard wants to merge 1 commit into
mozsearch:masterfrom
nicolas-guichard:push-trnmzrtzmkto
Open

firefox-main: analyze Typescript projects with scip-typescript#321
nicolas-guichard wants to merge 1 commit into
mozsearch:masterfrom
nicolas-guichard:push-trnmzrtzmkto

Conversation

@nicolas-guichard

Copy link
Copy Markdown
Collaborator

This analyzes all folders which have a tsconfig.json or jsconfig.json with scip-typescript.

This analyzes all folders which have a tsconfig.json or jsconfig.json
with scip-typescript.
@nicolas-guichard

Copy link
Copy Markdown
Collaborator Author

This is up on kdab.searchfox.org. @asutherland I think it would make sense to gather some feedback from impacted users before landing this?

@asutherland

asutherland commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

We definitely will want feedback from people, although I think a key ingredient will be to be able to convey what's actually using scip-typescript and what isn't. A JS subsystem I like to use a lot of the time for looking at JS analysis because I end up using it a lot and it also potentially has a lot of C++ crossings contains AsyncShutdown.sys.mjs and nsAsyncShutdown.sys.mjs but they were not indexed by scip-typescript (as can be quickly determined by looking at the raw analysis records and the symbol naming scheme.)

To figure out what is scip-typescript, I logged into the server and grepped for "Skipping analysis" in the index-log. I think there were fewer things there than I expected. In terms of making the info available to people, maybe we can run a very simple grep-y step on the log that builds a hacky html page that lists all the files and drops it in /pages/ like where we put the settings page. We could also do something more fancy like put the indexer type in the concise file info and then do a batch file listing page that lists all the files that used that generator.

I found https://kdab.searchfox.org/firefox-main/source/toolkit/components/extensions/ExtensionParent.sys.mjs quite interesting:

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