HOWTO #67092
-
I would like to know how I can run the symbol extraction process myself. The symbol extraction documentation notes that it is based on tree-sitter and stack-graphs. However, neither of those repositories has useful information on how to run the process on a local source package and store the results in a local database. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @frobnitzem! The documentation page you link to refers to several features related to code navigation. In particular the precise code navigation is powered by the open source |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Hi @frobnitzem! The documentation page you link to refers to several features related to code navigation.
In particular the precise code navigation is powered by the open source
stack-graphs
library you link to. For the languages we've published so far, a CLI is available that supports indexing directories and querying the resulting database. There's not a lot of documentation yet, but the CLI has decent help output. See https://github.com/github/stack-graphs/tree/main/languages/tree-sitter-stack-graphs-typescript#command-line-program for the TypeScript CLI (which is the most mature language we've published so far).