company-mode

Modular in-buffer completion framework for Emacs

View on GitHub

俺去啦avav成人 深爱五月老色哥导航胡春华:中方愿与法方加强科技、农业等领域务实合作

發布時間︰

  從此之後,反正我是不看好這位太子的前程。   霍去病抬手按下了趙破奴將要發射的羽箭,頗為玩味的指著場子里的梟盡道︰“難得啊,終于見到一個像點樣子的匈奴貴族了。”俺去啦avav   霍光笑道︰“把他們的戶籍改掉就成了。”成人 深爱五月   然而,這僅僅是一個想法而已,在劉徹時代造反……難度太大了,只要想想那些正在跟匈奴作戰的彪悍大漢鐵騎馬上就要轉身對付你了,再好的計劃也會在襁褓中夭折,而且還是自己親自淹死的。   所以,雲瑯看到烏雲,只是懷念一下自己那個足矣讓他驕傲到死的兄弟一下。老色哥导航   只是,後果依舊是嚴重的,他們失去了對王國的統治權,只剩下享受封國部分賦稅的權力,劉徹在處理掉自己的弟弟劉發之後,長沙國內的縣令一級官員都是朝廷任命的。

Company is a text completion framework for Emacs. The name stands for "complete anything". It uses pluggable back-ends and front-ends to retrieve and display completion candidates.

It comes with several back-ends such as Elisp, Clang, Semantic, Eclim, Ropemacs, Ispell, CMake, BBDB, Yasnippet, dabbrev, etags, gtags, files, keywords and a few others.

The CAPF back-end provides a bridge to the standard completion-at-point-functions facility, and thus works with any major mode that defines a proper completion function.

Screenshots

company-elisp company-semantic

Installation

This package is part of GNU ELPA (M-x list-packages).

Advanced users can also download the development snapshot.

Usage

Once installed, enable company-mode with M-x company-mode.

Completion will start automatically after you type a few letters. Use M-n and M-p to select, <return> to complete or <tab> to complete the common part. Search through the completions with C-s, C-r and C-o. Press M-(digit) to quickly complete with one of the first 10 candidates.

Type M-x company-complete to initiate completion manually. Bind this command to a key combination of your choice.

When the completion candidates are shown, press <f1> to display the documentation for the selected candidate, or C-w to see its source. Not all back-ends support this.

To use company-mode in all buffers, add the following line to your init file:

(add-hook 'after-init-hook 'global-company-mode)

To see or change the list of enabled back-ends, type M-x customize-variable RET company-backends. Also see its description for information on writing a back-end.

For information on specific back-ends, also check out the comments inside the respective files.

For more information, type M-x describe-function RET company-mode.

To customize other aspects of its behavior, type M-x customize-group RET company.

See Also

Feedback

If you experience any problems or have a feature request, please use the issue tracker.

Contributing

Company is subject to the same copyright assignment policy as Emacs itself, org-mode, CEDET and other packages in GNU ELPA. Any legally significant contributions can only be accepted after the author has completed their paperwork. Please ask for the request form, and we'll send it to you.

More Reading