]> code.delx.au - gnu-emacs-elpa/blob - NEWS.md
Mention company-pseudo-tooltip-unless-just-one-frontend-with-delay in NEWS
[gnu-emacs-elpa] / NEWS.md
1 # History of user-visible changes
2
3 ## Next
4
5 * Group of backends can now contain keyword `:separate`, which makes candidates
6 from different backends sorted separately in the combined list.
7 * New frontend `company-pseudo-tooltip-unless-just-one-frontend-with-delay`.
8 * The value of `company-dabbrev-ignore-buffers` can also be a function.
9 * `company-files` has been moved to right after `company-capf` in
10 `company-backends`
11 ([#463](https://github.com/company-mode/company-mode/issues/463)).
12 * `company-semantic-insert-arguments`: New option. Like in `company-clang`.
13 * `company-semantic-begin-after-member-access`: New option. Similar to the one
14 in `company-clang`.
15 * `company-capf` accepts `:company-prefix-length` property value.
16 * New face `company-tooltip-annotation-selection`, used for the annotation in
17 the selected tooltip line.
18 * `company-clang-objc-templatify` has been renamed to
19 `company-template-objc-templatify`.
20 * New user option `company-etags-everywhere`.
21 * `company-yasnippet` supports `yas-key-syntaxes` better. But we use them in the
22 reverse order, preferring the longest key prefix that matches anything. And we
23 only consider trigger key prefixes that are at least as long as the symbol at
24 point, which effectively means skipping the `"w"` element
25 ([#422](https://github.com/company-mode/company-mode/issues/422)).
26 * New user option `company-search-regexp-function`.
27 * Completion is not started automatically when a keyboard macro is being
28 recorded ([#374](https://github.com/company-mode/company-mode/issues/374)).
29 * New command `company-indent-or-complete-common`.
30 * Backend command `doc-buffer` now can also return a cons of buffer and window
31 start position.
32 * Backend command `ignore-case` has been documented.
33 * `company-template-c-like-templatify` does not replace the default argument
34 values with `argN` anymore
35 ([#336](https://github.com/company-mode/company-mode/issues/336)). This
36 affects `company-clang` and all third-party backends that use this function.
37 * Likewise for `company-clang-objc-templatify`.
38 * `company-template-add-field` calling convention has changed.
39 * New user option `company-dabbrev-ignore-invisible`.
40 * `company-ropemacs` was removed. `ropemacs` supports completion via
41 `completion-at-point-functions` starting with version 0.8.
42 * `company-pysmell` was removed.
43 * `company-select-next`, `company-select-previous`,
44 `company-select-next-or-abort`, `company-select-previous-or-abort` and
45 `company-complete-common-or-cycle` accept a numeric argument.
46 * The documentation buffer window can be scrolled with the mouse wheel.
47 * New command `company-diag`. Use it in bug reports.
48
49 ## 2015-02-02 (0.8.10)
50
51 * New variable `company-lighter-base`.
52 * Better tracking of the current selection.
53 * Pressing `M-0`...`M-9` works in the search mode.
54 * Pressing `<up>` or `<down>` doesn't quit the search mode.
55
56 ## 2015-01-23 (0.8.9)
57
58 * New commands `company-next-page` and `company-previous-page`, remapping
59 `scroll-up-command` and `scroll-down-command` during completion.
60
61 ## 2015-01-13 (0.8.8)
62
63 * Pressing `M-n` or `M-p` doesn't quit the search mode.
64 * New command `company-complete-common-or-cycle`. No default binding.
65 * `company-search-toggle-filtering` replaced `company-search-kill-others`.
66 * Quitting the search mode resets the filtering.
67 * Pressing `backspace` in the search mode deletes the character at the end of
68 the search string.
69 * `company-semantic` displays function arguments as annotations.
70 * New user option, `company-bbdb-modes`.
71 * `company-show-numbers` and `company-complete-number` now use visual numbering
72 of the candidates, taking into account only the ones currently displayed.
73 * `company-complete-number` can be bound to keypad numbers directly, with or
74 without modifiers.
75 * `company-cmake` expands `<LANG>` and `<CONFIG>` placeholders inside variable
76 names.
77
78 ## 2014-10-15 (0.8.6)
79
80 * `company-clang` and `company-template-c-like-templatify` support templated
81 functions and arguments.
82 * `company-dabbrev` ignores "uninteresting" buffers by default. Depends on the
83 new user option, `company-dabbrev-ignore-buffers`.
84 * `company-files` checks directory's last modification time.
85 * `company-files` supports relative paths and Windows drive letters.
86
87 ## 2014-08-13 (0.8.4)
88
89 * `company-ropemacs` is only used when `ropemacs-mode` is on.
90 * `company-gtags` is enabled in all `prog-mode` derivatives by default.
91 * `company-end-of-buffer-workaround` is not used anymore.
92 * `company-begin-commands` includes some of `cc-mode` commands.
93
94 ## 2014-08-27 (0.8.3)
95
96 * On Emacs 24.4 or newer, tooltip positioning takes line-spacing into account.
97 * New face `company-tooltip-search`, used for the search string in the tooltip.
98 * The default value of `company-dabbrev-minimum-length` is set to 4, independent
99 of the `company-minimum-prefix-length` value.
100
101 ## 2014-07-26 (0.8.2)
102
103 * New user option `company-occurrence-weight-function`, allowing to tweak the
104 behavior of the transformer `company-sort-by-occurrence`.
105 * Setting `company-idle-delay` to `t` is deprecated. Use the value 0 instead.
106
107 ## 2014-07-01 (0.8.1)
108
109 * `company-require-match` is not in effect when the new input doesn't continue
110 the previous prefix, and that prefix was a match.
111 * The meaning of `company-begin-commands` value t has slightly changed.
112 * New transformer, `company-sort-by-backend-importance`.
113 * When grouped back-ends are used, the back-end of the current candidate is
114 indicated in the mode-line, enclosed in angle brackets.
115 * New user option `company-gtags-insert-arguments`, t by default.
116 * `company-css` knows about CSS3.
117 * `company-gtags` supports `meta` and `annotation`.
118 * User option `company-dabbrev-code-other-buffers` can have a new value: `code`.
119 * New user option `company-tooltip-flip-when-above`.
120 * `company-clang` uses the standard header search paths by default.
121 * `C-h` is bound to `company-show-doc-buffer` (like `f1`).
122
123 ## 2014-04-19 (0.8.0)
124
125 * `company-capf` is included in `company-backends` in any supported Emacs
126 version (>= 24.1). `company-elisp` goes before it if Emacs version is < 24.4.
127 * New user option `company-clang-insert-arguments`, by default t.
128 * Default value of `company-idle-delay` lowered to `0.5`.
129 * New user option `company-tooltip-minimum-width`, by default 0.
130 * New function `company-grab-symbol-cons`.
131 * `company-clang` fetches completion candidates asynchronously.
132 * Added support for asynchronous back-ends (experimental).
133 * Support for back-end command `crop` dropped (it was never documented).
134 * Support for Emacs 23 dropped.
135 * New user option `company-abort-manual-when-too-short`.
136
137 ## 2014-03-25 (0.7.3)
138
139 * New user option `company-etags-ignore-case`.
140
141 ## 2014-03-19 (0.7.2)
142
143 * Support for Emacs 22 officially dropped.
144 * `company-clang` supports `indent-tabs-mode` and multibyte chars before point.
145
146 ## 2014-03-18 (0.7.1)
147
148 * Group of back-ends can now contain keyword `:with`, which makes all back-ends
149 after it to be skipped for prefix calculation.
150 * New function `company-version`.
151 * New bundled back-end `company-yasnippet`.
152 * Completion candidates returned from grouped back-ends are tagged to remember
153 which back-end each came from.
154 * New user option `company-tooltip-align-annotations`, off by default.
155 * New bundled back-end `company-bbdb`.
156
157 ## 2014-02-18 (0.7)
158
159 * New back-end command, `match`, for non-prefix completion.
160 * New user option `company-continue-commands`. The default value aborts
161 completion on buffer saving commands.
162 * New back-end command, `annotation`, for text displayed inline in the popup
163 that's not a part of completion candidate.
164 * `company-capf`, `company-clang` and `company-eclim` use `annotation`.
165 * `company-preview*` faces inherit from `company-tooltip-selection` and
166 `company-tooltip-common-selection` on light themes.
167 * New user option `company-transformers`.
168 * First transformer, `company-sort-by-occurrence`.
169 * New user options controlling `company-dabbrev` and `company-dabbrev-code`.
170
171 ## 2014-01-25 (0.6.14)
172
173 * The tooltip front-end is rendered with scrollbar, controlled by the user
174 option `company-tooltip-offset-display`.
175 * The tooltip front-end is rendered with margins, controlled by the user option
176 `company-tooltip-margin`.
177
178 ## 2014-01-14 (0.6.13)
179
180 * Experimental support for non-prefix completion.
181 * Starting with Emacs version 24.4, `company-capf` is included in
182 `company-backends` and replaces `company-elisp`.
183 * `company-capf` supports completion tables that return non-default boundaries.
184 * `company-elisp` is enabled in `inferior-emacs-lisp-mode`.
185
186 ## 2013-09-28 (0.6.12)
187
188 * Default value of `company-begin-commands` changed to `(self-insert-command)`.
189 * Futher improvement in `org-indent-mode` compatibility.
190
191 ## 2013-08-18 (0.6.11)
192
193 * `company-template-c-like-templatify` removes all text after closing paren, for
194 use in backends that display additional info there.
195 * `company-cmake` is now bundled.
196 * Better `linum` compatibility in Emacs <= 24.2.
197 * `company-global-modes`: New option.
198
199 ## 2013-05-26 (0.6.10)
200
201 * Plays nicer with `org-indent-mode`.
202 * Works in horizontally scrolled windows.
203
204 ## 2013-05-10 (0.6.9)
205
206 * `company-capf` respects `:exit-function` completion property.
207 * `company-backends`: `prefix` command can return `t` in the cdr.
208 * `company-clang-begin-after-member-access`: New option.
209 * Mouse click outside the tooltip aborts completion.
210 * `company-clang` uses standard input to pass the contents of current buffer to
211 Clang 2.9+, otherwise saves the buffer and passes the path to the file.
212 * `company-clang-auto-save` option has been removed.
213 * Better interaction with `outline-minor-mode`.
214 * `company-dabbrev-code` supports all `prog-mode` derivatives.
215
216 ## 2013-04-16 (0.6.8)
217
218 * `company-auto-complete` is disabled by default.
219 * `company-auto-complete-chars` default value includes fewer syntax classes.
220 * In expanded function calls, arguments skipped by the user default to "argN".
221 * `company-eclim` and `company-clang` do not strip argument types from fields.
222 * `company-clang` expands function calls for all three modes now.
223 * `company-clang` supports `c++-mode` by default.
224
225 ## 2013-04-05 (0.6.7)
226
227 * Two `company-elisp` tweaks.
228
229 ## 2013-04-01 (0.6.6)
230
231 * `company-elisp` doesn't offer completions when typing the name and the
232 arguments of a new function or macro definition, allowing to fall back to
233 other back-ends like `company-dabbrev-code`.
234
235 ## 2013-03-30 (0.6.5)
236
237 * Fixed keybindings when running in a terminal.
238 * `company-elisp-show-locals-first`: new customizable variable.
239 * `company-elisp` shows more accurate and comprehensive candidates list.
240
241 ## 2013-03-26 (0.6.4)
242
243 * `company-eclim` shows valid completions after an opening paren.
244 * Expanded template does not get removed until the point leaves it. After your
245 input the last argument in a method call expanded by `company-eclim`, you can
246 press `<tab>` once more, to jump after the closing paren. No other bundled
247 back-ends are affected.
248
249 ## 2013-03-25 (0.6.3)
250
251 * New tooltip face colors used on themes with light background.
252 * Pseudo-tooltip stays up-to-date when text is inserted after the point.
253 * Fixed `company-require-match` mechanics.
254
255 ## 2013-03-24 (0.6.2)
256
257 * `global-company-mode` is now autoloaded.
258
259 ## 2013-03-23 (0.6.1)
260
261 * Documented `init` and `post-completion` back-end commands.
262 * `company-eclim` and `company-clang` only expand the template on explicit user
263 action (such as `company-complete-{selection,number,mouse}`).
264 * `company-template` has some breaking changes. When point is at one of the
265 fields, it's displayed at the beginning, not right after it; `<tab>` jumps to
266 the next field, `forward-word` and `subword-forward` remappings are removed;
267 when you jump to the next field, if the current one hasn't been edited, the
268 overlay gets removed but the text remains.
269 * `company-eclim` shows method overloads and expands templates for calls.
270 * `company-clang-objc-templatify` does not insert spaces after colons anymore.
271 * `company-clang` is now only initialized in supported buffers.
272 So, no error messages if you don't have Clang until you open a C file.
273 * `company-clang` recognizes Clang included in recent Xcode.
274 * New commands `company-select-previous-or-abort` and
275 `company-select-next-or-abort`, bound to `<up>` and `<down>`.
276
277 ## 2013-03-19 (0.6)
278
279 * Across-the-board bugfixing.
280 * `company-pysmell` is not used by default anymore.
281 * Loading of `nxml`, `semantic`, `pymacs` and `ropemacs` is now deferred.
282 * Candidates from grouped back-ends are merged more conservatively: only
283 back-ends that return the same prefix at point are used.
284 * `company-clang` now shows meta information, too.
285 * Some performance improvements.
286 * Fixed two old tooltip annoyances.
287 * Instead of `overrriding-terminal-local-map`, we're now using
288 `emulation-mode-map-alists` (experimental). This largely means that when the
289 completion keymap is active, other minor modes' keymaps are still used, so,
290 for example, it's not as easy to accidentally circumvent `paredit-mode`
291 when it's enabled.
292 * `company-elisp` has seen some improvements.
293 * Added `company-capf`: completion adapter using
294 `completion-at-point-functions`. (Stefan Monnier)
295 * Clang completions now include macros and are case-sensitive.
296 * Switching between tag files now works correctly with `company-etags`.
297
298 ## 2010-02-24 (0.5)
299
300 * `company-ropemacs` now provides location and docs. (Fernando H. Silva)
301 * Added `company-with-candidate-inserted` macro.
302 * Added `company-clang` back-end.
303 * Added new mechanism for non-consecutive insertion.
304 (So far only used by clang for ObjC.)
305 * The semantic back-end now shows meta information for local symbols.
306 * Added compatibility for CEDET in Emacs 23.2 and from CVS. (Oleg Andreev)
307
308 ## 2009-05-07 (0.4.3)
309
310 * Added `company-other-backend`.
311 * Idle completion no longer interrupts multi-key command input.
312 * Added `company-ropemacs` and `company-pysmell` back-ends.
313
314 ## 2009-04-25 (0.4.2)
315
316 * In C modes . and -> now count towards `company-minimum-prefix-length`.
317 * Reverted default front-end back to `company-preview-if-just-one-frontend`.
318 * The pseudo tooltip will no longer be clipped at the right window edge.
319 * Added `company-tooltip-minimum`.
320 * Windows compatibility fixes.
321
322 ## 2009-04-19 (0.4.1)
323
324 * Added `global-company-mode`.
325 * Performance enhancements.
326 * Added `company-eclim` back-end.
327 * Added safer workaround for Emacs `posn-col-row` bug.
328
329 ## 2009-04-18 (0.4)
330
331 * Automatic completion is now aborted if the prefix gets too short.
332 * Added option `company-dabbrev-time-limit`.
333 * `company-backends` now supports merging back-ends.
334 * Added back-end `company-dabbrev-code` for generic code.
335 * Fixed `company-begin-with`.
336
337 ## 2009-04-15 (0.3.1)
338
339 * Added 'stop prefix to prevent dabbrev from completing inside of symbols.
340 * Fixed issues with tabbar-mode and line-spacing.
341 * Performance enhancements.
342
343 ## 2009-04-12 (0.3)
344
345 * Added `company-begin-commands` option.
346 * Added abbrev, tempo and Xcode back-ends.
347 * Back-ends are now interactive. You can start them with M-x backend-name.
348 * Added `company-begin-with` for starting company from elisp-code.
349 * Added hooks.
350 * Added `company-require-match` and `company-auto-complete` options.
351
352 ## 2009-04-05 (0.2.1)
353
354 * Improved Emacs Lisp back-end behavior for local variables.
355 * Added `company-elisp-detect-function-context` option.
356 * The mouse can now be used for selection.
357
358 ## 2009-03-22 (0.2)
359
360 * Added `company-show-location`.
361 * Added etags back-end.
362 * Added work-around for end-of-buffer bug.
363 * Added `company-filter-candidates`.
364 * More local Lisp variables are now included in the candidates.
365
366 ## 2009-03-21 (0.1.5)
367
368 * Fixed elisp documentation buffer always showing the same doc.
369 * Added `company-echo-strip-common-frontend`.
370 * Added `company-show-numbers` option and M-0 ... M-9 default bindings.
371 * Don't hide the echo message if it isn't shown.
372
373 ## 2009-03-20 (0.1)
374
375 * Initial release.