aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-2760-17199/+0
|
* Move TyAleksey Kladov2019-11-271-15/+2
|
* CleanupAleksey Kladov2019-11-261-1/+1
|
* More precise NameKind::SelfAleksey Kladov2019-11-265-70/+62
|
* Remove ns-polymorphic type_for_defAleksey Kladov2019-11-261-1/+2
|
* Merge #2406bors[bot]2019-11-263-7/+27
|\ | | | | | | | | | | | | | | 2406: Add hygiene information to SourceAnalyzer r=matklad a=edwin0cheng This should fix https://github.com/rust-analyzer/rust-analyzer/pull/2392#issuecomment-557964686 Co-authored-by: Edwin Cheng <[email protected]>
| * Add hygiene information to SourceAnalyzerEdwin Cheng2019-11-263-7/+27
| |
* | id-ify impls_in_crate_queryAleksey Kladov2019-11-261-5/+5
| |
* | Id-ify Ty::AdtAleksey Kladov2019-11-261-0/+1
| |
* | Introduce hir::TypeAleksey Kladov2019-11-269-93/+52
| | | | | | | | It should provide a convenient API over more low-level Ty
* | :arrow_up: salsaAleksey Kladov2019-11-262-1/+4
|/
* Fix hir for ast::UnionDefAleksey Kladov2019-11-252-0/+10
|
* Use ids for CallableAleksey Kladov2019-11-251-5/+8
|
* Use GenericDefIdMoreAleksey Kladov2019-11-251-1/+1
|
* Switch to variant-granularity field type inferenceAleksey Kladov2019-11-241-1/+1
|
* Don't redo field resolution in the IDEAleksey Kladov2019-11-241-7/+3
|
* Nicer API for attrsAleksey Kladov2019-11-241-1/+1
|
* Merge #2365bors[bot]2019-11-241-9/+31
|\ | | | | | | | | | | | | | | 2365: Make expand-macro more flexible r=matklad a=edwin0cheng Due to lack of implementation or other types of errors, some macros do not expand correctly in the current situation. The PR attempts to make `expand-macro` more flexible in error situations by ignoring internal failed macro expansion. Co-authored-by: Edwin Cheng <[email protected]>
| * Improve fail case in expand_macroEdwin Cheng2019-11-231-9/+31
| |
* | Hide ImportIdAleksey Kladov2019-11-231-2/+2
| |
* | Get rid of DefDatabase2Aleksey Kladov2019-11-231-1/+1
| |
* | Move docs to hir_defAleksey Kladov2019-11-231-1/+0
|/
* Uniformalize namingAleksey Kladov2019-11-221-2/+2
|
* Move data to a single fileAleksey Kladov2019-11-221-6/+5
|
* Move FunctionData to hir_defAleksey Kladov2019-11-225-15/+15
|
* Add support for environment to CrateGraphAleksey Kladov2019-11-223-7/+20
|
* Merge #2347bors[bot]2019-11-221-2/+32
|\ | | | | | | | | | | | | | | 2347: More correct expand macro r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]>
| * More correct expand macroEdwin Cheng2019-11-221-2/+32
| |
* | Merge #2351bors[bot]2019-11-221-6/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 2351: Rename Atts trait r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Rename Atts traitAleksey Kladov2019-11-221-2/+2
| | |
| * | Encapsulate AttrsAleksey Kladov2019-11-221-4/+1
| | |
* | | Don't continue line commentsAleksey Kladov2019-11-221-3/+31
| |/ |/|
* | Fix insert_whitespacesEdwin Cheng2019-11-211-11/+10
| |
* | Add test for match_astEdwin Cheng2019-11-211-0/+43
|/
* Merge #2332bors[bot]2019-11-201-0/+7
|\ | | | | | | | | | | | | | | 2332: Add HasResolver trait r=matklad a=matklad bors merge Co-authored-by: Aleksey Kladov <[email protected]>
| * Add HasResolver traitAleksey Kladov2019-11-201-0/+7
| |
* | fix 2190; add test for "replace if let with match"Felix Kohlgrüber2019-11-201-0/+28
|/
* Move constants to new IDAleksey Kladov2019-11-202-7/+2
| | | | This allows us to get rid of trait item index
* Merge #2326bors[bot]2019-11-201-132/+0
|\ | | | | | | | | | | | | | | 2326: Remove duplicate tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove duplicate testsAleksey Kladov2019-11-201-132/+0
| |
* | Fix expand macroEdwin Cheng2019-11-202-6/+6
|/
* Rename with_ast -> with_valueAleksey Kladov2019-11-206-41/+41
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-2016-78/+83
|
* Merge pull request #2297 from kiljacken/masterAleksey Kladov2019-11-202-17/+67
|\ | | | | Add fancy truncation of type hints.
| * Add test for inlay hint truncationEmil Lauridsen2019-11-191-0/+37
| |
| * Move type inlay hint truncation to language serverEmil Lauridsen2019-11-192-17/+30
| | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints.
* | Add shot doc for expand_macro moduleEdwin Cheng2019-11-191-1/+1
| |
* | Improve insert_whitespacesEdwin Cheng2019-11-191-17/+77
| |
* | Change return type of expand_macroEdwin Cheng2019-11-192-5/+12
| |
* | Change to use Expansion::file_id and reorderingEdwin Cheng2019-11-191-40/+39
| |