aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-023-4/+12
|/
* 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-205-12/+73
|
* 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
|
* Remove a dbg!Florian Diebold2019-09-141-1/+1
|
* rename add_resolution -> add_scope_defAleksey Kladov2019-09-131-18/+0
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-135-56/+76
| | | | That way, we are able to get rid of a number of unreachable statements
* rename AdtDef -> AdtAleksey Kladov2019-09-128-30/+24
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-126-23/+24
|
* Complete vec macros with square bracketsKirill Bulatov2019-09-122-3/+36
|
* Add `!` to the macro completion labelKirill Bulatov2019-09-124-20/+24
|
* Complete macros parenthesisKirill Bulatov2019-09-124-9/+9
|
* Split out `complete_macro_in_item_position`uHOOCCOOHu2019-09-113-37/+52
|
* Fix typouHOOCCOOHu2019-09-111-1/+1
|
* Show macro definition in hover textuHOOCCOOHu2019-09-101-3/+21
|
* Support completion for macrosuHOOCCOOHu2019-09-104-2/+295
|
* introduce hir debugging infraAleksey Kladov2019-09-092-3/+43
| | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph
* simplifyAleksey Kladov2019-09-061-38/+40
|
* make source_root API more abstractAleksey Kladov2019-09-062-3/+3
|
* fix renaming of modulesAleksey Kladov2019-09-052-72/+86
|