company-mode

Modular in-buffer completion framework for Emacs

View on GitHub

CaoPorn首页伊人草香蕉综在合线9便宜就是硬道理:Pixel 3a系列让Pixel销量翻了几倍

發布時間︰

  正在忙碌的幾個雲氏醫者听這人這樣大叫,就很有默契的停下手里的活計,去幫助別的君侯解除痛苦去了,反正腦袋在罐子里看不見是誰,又沒有性命之憂,晚一點過來並無大礙。   在他的身邊有一棵高大的松樹,密密匝匝的松樹枝子宛若一張巨傘撐開,雖不能完全隔絕雨水,站在樹下,撐著傘卻不會有一滴雨水落在身上。CaoPorn   霍去病笑道︰“都是好手,又不能下死手打,只能一拳換一拳,耶耶的拳頭重,被他們打上幾拳不礙事,耶耶打他一拳就能讓他昏過去。一會到了醫館,讓小喬幫我治傷,你小老婆早就想拿我的身子做實驗了,不能給她這個機會。”首页   公孫敖瞅著雲瑯笑道︰“你不知道?”   “雲氏醫館無限期歇業,璇璣城諸人全部回雲氏莊園,如果雲氏莊園也發生讓人發 癥的事情,我們就一把火燒掉雲氏,搬去驪山上居住。”伊人草香蕉综在合线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