diff options
| author | Marc <marc.esquerra@ynap.com> | 2018-02-26 13:07:41 +0000 |
|---|---|---|
| committer | Marc <marc.esquerra@ynap.com> | 2018-02-26 13:07:41 +0000 |
| commit | f6a3fd2e4ed8857ffb1900fbb17370eaab277500 (patch) | |
| tree | 064e79bdad1bcbc2ec85030b19bb5890aaf0952d /test/normal/insert-replace | |
| parent | d79e680e716d9552cbb4c11a5d3cc778dc75d0cc (diff) | |
Unify racer code completion format
Makes all the suggestions on the completion menu have the same format:
{type}{suggestedWord}{extra description}
the type column is aligned to 6 characters wide (and aligned to the right),
to allow the suggestion to be easily visually detectable and, as a bonus,
the type too.
For example, a bit of menu would look like this:
fn stdout() -> Stdout
trait BufRead: Read
struct BufReader<R>
Type is one of the following:
- fn
- enum
- mod
- trait
- struct
It also trims the module extra bits to only 30 characters long (it can be a lot longer than that)
Diffstat (limited to 'test/normal/insert-replace')
0 files changed, 0 insertions, 0 deletions
