1 - the "search based" navigation is based on tree sitter https://docs.github.com/en/repositories/working-with-files/u...
2 - the list of parsers in the official docs: https://tree-sitter.github.io/tree-sitter/
1 - the "search based" navigation is based on tree sitter https://docs.github.com/en/repositories/working-with-files/u...
2 - the list of parsers in the official docs: https://tree-sitter.github.io/tree-sitter/
I couldn't immediately find a way to opt out; I wouldn't mind the new file browser so much if I could drop into it on demand instead of having it forced down my throat.
The new UI is more busy for no good reason. Sidebar makes sense in a local IDE, but over web every time you expand a subtree it takes ages anyway. And because it merely exists it is distracting and makes pages load slower...
I get what they’re trying to do, and in some ways it’s clearly beta growing pains, but in other ways it’s clear they’re fighting the browser environment in ways that don’t and probably shouldn’t work.
So the answer may be that semantic does not yet have support for the language in question.
> During this time, the team migrated from a Semantic-based tagging service to one that operated entirely with (newly developed) Tree-sitter queries. Though Semantic performed well, using the Tree-sitter query language allowed faster iteration and avoided the operational overhead of a program-analysis framework.
I don't see an answer in there, though.
They use tagging (as described also here: https://tree-sitter.github.io/tree-sitter/code-navigation-sy...). From both docs I assume `tree-sitter tags` works out of box for any language that has a parser. (Since neither doc instructs to save a custom config for tag extraction query, I assume every language plugin provides tagging queries).
So, I wasn't trying to identify named things, like the tags command might seem to do, but more generic parts of the langauges like function, var, import/export statements, etc. I ultimately made my own walk functionality, but pulling out those atomic parts per language is still a very heavy task (basically need a mini lexer for each lang), even though TS seems to provide all the info to do the task.
[1] https://github.com/github/semantic/blob/793a876ae45d38a6bd17...