Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore proc-macro in completion | Edwin Cheng | 2020-04-18 | 1 | -0/+6 |
| | |||||
* | Don't insert !() if there's already some | Aleksey Kladov | 2020-04-07 | 1 | -3/+40 |
| | |||||
* | Add parens for enums | Aleksey Kladov | 2020-04-03 | 1 | -36/+158 |
| | |||||
* | Generalize call parenthesis insertion | Aleksey Kladov | 2020-04-03 | 1 | -27/+46 |
| | |||||
* | Better names for config structs | Aleksey Kladov | 2020-03-31 | 1 | -6/+6 |
| | |||||
* | Start stdx | Aleksey Kladov | 2020-03-28 | 1 | -24/+21 |
| | | | | This crate will hold everything to small to be worth publishing | ||||
* | Don't use generic DB where a concrete one will do | Aleksey Kladov | 2020-03-13 | 1 | -3/+6 |
| | |||||
* | Fix completion of HashMap::new | Florian Diebold | 2020-03-13 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | 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.) | ||||
* | Fix completion tests | Aleksey Kladov | 2020-03-12 | 1 | -0/+7 |
| | |||||
* | Introduce completion test utils | Aleksey Kladov | 2020-03-11 | 1 | -2/+2 |
| | |||||
* | Add a test for disabled argument snippets | Aleksey Kladov | 2020-03-11 | 1 | -2/+46 |
| | |||||
* | Pull completion options up to the rust-analyzer | Aleksey Kladov | 2020-03-10 | 1 | -4/+1 |
| | |||||
* | Introduce CompletionOptions | Aleksey Kladov | 2020-03-10 | 1 | -9/+2 |
| | |||||
* | Don't creat public APIs with typos | Aleksey Kladov | 2020-03-06 | 1 | -1/+1 |
| | |||||
* | Trigger parameter info automatically | Aleksey Kladov | 2020-03-06 | 1 | -0/+1 |
| | | | | See https://github.com/Microsoft/vscode/issues/64023 | ||||
* | Feature flag for arg snippets | Aleksey Kladov | 2020-03-06 | 1 | -4/+13 |
| | |||||
* | Fix comment order | Aleksey Kladov | 2020-03-06 | 1 | -2/+2 |
| | |||||
* | Skip self param when completing methods | Aleksey Kladov | 2020-03-04 | 1 | -13/+45 |
| | |||||
* | Support function's completion snippet | Avishay Matayev | 2020-03-04 | 1 | -13/+21 |
| | | | | | | | Note that `detail` was replced with `function_signature` to avoid calling `from` on FunctionSignature twice. I didn't add new tests because the current ones seem enough. | ||||
* | Fix completion snippet for reexported functions | Florian Diebold | 2020-03-03 | 1 | -4/+3 |
| | | | | Fixes #3356. | ||||
* | Cleanup | Shotaro Yamada | 2020-02-19 | 1 | -5/+1 |
| | |||||
* | add space before/after wrapping braces | adamrk | 2020-02-16 | 1 | -2/+2 |
| | |||||
* | show names for record fields in enum completion | adamrk | 2020-02-16 | 1 | -6/+95 |
| | |||||
* | Use Name::missing consistently | Aleksey Kladov | 2019-11-27 | 1 | -4/+1 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -0/+676 |