All of these suggestions should be configurable, because I can imagine not
everyone will like them.
But I would really really like more autocompletion and more assisting.
1.
After typing the first 3 or 5 (configurable) characters, it should
show the autocompletion suggestions. (Just as if you pressing ctrl+space).
2.
I write: import std.
it shows: std.file, std.math and so on
I continue: fi
but then ooops... I mistyped: k
the suggestion popup is gone (because there nothing that starts with std.fik)
I press backspace, so I am at: std.fi again
unfortunately the popup does not come back :/
3.
function params
if I type write(
it should show me (just a tooltip, nothing selectable) the expected function params
consider: func(string s, int start, int end) { ... }
| : cursor position
*...* means: highlightened bold
func(| -> [*string s*, int start, int end]
func("bla",10 -> [string s, *int start*, int end]
oops, I forgot sth, so I more my cursor back
func("bla|",10 -> [*string s*, int start, int end]
(instead of closing the tooltip)
the tip should always appear if I put the cursor into some functions brackets
also after I remove the ( like:
func|
and then again put it in: func(| -> [*string s*, int start, int end]
and please don't let it put a template into the code, like:
write[ctrl+space] [enter] ==> write(name, buffer)
the tooltip should be enough
4.
maybe the tooltip when hovering over a function name
could show where this function is defined, like:
hovering over writefln, tells you: std.stdio.writefln
5.
it should be possible to configure key space to also select something from
the autocompletion suggestions, just like enter currently does