Re: [9fans] Codebase navigation and using tags files in acme

2021-08-20 Thread Steve Simon
I wrote a bit of lex to extract features from c code. being lex it is incomplete to say the least but i found it good enough. my code used to run every night passed a list of files to parse, and wrote an idenifier, comment, function, #define etc database (2 text files) which i could grep thro

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-20 Thread a
I did port Exuberant ctags several years ago when I was dealing with a large body of unfamiliar code for a project. Mine is here: http://9p.io/sources/contrib/anothy/src/ctags/ It is a pretty straight-forward port, just adding an output type suitable for acme (file:n). About a year ago (I t

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-20 Thread Ole-Hjalmar Kristensen
I use clangd. Works very well in general. Using it is simple, you launch clangd via acme-lsp like this: acme-lsp -server '(\.h)|(\.cc)$:/home/ole/bin/clangd_10.0.0/bin/clangd --clang-tidy --background-index --cross-file-rename' -workspaces /home/ole/xcomtest On Thu, Aug 19, 2021 at 5:51 AM <6o205z