Re: [Anjuta-list] RFC: Generic tag-utils lib



I am not very familiar with ctags, so I don't know how well it fits with what we want to do. But I'd like to pin point a few important things about maintaining a program database for autocompletion and code browsing.

- ctags may not be the only solution? Have we looked at other tagging / indexing libraries? There may be more interesting/adequate libs around already.

- how/when is ctags called? you might want to let the user decide a few things as far as when ctags should be called. on low end boxes, you might want to update your program database only when the user explicitely requests it. in other cases you would do that each time a file is saved. if you have lots of CPU, you might want to update each time the editing buffers are changed.

- in cases where the browsing information has been generated from files and the current editing buffers are not the same (i.e. a few lines added / removed), then we need to have some mechanism that can get you the actual line numbers from the initial files line numbers.

That's all I can think about for now. Obviously, we might want a simple and self contained solution first, and then work on incremental refinements of the system. I usually write down on paper the features I WANT, and the features I PLAN to add, then start the implementation..

TTimo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]