firefox-main: analyze Typescript projects with scip-typescript#321
firefox-main: analyze Typescript projects with scip-typescript#321nicolas-guichard wants to merge 1 commit into
Conversation
This analyzes all folders which have a tsconfig.json or jsconfig.json with scip-typescript.
|
This is up on kdab.searchfox.org. @asutherland I think it would make sense to gather some feedback from impacted users before landing this? |
|
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:
|
This analyzes all folders which have a tsconfig.json or jsconfig.json with scip-typescript.