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