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