aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/display/function_signature.rs
Commit message (Collapse)AuthorAgeFilesLines
* Slightly better nameAleksey Kladov2020-06-231-2/+2
|
* Use split1 when formatting function signature paramsAaron Loucks2020-06-031-5/+3
|
* Unsquish parameter types in tooltips for macro-generated functionsAaron Loucks2020-05-311-1/+12
|
* Remove dbgEdwin Cheng2020-05-101-1/+0
|
* Hot fix panic for function_signatureEdwin Cheng2020-05-101-7/+13
|
* Fix panic in FunctionSignatureAleksey Kladov2020-05-071-1/+7
|
* Include function qualifiers in signatureoxalica2020-04-291-0/+40
|
* Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-211-2/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-111-4/+17
|\ | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-111-21/+36
|/ | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Start stdxAleksey Kladov2020-03-281-10/+8
| | | | This crate will hold everything to small to be worth publishing
* Fix completion of HashMap::newFlorian Diebold2020-03-131-2/+2
| | | | | | | | | | | | | | | The `ty` function in code_model returned the type with placeholders for type parameters. That's nice for printing, but not good for completion, because placeholders won't unify with anything else: So the type we got for `HashMap` was `HashMap<K, V, T>`, which doesn't unify with `HashMap<?, ?, RandomState>`, so the `new` method wasn't shown. Now we instead return `HashMap<{unknown}, {unknown}, {unknown}>`, which does unify with the impl type. Maybe we should just expose this properly as variables though, i.e. we'd return something like `exists<type, type, type> HashMap<?0, ?1, ?2>` (in Chalk notation). It'll make the API more complicated, but harder to misuse. (And it would handle cases like `type TypeAlias<T> = HashMap<T, T>` more correctly.)
* Add basic parameter name hints heuristicsKirill Bulatov2020-02-231-3/+13
|
* More manual clippy fixesKirill Bulatov2020-02-181-3/+2
|
* cleanup importsAleksey Kladov2020-02-061-11/+6
|
* Improve parameter hints a bit & add emacs supportFlorian Diebold2020-01-181-3/+16
| | | | | - just include the name, not e.g. `mut` - don't return empty hints (or `_`)
* FnSignature: use unwrap_or_default for parameter_name_listimtsuki2020-01-151-5/+3
| | | | Signed-off-by: imtsuki <[email protected]>
* Add inlay parameter name hints for function callsimtsuki2020-01-141-0/+22
| | | | Signed-off-by: imtsuki <[email protected]>
* Use Name::missing consistentlyAleksey Kladov2019-11-271-5/+2
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+215