Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to new magic marks | Aleksey Kladov | 2020-05-20 | 1 | -12/+12 |
| | |||||
* | Prioritize locals with correct types | Aleksey Kladov | 2020-05-14 | 1 | -4/+54 |
| | |||||
* | Better filtering of qualified enum variants in completion | Aleksey Kladov | 2020-04-29 | 1 | -8/+38 |
| | |||||
* | Precompute expected type during completion | Aleksey Kladov | 2020-04-26 | 1 | -1/+1 |
| | |||||
* | Fix broken test | Jonas Schievink | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Don't add call parens when an fn type is expected | Jonas Schievink | 2020-04-25 | 1 | -0/+56 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -6/+1 |
| | |||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -100/+100 |
| | |||||
* | Better label for macros completion | Aleksey Kladov | 2020-04-24 | 1 | -34/+45 |
| | |||||
* | Make sure that adding a snippet requires corresponding capability | Aleksey Kladov | 2020-04-24 | 1 | -19/+28 |
| | |||||
* | Add test marks | Aleksey Kladov | 2020-04-24 | 1 | -0/+4 |
| | |||||
* | Introduce ActiveParameter | Aleksey Kladov | 2020-04-24 | 1 | -3/+2 |
| | |||||
* | Move tests to where they belong | Aleksey Kladov | 2020-04-24 | 1 | -0/+231 |
| | |||||
* | Refactor | Aleksey Kladov | 2020-04-24 | 1 | -24/+18 |
| | |||||
* | Restore CompletionItem immutability | Aleksey Kladov | 2020-04-24 | 1 | -25/+22 |
| | |||||
* | More functional | Aleksey Kladov | 2020-04-24 | 1 | -9/+16 |
| | |||||
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-04-21 | 1 | -0/+6 |
|\ | |||||
| * | Ignore proc-macro in completion | Edwin Cheng | 2020-04-18 | 1 | -0/+6 |
| | | |||||
* | | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-21 | 1 | -4/+44 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | feat: improve dot completions with scoring | Benjamin Coenen | 2020-04-17 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | feat: improve dot completions with scoring | Benjamin Coenen | 2020-04-16 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-11 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | 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 |