aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #2179bors[bot]2019-11-061-14/+13
|\ | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]>
| * HirDatabase stored attributesMartin Asquino2019-11-041-14/+13
| |
* | Cleanup complete_postfixAleksey Kladov2019-11-061-52/+57
|/
* Reexport relative_path from ra_dbAleksey Kladov2019-11-036-11/+8
|
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-4/+4
|
* Use `bool` instead of `Option<bool>` and print it's value only when `true`Martin Asquino2019-11-028-78/+5
|
* Set `deprecated` field on `CompletionItem`sMartin Asquino2019-11-028-1/+185
|
* Change SourceAnalyzer method resoltion APIFlorian Diebold2019-11-012-32/+18
|
* Complete items on traits as wellFlorian Diebold2019-11-011-2/+46
|
* Complete trait assoc itemsFlorian Diebold2019-11-012-12/+48
|
* Add failing tests for trait assoc method completionFlorian Diebold2019-11-011-0/+60
|
* Refactor to unify with method resolutionFlorian Diebold2019-11-011-4/+6
|
* Record assoc item resolutionFlorian Diebold2019-11-011-0/+55
|
* Fixes #2143kjeremy2019-10-311-0/+19
|
* runnables => match_ast!kjeremy2019-10-301-7/+7
|
* Use match_ast! in FnCallNode::with_nodekjeremy2019-10-301-9/+8
|
* Some clippy fixeskjeremy2019-10-306-9/+8
|
* fix compilationAleksey Kladov2019-10-301-0/+1
|
* Move ids to hir_def crateAleksey Kladov2019-10-304-8/+5
|
* Merge #2125bors[bot]2019-10-301-17/+53
|\ | | | | | | | | | | | | | | 2125: don't add macro braces in use items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * don't add macro braces in use itemsAleksey Kladov2019-10-301-17/+53
| |
* | Add missing test for labelkjeremy2019-10-291-0/+1
| |
* | Primitive signature help for mbekjeremy2019-10-292-0/+58
| |
* | SigKind -> CallableKindkjeremy2019-10-291-10/+10
| |
* | Filter out non callable versions of Struct/EnumVariantkjeremy2019-10-282-38/+84
| |
* | formattingJeremy Kolb2019-10-281-1/+1
| |
* | Fix syntaxJeremy Kolb2019-10-281-1/+1
| |
* | Preliminary enum variant supportJeremy Kolb2019-10-282-2/+67
| |
* | Add disciminantJeremy Kolb2019-10-282-7/+17
| |
* | WIP: Expand signature helpJeremy Kolb2019-10-282-8/+60
|/ | | | This is hacky but works for tuple structs. Proof of concept.
* Be more precise with function signaturesJeremy Kolb2019-10-271-8/+32
| | | | Fixes #2093
* extend selection in trait bound extends to plusAlexander Elís Ebenesersson2019-10-271-10/+72
| | | | | | When multiple traits bounds are present, expanded selection from a single trait bound will include the nearest plus sign (and whitespace after) before including the whole trait bound.
* avoid TextEditorBuilder for simple editsAleksey Kladov2019-10-265-37/+21
|
* insert space after `->`Aleksey Kladov2019-10-251-111/+117
|
* refactor typing_handlersAleksey Kladov2019-10-252-35/+41
|
* introduce SingleFileChangeAleksey Kladov2019-10-252-35/+46
|
* move source change to a dedicated fileAleksey Kladov2019-10-252-95/+104
|
* make typing infra slightly more extensibleAleksey Kladov2019-10-252-48/+72
|
* for highlighting, search only the current fileAleksey Kladov2019-10-244-26/+104
|
* add search scope stuctAleksey Kladov2019-10-241-13/+30
|
* add some profiling callsAleksey Kladov2019-10-243-0/+10
|
* some fixes, add docsEkaterina Babshukova2019-10-225-72/+73
|
* support items that visible to the parent moduleEkaterina Babshukova2019-10-223-5/+68
|
* classify module from declarationEkaterina Babshukova2019-10-223-8/+44
|
* fix highlightingEkaterina Babshukova2019-10-222-2/+2
|
* remove SearchScopeEkaterina Babshukova2019-10-222-10/+6
|
* use Lazy, some fixesEkaterina Babshukova2019-10-228-43/+49
|
* remove `unreachable!()`Ekaterina Babshukova2019-10-224-15/+18
|
* replace trait by a bunch of functionsEkaterina Babshukova2019-10-228-272/+225
|
* restructure a bitEkaterina Babshukova2019-10-2210-699/+869
|