company-mode

Modular in-buffer completion framework for Emacs

View on GitHub

狠狠干很很撸9月非农没那么差 市场吃下“定心丸”

發布時間︰

  雲瑯拍拍張安世的肩膀道︰“我準備跟你母親敘話的時候,直接把事情挑明,申明將爵位給你兄長,免得有什麼奇怪的事情發生。”   霍光皺眉道︰“蜀中人要殺我很正常,畢竟奪人財路猶如殺人父母,我在蜀中的時候奪了不少人的飯碗,人家想要殺我很正常,我非常的理解。皇長子的詹事府官員要殺我也能理解,此次肅清詹事府內患的時候,我一口氣殺了十一個官員,某一個官員的家眷想要弄死我也很正常。至于,你說我父親要殺狠狠   雲氏燒石灰的窯日夜火焰不熄,源源不斷的生產石灰,剛剛生產出來的石灰,馬上就會被等候在石灰窯上的各家管事運走。干很很   “死掉的是匈奴人跟匈奴人的僕從軍鬼奴,而我恰恰是一個匈奴人。”   雲瑯見當利走遠了,這才重新倒了一杯茶道︰“那是因為衛皇後如今有求于阿嬌,又不能明說墜了她皇後的威風,用麻將來說話再好不過了。”撸   雲瑯說完就笑嘻嘻的從湖心島上的木屋里走出來,心中很是愉悅。

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