company-mode

Modular in-buffer completion framework for Emacs

View on GitHub

大香蕉网伊人在线75大香蕉伊人大香蕉伊人75在线播放美军国会“哭穷”:B-1轰炸机只有6架能作战

發布時間︰

  雲瑯悶哼一聲,攥緊了的拳頭緩緩松開,擠出一個笑臉道︰“半個月收齊國稅,那個刺史敢跟我比!”   “怎麼辦啊?這些部落今年的結余很多,他們要用本來屬于我的牛羊來跟我換東西……天啊,我哪有那麼多的鹽巴,麻布,糧食,鐵鍋?麻袋?鐵釘?車輪?這在內地都是緊俏物資……我該怎麼辦呢?”大香蕉网伊人在线75   這個時候,為了不動搖軍心,就該軍司馬站出來背黑鍋,朝廷也是這麼認為的。大香蕉伊人   此次,我只是說明白了山野之民的由來,告訴世間所有人,我們不能重蹈覆轍,把野民尋找回來,再把他們逼迫入山。   同時他也認為,廣種薄收才是出人才的好法子,所以,他用起人來用的非常狠,死掉的算他背風,活下來的將會受益無窮。大香蕉伊人75在线播放   劉徹不明所以的瞅瞅衛青。

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