views:

96

answers:

1

I'm building an open-source autocomplete plugin for my text editor b/c it doesn't have one yet. Are there any autocomplete libraries I can use i.e. some sort of data file containing commonly used functions in Java, C, PHP etc?

I have the plugin built, but I don't particularly want to go through all of Java's documentation and hand-write the actual library that the plugin would reference. I'm just looking for a text file that contains something like:

String double boolean implements ..etc etc etc...

I'm sure someone has solved this problem before. Are there some simple text files somewhere containing common functions/tokens that I could use?

A: 

It's not exactly what you're looking for, but ctags is your first friend here. Just a quick first step to get you going.

Vytautas Shaltenis
This was pretty cool, but not exactly what I was looking for...because of the nature of ctags, it is more useful for creating a map of a file than for creating a library of tokens from the file.
Goose Bumper