Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename TypeArgList -> GenericArgList | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Finalize impl Grammar | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 1 | -4/+4 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename UseItem -> Use | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Minor perf tweaks per clippy | Jeremy Kolb | 2020-07-19 | 1 | -2/+2 |
| | |||||
* | Don't duplicate parens in patterns | Aleksey Kladov | 2020-07-14 | 1 | -0/+5 |
| | |||||
* | Speed up completion | Aleksey Kladov | 2020-07-11 | 1 | -4/+3 |
| | |||||
* | Better name | Aleksey Kladov | 2020-07-10 | 1 | -3/+3 |
| | |||||
* | Better complete expression keywords | Aleksey Kladov | 2020-07-10 | 1 | -0/+4 |
| | |||||
* | Modernize unqualified reference completion tests | Aleksey Kladov | 2020-07-07 | 1 | -14/+5 |
| | |||||
* | Make SemanticsScope non-generic | Laurențiu Nicola | 2020-07-01 | 1 | -1/+1 |
| | |||||
* | Deprecate hir::Path::from_ast | Aleksey Kladov | 2020-06-15 | 1 | -0/+1 |
| | |||||
* | Add keywords completions on source file position | Mikhail Rakhmanov | 2020-06-13 | 1 | -2/+6 |
| | |||||
* | Add more patterns, tests and fix keywords | Mikhail Rakhmanov | 2020-06-12 | 1 | -6/+13 |
| | |||||
* | Add few smoke tests for patterns and refactoring | Mikhail Rakhmanov | 2020-06-11 | 1 | -5/+8 |
| | |||||
* | Add more patterns and keywords | Mikhail Rakhmanov | 2020-06-11 | 1 | -2/+11 |
| | |||||
* | Add more keywords | Mikhail Rakhmanov | 2020-06-11 | 1 | -2/+26 |
| | |||||
* | fix textedit range returned for completion when left token is a keyword | Benjamin Coenen | 2020-05-27 | 1 | -0/+2 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | fix textedit range returned for completion when left token is a keyword #4545 | Benjamin Coenen | 2020-05-24 | 1 | -1/+10 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Prioritize locals with correct types | Aleksey Kladov | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Rename AtomTextEdit -> Indel | Aleksey Kladov | 2020-05-05 | 1 | -2/+2 |
| | |||||
* | Complete standard derives | Kirill Bulatov | 2020-05-02 | 1 | -3/+3 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | Precompute expected type during completion | Aleksey Kladov | 2020-04-26 | 1 | -12/+21 |
| | |||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -6/+7 |
| | |||||
* | Adds attribute completions (#3941) | Roberto Vidal | 2020-04-24 | 1 | -0/+3 |
| | |||||
* | Introduce ActiveParameter | Aleksey Kladov | 2020-04-24 | 1 | -3/+4 |
| | |||||
* | Merge #3954 | bors[bot] | 2020-04-23 | 1 | -0/+12 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]> | ||||
| * | feat: improve dot completions with scoring | Benjamin Coenen | 2020-04-17 | 1 | -5/+1 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | feat: improve dot completions in a struct literal expression | Benjamin Coenen | 2020-04-15 | 1 | -0/+10 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-04-14 | 1 | -3/+9 |
| |\ | |||||
| * \ | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-11 | 1 | -6/+7 |
| |\ \ | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | | | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-11 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | | | Add utility fn for expected type of a node | nathanwhit | 2020-04-22 | 1 | -1/+12 |
| |_|/ |/| | | | | | | | | | | | Adds `expected_type_of` to `CompletionContext` to return the expected type of a node, if it is known. | ||||
* | | | Align grammar for record patterns and literals | Aleksey Kladov | 2020-04-11 | 1 | -3/+9 |
| |/ |/| | | | | | | | | | The grammar now looks like this [name_ref :] pat | ||||
* | | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | | Simpler acessors for keywords | Aleksey Kladov | 2020-04-09 | 1 | -2/+2 |
| | | |||||
* | | Be consistent about token accesors | Aleksey Kladov | 2020-04-09 | 1 | -1/+4 |
|/ | |||||
* | Don't insert !() if there's already some | Aleksey Kladov | 2020-04-07 | 1 | -0/+4 |
| | |||||
* | Remove the second code-path for completing names in patterns | Aleksey Kladov | 2020-04-03 | 1 | -17/+14 |
| | |||||
* | Better names for config structs | Aleksey Kladov | 2020-03-31 | 1 | -4/+4 |
| | |||||
* | Remove const | Steffen Lyngbaek | 2020-03-19 | 1 | -5/+5 |
| | | | | | - Add test for @ matching - Address comments | ||||
* | Fixes to more accurately give complete_scope completions | Steffen Lyngbaek | 2020-03-19 | 1 | -3/+5 |
| | | | | | | | - Exclude const, static, functions form is_pat_binding_and_path (there might be more?) - Add a check to filter out Record Fields - Fix tests | ||||
* | - Exclude Local Scope for BindPats | Steffen Lyngbaek | 2020-03-19 | 1 | -7/+4 |
| | | | | | - Exclude BindPats with @ or ref - Remove outdated test and add one testing for ref | ||||
* | Completition for type name? #3418 | Steffen Lyngbaek | 2020-03-19 | 1 | -2/+14 |
| | | | | | | | | Iterate through TupleStructPat's until a MatchArm if one exists. Store in a new is_pat_bind_and_path bool and allow the `complete_scope` to find matches. Added some tests to ensure it works in simple and nested cases. | ||||
* | Get tests working | Florian Diebold | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Introduce CompletionOptions | Aleksey Kladov | 2020-03-10 | 1 | -1/+4 |
| | |||||
* | Move hypothetical expansion to hir_expand | Florian Diebold | 2020-03-08 | 1 | -1/+5 |
| | |||||
* | Fix CompletionContext module field (by removing it) | Florian Diebold | 2020-03-07 | 1 | -5/+3 |
| | | | | | Two uses only needed the crate; one was wrong and should use the module from the scope instead. |