company-mode

Modular in-buffer completion framework for Emacs

View on GitHub

超碰在线视频超碰免费在线视频一本道久久综合久久爱报道称HTC即将推出旗舰新品手机 计划重返印度市场

發布時間︰

  沒錢沒勢的卓姬現在最喜歡做的事情就是鼓搗她的院子,牆根丟一個破甕,就裝滿土,種上一枝紅杏。   司馬遷,孫大路轟然領命。超碰在线视频   回到大廳的何愁有再一次縮在壁爐邊上,瞅著雲瑯四人道︰“知足吧,這個時候還能放你們四個在外邊招搖,長門宮里的那些人還不知道多羨慕呢。超碰免费在线视频   天底下有絕對忠貞的臣子,可是呢,這些人只是極少數,大部分的人呢,其實沒有為國盡忠的想法。   司馬遷苦笑道︰“我何嘗不知道君侯是在執行陛下的旨意,只是,為尊者諱,還是要的。再說了,雲侯在執行這項軍務的時候我沒有看到他有半點的不情願,甚至有些躍躍欲試。以城池為柱,以道路為鏈,以勛貴莊園為鎖的囚籠政策,就是他炮制出來的。某家不過是據實書寫而已,他敢做,就不要怕史官秉筆直書!”一本道久久综合久久爱   陛下知道了那些人暗地里做的事情,就會一查到底,查下去的結果就是件件事情都確鑿無疑啊,以老夫對劉陵的了解,她不會在這一點上犯錯的。

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