company-files
has been moved to right aftercompany-capf
incompany-backends
(#463).company-semantic-insert-arguments
: New option. Like incompany-clang
.company-semantic-begin-after-member-access
: New option. Similar to the one incompany-clang
.company-capf
accepts:company-prefix-length
property value.- New face
company-tooltip-annotation-selection
, used for the annotation in the selected tooltip line. company-clang-objc-templatify
has been renamed tocompany-template-objc-templatify
.- When duplicates are removed, completions without annotations are also removed in favor of completions with equal names that have annotations (experimental change) (#432).
- New user option
company-etags-everywhere
. company-yasnippet
supportsyas-key-syntaxes
better. But we use them in the reverse order, preferring the longest key prefix that matches anything. And we only consider trigger key prefixes that are at least as long as the symbol at point, which effectively means skipping the"w"
element (#422).- New user option
company-search-regexp-function
. - Completion is not started automatically when a keyboard macro is being recorded (#374).
- New command
company-indent-or-complete-common
. - Backend command
doc-buffer
now can also return a cons of buffer and window start position. - Backend command
ignore-case
has been documented. company-template-c-like-templatify
does not replace the default argument values withargN
anymore (#336). This affectscompany-clang
and all third-party backends that use this function.- Likewise for
company-clang-objc-templatify
. company-template-add-field
calling convention has changed.- New user option
company-dabbrev-ignore-invisible
. company-ropemacs
was removed.ropemacs
supports completion viacompletion-at-point-functions
starting with version 0.8.company-pysmell
was removed.company-select-next
,company-select-previous
,company-select-next-or-abort
,company-select-previous-or-abort
andcompany-complete-common-or-cycle
accept a numeric argument.- The documentation buffer window can be scrolled with the mouse wheel.
- New command
company-diag
. Use it in bug reports.
- New variable
company-lighter-base
. - Better tracking of the current selection.
- Pressing
M-0
...M-9
works in the search mode. - Pressing
<up>
or<down>
doesn't quit the search mode.
- New commands
company-next-page
andcompany-previous-page
, remappingscroll-up-command
andscroll-down-command
during completion.
- Pressing
M-n
orM-p
doesn't quit the search mode. - New command
company-complete-common-or-cycle
. No default binding. company-search-toggle-filtering
replacedcompany-search-kill-others
.- Quitting the search mode resets the filtering.
- Pressing
backspace
in the search mode deletes the character at the end of the search string. company-semantic
displays function arguments as annotations.- New user option,
company-bbdb-modes
. company-show-numbers
andcompany-complete-number
now use visual numbering of the candidates, taking into account only the ones currently displayed.company-complete-number
can be bound to keypad numbers directly, with or without modifiers.company-cmake
expands<LANG>
and<CONFIG>
placeholders inside variable names.
company-clang
andcompany-template-c-like-templatify
support templated functions and arguments.company-dabbrev
ignores "uninteresting" buffers by default. Depends on the new user option,company-dabbrev-ignore-buffers
.company-files
checks directory's last modification time.company-files
supports relative paths and Windows drive letters.
company-ropemacs
is only used whenropemacs-mode
is on.company-gtags
is enabled in allprog-mode
derivatives by default.company-end-of-buffer-workaround
is not used anymore.company-begin-commands
includes some ofcc-mode
commands.
- On Emacs 24.4 or newer, tooltip positioning takes line-spacing into account.
- New face
company-tooltip-search
, used for the search string in the tooltip. - The default value of
company-dabbrev-minimum-length
is set to 4, independent of thecompany-minimum-prefix-length
value.
- New user option
company-occurrence-weight-function
, allowing to tweak the behavior of the transformercompany-sort-by-occurrence
. - Setting
company-idle-delay
tot
is deprecated. Use the value 0 instead.
company-require-match
is not in effect when the new input doesn't continue the previous prefix, and that prefix was a match.- The meaning of
company-begin-commands
value t has slightly changed. - New transformer,
company-sort-by-backend-importance
. - When grouped back-ends are used, the back-end of the current candidate is indicated in the mode-line, enclosed in angle brackets.
- New user option
company-gtags-insert-arguments
, t by default. company-css
knows about CSS3.company-gtags
supportsmeta
andannotation
.- User option
company-dabbrev-code-other-buffers
can have a new value:code
. - New user option
company-tooltip-flip-when-above
. company-clang
uses the standard header search paths by default.C-h
is bound tocompany-show-doc-buffer
(likef1
).
company-capf
is included incompany-backends
in any supported Emacs version (>= 24.1).company-elisp
goes before it if Emacs version is < 24.4.- New user option
company-clang-insert-arguments
, by default t. - Default value of
company-idle-delay
lowered to0.5
. - New user option
company-tooltip-minimum-width
, by default 0. - New function
company-grab-symbol-cons
. company-clang
fetches completion candidates asynchronously.- Added support for asynchronous back-ends (experimental).
- Support for back-end command
crop
dropped (it was never documented). - Support for Emacs 23 dropped.
- New user option
company-abort-manual-when-too-short
.
- New user option
company-etags-ignore-case
.
- Support for Emacs 22 officially dropped.
company-clang
supportsindent-tabs-mode
and multibyte chars before point.
- Group of back-ends can now contain keyword
:with
, which makes all back-ends after it to be skipped for prefix calculation. - New function
company-version
. - New bundled back-end
company-yasnippet
. - Completion candidates returned from grouped back-ends are tagged to remember which back-end each came from.
- New user option
company-tooltip-align-annotations
, off by default. - New bundled back-end
company-bbdb
.
- New back-end command,
match
, for non-prefix completion. - New user option
company-continue-commands
. The default value aborts completion on buffer saving commands. - New back-end command,
annotation
, for text displayed inline in the popup that's not a part of completion candidate. company-capf
,company-clang
andcompany-eclim
useannotation
.company-preview*
faces inherit fromcompany-tooltip-selection
andcompany-tooltip-common-selection
on light themes.- New user option
company-transformers
. - First transformer,
company-sort-by-occurrence
. - New user options controlling
company-dabbrev
andcompany-dabbrev-code
.
- The tooltip front-end is rendered with scrollbar, controlled by the user
option
company-tooltip-offset-display
. - The tooltip front-end is rendered with margins, controlled by the user option
company-tooltip-margin
.
- Experimental support for non-prefix completion.
- Starting with Emacs version 24.4,
company-capf
is included incompany-backends
and replacescompany-elisp
. company-capf
supports completion tables that return non-default boundaries.company-elisp
is enabled ininferior-emacs-lisp-mode
.
- Default value of
company-begin-commands
changed to(self-insert-command)
. - Futher improvement in
org-indent-mode
compatibility.
company-template-c-like-templatify
removes all text after closing paren, for use in backends that display additional info there.company-cmake
is now bundled.- Better
linum
compatibility in Emacs <= 24.2. company-global-modes
: New option.
- Plays nicer with
org-indent-mode
. - Works in horizontally scrolled windows.
company-capf
respects:exit-function
completion property.company-backends
:prefix
command can returnt
in the cdr.company-clang-begin-after-member-access
: New option.- Mouse click outside the tooltip aborts completion.
company-clang
uses standard input to pass the contents of current buffer to Clang 2.9+, otherwise saves the buffer and passes the path to the file.company-clang-auto-save
option has been removed.- Better interaction with
outline-minor-mode
. company-dabbrev-code
supports allprog-mode
derivatives.
company-auto-complete
is disabled by default.company-auto-complete-chars
default value includes fewer syntax classes.- In expanded function calls, arguments skipped by the user default to "argN".
company-eclim
andcompany-clang
do not strip argument types from fields.company-clang
expands function calls for all three modes now.company-clang
supportsc++-mode
by default.
- Two
company-elisp
tweaks.
company-elisp
doesn't offer completions when typing the name and the arguments of a new function or macro definition, allowing to fall back to other back-ends likecompany-dabbrev-code
.
- Fixed keybindings when running in a terminal.
company-elisp-show-locals-first
: new customizable variable.company-elisp
shows more accurate and comprehensive candidates list.
company-eclim
shows valid completions after an opening paren.- Expanded template does not get removed until the point leaves it. After your
input the last argument in a method call expanded by
company-eclim
, you can press<tab>
once more, to jump after the closing paren. No other bundled back-ends are affected.
- New tooltip face colors used on themes with light background.
- Pseudo-tooltip stays up-to-date when text is inserted after the point.
- Fixed
company-require-match
mechanics.
global-company-mode
is now autoloaded.
- Documented
init
andpost-completion
back-end commands. company-eclim
andcompany-clang
only expand the template on explicit user action (such ascompany-complete-{selection,number,mouse}
).company-template
has some breaking changes. When point is at one of the fields, it's displayed at the beginning, not right after it;<tab>
jumps to the next field,forward-word
andsubword-forward
remappings are removed; when you jump to the next field, if the current one hasn't been edited, the overlay gets removed but the text remains.company-eclim
shows method overloads and expands templates for calls.company-clang-objc-templatify
does not insert spaces after colons anymore.company-clang
is now only initialized in supported buffers. So, no error messages if you don't have Clang until you open a C file.company-clang
recognizes Clang included in recent Xcode.- New commands
company-select-previous-or-abort
andcompany-select-next-or-abort
, bound to<up>
and<down>
.
- Across-the-board bugfixing.
company-pysmell
is not used by default anymore.- Loading of
nxml
,semantic
,pymacs
andropemacs
is now deferred. - Candidates from grouped back-ends are merged more conservatively: only back-ends that return the same prefix at point are used.
company-clang
now shows meta information, too.- Some performance improvements.
- Fixed two old tooltip annoyances.
- Instead of
overrriding-terminal-local-map
, we're now usingemulation-mode-map-alists
(experimental). This largely means that when the completion keymap is active, other minor modes' keymaps are still used, so, for example, it's not as easy to accidentally circumventparedit-mode
when it's enabled. company-elisp
has seen some improvements.- Added
company-capf
: completion adapter usingcompletion-at-point-functions
. (Stefan Monnier) - Clang completions now include macros and are case-sensitive.
- Switching between tag files now works correctly with
company-etags
.
company-ropemacs
now provides location and docs. (Fernando H. Silva)- Added
company-with-candidate-inserted
macro. - Added
company-clang
back-end. - Added new mechanism for non-consecutive insertion. (So far only used by clang for ObjC.)
- The semantic back-end now shows meta information for local symbols.
- Added compatibility for CEDET in Emacs 23.2 and from CVS. (Oleg Andreev)
- Added
company-other-backend
. - Idle completion no longer interrupts multi-key command input.
- Added
company-ropemacs
andcompany-pysmell
back-ends.
- In C modes . and -> now count towards
company-minimum-prefix-length
. - Reverted default front-end back to
company-preview-if-just-one-frontend
. - The pseudo tooltip will no longer be clipped at the right window edge.
- Added
company-tooltip-minimum
. - Windows compatibility fixes.
- Added
global-company-mode
. - Performance enhancements.
- Added
company-eclim
back-end. - Added safer workaround for Emacs
posn-col-row
bug.
- Automatic completion is now aborted if the prefix gets too short.
- Added option
company-dabbrev-time-limit
. company-backends
now supports merging back-ends.- Added back-end
company-dabbrev-code
for generic code. - Fixed
company-begin-with
.
- Added 'stop prefix to prevent dabbrev from completing inside of symbols.
- Fixed issues with tabbar-mode and line-spacing.
- Performance enhancements.
- Added
company-begin-commands
option. - Added abbrev, tempo and Xcode back-ends.
- Back-ends are now interactive. You can start them with M-x backend-name.
- Added
company-begin-with
for starting company from elisp-code. - Added hooks.
- Added
company-require-match
andcompany-auto-complete
options.
- Improved Emacs Lisp back-end behavior for local variables.
- Added
company-elisp-detect-function-context
option. - The mouse can now be used for selection.
- Added
company-show-location
. - Added etags back-end.
- Added work-around for end-of-buffer bug.
- Added
company-filter-candidates
. - More local Lisp variables are now included in the candidates.
- Fixed elisp documentation buffer always showing the same doc.
- Added
company-echo-strip-common-frontend
. - Added
company-show-numbers
option and M-0 ... M-9 default bindings. - Don't hide the echo message if it isn't shown.
- Initial release.