Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix completion and hover for module and function of same name | Hasan Ali | 2020-05-16 | 1 | -1/+29 | |
| | ||||||
* | Prioritize locals with correct types | Aleksey Kladov | 2020-05-14 | 2 | -5/+55 | |
| | ||||||
* | add more specific match postfix for Result and Option | Benjamin Coenen | 2020-05-12 | 1 | -15/+43 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Merge #4423 | bors[bot] | 2020-05-11 | 1 | -0/+26 | |
|\ | | | | | | | | | | | | | | | 4423: add tests module snippet r=bnjjj a=bnjjj Request from a friend coming from intellij Rust Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | add tests module snippet | Benjamin Coenen | 2020-05-11 | 1 | -0/+8 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | add tests module snippet | Benjamin Coenen | 2020-05-11 | 1 | -0/+18 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | add if let and while let postfix for Option and Result | Benjamin Coenen | 2020-05-10 | 1 | -38/+44 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | add if let and while let postfix for Option and Result #4348 | Benjamin Coenen | 2020-05-07 | 1 | -1/+199 | |
|/ | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Minor | Aleksey Kladov | 2020-05-06 | 1 | -1/+2 | |
| | ||||||
* | Rename AtomTextEdit -> Indel | Aleksey Kladov | 2020-05-05 | 2 | -4/+4 | |
| | ||||||
* | Rename ImplItem to AssocItem | Edwin Cheng | 2020-05-05 | 2 | -21/+27 | |
| | ||||||
* | Remove false positive attr compleitons | Aleksey Kladov | 2020-05-04 | 2 | -4/+40 | |
| | ||||||
* | Qualify ast types | Aleksey Kladov | 2020-05-04 | 1 | -6/+5 | |
| | ||||||
* | Cleanup imports | Aleksey Kladov | 2020-05-04 | 1 | -4/+6 | |
| | ||||||
* | Fix derive argument parsing | Kirill Bulatov | 2020-05-02 | 1 | -26/+40 | |
| | ||||||
* | Propose custom derives in completion | Kirill Bulatov | 2020-05-02 | 1 | -8/+32 | |
| | ||||||
* | Complete standard derives | Kirill Bulatov | 2020-05-02 | 2 | -16/+245 | |
| | ||||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -1/+1 | |
| | ||||||
* | if let -> match | Jonas Schievink | 2020-04-29 | 1 | -4/+3 | |
| | ||||||
* | Complete assoc. items on type parameters | Jonas Schievink | 2020-04-29 | 1 | -11/+262 | |
| | ||||||
* | Better filtering of qualified enum variants in completion | Aleksey Kladov | 2020-04-29 | 2 | -9/+49 | |
| | ||||||
* | Complete union fields after dot | Jonas Schievink | 2020-04-28 | 1 | -0/+38 | |
| | ||||||
* | Precompute expected type during completion | Aleksey Kladov | 2020-04-26 | 3 | -35/+44 | |
| | ||||||
* | 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 | |
| | ||||||
* | text-size 1.0.0 | Aleksey Kladov | 2020-04-25 | 1 | -6/+6 | |
| | ||||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 13 | -790/+789 | |
| | ||||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 4 | -14/+15 | |
| | ||||||
* | Merge #4128 | bors[bot] | 2020-04-24 | 1 | -1/+52 | |
|\ | | | | | | | | | | | | | | | 4128: Include correct item path for variant completions r=matklad a=jonas-schievink The test would previously suggest `E::V`, which is not enough to name the variant as the enum is in a module. Now it correctly suggests the full path `m::E::V`. Co-authored-by: Jonas Schievink <[email protected]> | |||||
| * | Include correct item path for variant completions | Jonas Schievink | 2020-04-24 | 1 | -1/+52 | |
| | | ||||||
* | | Don't omit methods with self from path completion | Jonas Schievink | 2020-04-24 | 1 | -6/+38 | |
|/ | ||||||
* | Adds attribute completions (#3941) | Roberto Vidal | 2020-04-24 | 3 | -0/+592 | |
| | ||||||
* | Better label for macros completion | Aleksey Kladov | 2020-04-24 | 5 | -48/+59 | |
| | ||||||
* | Honor snippet capability | Aleksey Kladov | 2020-04-24 | 1 | -0/+6 | |
| | | | | closes #2518 | |||||
* | Make sure that adding a snippet requires corresponding capability | Aleksey Kladov | 2020-04-24 | 6 | -44/+107 | |
| | ||||||
* | Introduce internal snippet cap | Aleksey Kladov | 2020-04-24 | 1 | -0/+13 | |
| | ||||||
* | Move CompletionConfig to a separate module | Aleksey Kladov | 2020-04-24 | 1 | -0/+16 | |
| | ||||||
* | Add test marks | Aleksey Kladov | 2020-04-24 | 1 | -0/+4 | |
| | ||||||
* | Introduce ActiveParameter | Aleksey Kladov | 2020-04-24 | 2 | -6/+6 | |
| | ||||||
* | Move tests to where they belong | Aleksey Kladov | 2020-04-24 | 2 | -231/+231 | |
| | ||||||
* | Refactor | Aleksey Kladov | 2020-04-24 | 1 | -24/+18 | |
| | ||||||
* | Restore CompletionItem immutability | Aleksey Kladov | 2020-04-24 | 2 | -31/+23 | |
| | ||||||
* | More functional | Aleksey Kladov | 2020-04-24 | 2 | -11/+18 | |
| | ||||||
* | Move | Aleksey Kladov | 2020-04-23 | 1 | -9/+9 | |
| | ||||||
* | Merge #3954 | bors[bot] | 2020-04-23 | 4 | -5/+321 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3954: Improve autocompletion by looking on the type and name r=matklad a=bnjjj This tweet (https://twitter.com/tjholowaychuk/status/1248918374731714560) gaves me the idea to implement that in rust-analyzer. Basically for this first example I made some examples when we are in a function call definition. I look on the parameter list to prioritize autocompletions for the same types and if it's the same type + the same name then it's displayed first in the completion list. So here is a draft, first step to open a discussion and know what you think about the implementation. It works (cf tests) but maybe I can make a better implementation at some places. Be careful the code needs some refactoring to be better and concise. PS: It was lot of fun writing this haha Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-21 | 1 | -3/+1 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-04-21 | 1 | -0/+6 | |
| |\ | ||||||
| * | | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-21 | 3 | -46/+46 | |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-04-18 | 2 | -10/+49 | |
| |\ \ |