简体   繁体   中英

Emacs X11 autocompletion (intellisense)

I use visual studio for day to day programming (read putting food in my mouth) but for personal programming (read c/c++ hacking) I use Emacs.

Right now I am doing a programming exercise involving the X11 API. I am continually referring to the programming API manual to find the signature of function calls.

What would be really nice would be if there was an emacs alternative to the visual studio intellisense. I know there is autocompletion for the language specifics.

Is there such an extension available to Emacs? Or if not, is there way of creating one, maybe using the language specifics mechanism already used for auto completion?

Check out autocomplete.el, combine it with CEDET and you've got yourself true drop-down box intellisense-style completions.

http://www.emacswiki.org/emacs/AutoComplete http://cx4a.org/software/auto-complete/

我相信Cedet为C ++等提供自动完成功能,并且是Emacs 23的一部分。您可能还想查看自动完成 ,这是我自己使用的。

I have cedit installed, but frankly I never use it. But I'm not enamoured of intellisense either. You seem to like it, so you may like cedit as well.

You may also be interested in VisEmacs , which allows you to use Emacs as your editor under VisualStudio. That I use every day.

Not 100% auto completion, but you may also be interested in ETAGS, the CTAGS of emacs. http://ctags.sourceforge.net/

Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM