I would love to use a tool like this to navigate the unknown on rails!
I doubt, there will be much demand for throwing large non-public code bases into third party services... However, I can totally see how this would be a hit as a FOSS project.
Nice work!
Editing is definitely on the roadmap. We would like to have an agent to sync edits with your local workspace at some point.
Something like: https://github.com/pixelkind/p5canvas
in particular, show all callers and callees of a code snippet
Do you have a way to contact you?
Any reason you're not using treesitter with LSPs by the way? This would make it really easy to get this working with all major languages at once.
Are you on X? You can DM me at @pst723 or @territory_dev.
Don't overlap existing boxes when exploring new definition. Instead find the lowest free space in the column (or insert it at appropriate level)
When adding a reference to rather than exploring definition, default to adding box to the opposite side (left)
Even with the best go-to-definition editor feature you need to keep a whole bunch of mental context when tracking down a deep control flow. The idea of Territory is to give you exactly the relevant cross-section through a large codebase. A code map that you build in this fashion can then provide explanatory value to others.
So far we indexed Linux, LLVM and Godot to prove we can handle repos of that scale and to provide value free of charge to free software contributors. We will be adding more repos and shipping self-service build setup later. Would love to hear your opinion. Are there any projects you think we should cover next? We are doing C/C++ first -- our initial parsing setup is build around libclang.