thomasthorsen / SublimeToks

C/C++ source code navigation using toks (similar to CTags and Cscope)
10 stars 1 forks source link

code completion support #3

Closed lianghu closed 9 years ago

lianghu commented 9 years ago

I really like the idea to do things avoiding the need for setting up compiler options and include paths.

Is it possible let the plugin support code completion based on the Toks?

That would be great and beat the sublimeclang

thomasthorsen commented 9 years ago

You can't really do that in a reliable way without doing what sublimeclang is doing (i.e. having a compilers view of the code), and other solutions do that much better. Toks only does basic tokenization so it is only really useful for code navigation.