aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
* Merge #2012bors[bot]2019-10-172-2/+77
|\ | | | | | | | | | | | | | | 2012: #1435 postfix completion for integer literals r=matklad a=pasa Fix for #1435 Incorrect postfix completion for integer literals Co-authored-by: Sergey Parilin <[email protected]>
| * #1435 postfix completion for integer literalsSergey Parilin2019-10-142-2/+77
| |
* | Merge #2008bors[bot]2019-10-146-8/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | 2008: Prepare SourceDatabase API for lazy file loading r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-146-8/+31
| |/
* / Use correct db typekjeremy2019-10-111-1/+1
|/
* Merge #1994bors[bot]2019-10-111-2/+9
|\ | | | | | | | | | | | | | | 1994: remove last traces of source roots from hir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove last traces of source roots from hirAleksey Kladov2019-10-111-2/+9
| |
* | Use `original_file` instead of `as_original_file`Shotaro Yamada2019-10-102-4/+4
|/
* tweak fn labels in completionAleksey Kladov2019-10-104-36/+33
|
* if completion does auto-insertion, indicate this in the labelAleksey Kladov2019-10-105-475/+562
|
* Merge #1973bors[bot]2019-10-091-56/+84
|\ | | | | | | | | | | | | | | 1973: add <> for type aliases as well r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add <> for type aliases as wellAleksey Kladov2019-10-091-52/+80
| |
| * smal cleanupAleksey Kladov2019-10-091-5/+5
| |
* | Merge #1972bors[bot]2019-10-091-0/+3
|\ \ | |/ |/| | | | | | | | | | | 1972: extend selection correctly handles commas in tuples r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * extend selection correctly handles commas in tuplesAleksey Kladov2019-10-091-0/+3
| |
* | add `<>` when completing generic typesAleksey Kladov2019-10-084-78/+198
| |
* | simplifyAleksey Kladov2019-10-081-4/+5
| |
* | refactorAleksey Kladov2019-10-081-8/+15
|/
* Merge #1969bors[bot]2019-10-083-2/+6
|\ | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * restore coloring of attributesAleksey Kladov2019-10-082-1/+4
| |
| * use slightly more idiomatic api for cfgAleksey Kladov2019-10-081-1/+2
| |
* | Address comments: fix docs, add completion test for `Self`.ice10002019-10-081-0/+29
| |
* | Support inferring `Self` type in enum definitionsice10002019-10-081-1/+1
|/ | | | Signed-off-by: ice1000 <[email protected]>
* Merge #1960bors[bot]2019-10-058-289/+312
|\ | | | | | | | | | | | | | | 1960: Replace AST visitors with macro r=viorina a=viorina Fixes #1672. Co-authored-by: Ekaterina Babshukova <[email protected]>
| * replace AST visitors with macroEkaterina Babshukova2019-10-058-289/+312
| |
* | Refactor CfgOptions insideuHOOCCOOHu2019-10-021-1/+0
| |
* | Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-024-4/+13
|/
* Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-303-7/+7
|\ | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
| * Fix API of AttruHOOCCOOHu2019-09-302-2/+2
| |
| * move field list to ast/edit.rsAleksey Kladov2019-09-301-5/+5
| |
* | Added test for check doc strings in crates.Alexander Andreev2019-09-3048-0/+95
|/ | | | #1856
* Start simplifying editing APIAleksey Kladov2019-09-262-2/+0
|
* keep ast creation API simpleAleksey Kladov2019-09-261-6/+3
|
* disable periodic GCAleksey Kladov2019-09-262-8/+2
| | | | | There's hypothesis that it doesn't do anything useful now that we have LRU...
* Fix retrieval of the Fn traitsFlorian Diebold2019-09-251-1/+1
| | | | | I used the wrong query, so it only used the lang items from the respective crate...
* clean up namingAleksey Kladov2019-09-251-1/+1
|
* cleanup diagnosticsAleksey Kladov2019-09-251-4/+6
|
* shorten AstBuilder namesAleksey Kladov2019-09-251-4/+4
|
* cleaned up record field builderAleksey Kladov2019-09-251-1/+3
|
* move ast builder to a separate fileAleksey Kladov2019-09-251-1/+1
|
* move assists to subdirAleksey Kladov2019-09-251-2/+2
|
* Remove redundant clone()Shotaro Yamada2019-09-254-5/+5
|
* allow compiling ra_ide_api on wasmAleksey Kladov2019-09-206-12/+76
|
* A few doc commentskjeremy2019-09-191-1/+9
|
* Merge #1853bors[bot]2019-09-197-27/+47
|\ | | | | | | | | | | | | | | | | 1853: Introduce FromSource trait r=matklad a=viorina The idea is to provide an ability to get HIR from AST in a more general way than it's possible using `source_binder`. It also could help with #1622 fixing. Co-authored-by: Ekaterina Babshukova <[email protected]>
| * introduce FromSource traitEkaterina Babshukova2019-09-197-27/+47
| |
* | Pacify rustfmt.Mazdak Farrokhzad2019-09-191-4/+1
| |
* | `fold_kind`: `MATCH_ARM_LIST => FoldKind::Block`Mazdak Farrokhzad2019-09-191-0/+18
|/
* Remove TraitItem and ImplItem in favor of AssocItemFlorian Diebold2019-09-171-3/+3
|
* Refactor a bit to prepare for resolving trait assoc itemsFlorian Diebold2019-09-175-14/+17
|