3 ms·
Good point, ctags is a bit old school! Most IDEs use Language Server Protocol now for similar purposes. I added a few sentences of explanation and background o
by anotherpaulg 3y ago
Good point, ctags is a bit old school! Most IDEs use Language Server Protocol now for similar purposes.
I added a few sentences of explanation and background on ctags to my writeup.
- cyrialize 3y agoI'm a big fan of ctags. My old Emacs setup utilized Ctags when all else failed. So if I wanted to find a reference for something it would use LSP, then ctags if LSP returned nothing.
- RossBencina 3y agoI've been thinking that there needs to be a LangChain or similar in-prompt Tool that allows the model to automatically query a Language Server Protocol server. Maybe your tool does everything that could be done that way anyhow. aider looks interesting, I will try it out.
- anotherpaulg 3y agoAbsolutely, LSP is strictly more capable than ctags for this purpose. I mention it in the future work section of the writeup I linked above. The main reason I started with ctags is because the `universal ctags` tool supports a ton of languages right out of the box. Each LSP server implementation tends to only support a single language. So it would be more work for users to find, install and stand up the LSP server(s) they need for their particular projects. I plan to try some experiments with LSP in the future.