Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | inline snapshots | funkill2 | 2019-07-01 | 1 | -157/+366 |
| | |||||
* | Merge #1456 | bors[bot] | 2019-06-29 | 1 | -1/+31 |
|\ | | | | | | | | | | | | | | | 1456: Deduplicate method candidates r=matklad a=flodiebold With trait method completion + autoderef, we were getting a lot of duplicates, which was really annoying... Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Deduplicate method candidates | Florian Diebold | 2019-06-29 | 1 | -1/+31 |
| | | |||||
* | | Complete associated methods on enums (and unions) as well | Florian Diebold | 2019-06-29 | 3 | -6/+87 |
|/ | |||||
* | Add box postfix completion | Kan-Ru Chen | 2019-06-23 | 2 | -1/+10 |
| | |||||
* | rename XSignature -> XData | Aleksey Kladov | 2019-06-18 | 3 | -10/+10 |
| | |||||
* | Implement autoderef using the Deref trait | Florian Diebold | 2019-06-15 | 1 | -1/+1 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | use Source for TypeAlias | Aleksey Kladov | 2019-06-11 | 1 | -3/+2 |
| | |||||
* | use Source for statics and consts | Aleksey Kladov | 2019-06-11 | 1 | -2/+1 |
| | |||||
* | use Source for Function | Aleksey Kladov | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | Merge #1377 | bors[bot] | 2019-06-06 | 14 | -644/+580 |
|\ | | | | | | | | | | | | | | | 1377: Use inline snapshots in complete_keyword r=matklad a=sbihel Relates to #1127 Co-authored-by: Simon Bihel <[email protected]> | ||||
| * | Use inline snapshots in complete_keyword | Simon Bihel | 2019-06-04 | 14 | -644/+580 |
| | | |||||
* | | Fix clippy::or_fun_call | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | |||||
* | | Fix clippy::ptr_arg | Alan Du | 2019-06-04 | 1 | -2/+2 |
| | | |||||
* | | Fix clippy::single_match | Alan Du | 2019-06-04 | 1 | -4/+3 |
|/ | |||||
* | update ra_ide_api to use builtins | Aleksey Kladov | 2019-05-30 | 3 | -1/+28 |
| | |||||
* | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 1 | -7/+8 |
| | |||||
* | :arrow_up: rustc | Aleksey Kladov | 2019-05-23 | 49 | -454/+482 |
| | |||||
* | add union to code_model | Aleksey Kladov | 2019-05-23 | 2 | -0/+2 |
| | |||||
* | Merge #1208 | bors[bot] | 2019-05-04 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1208: [WIP] Goto for Macro's r=matklad a=Lapz Adds goto definition for macros. Currently only works for macros in the current crate ~~otherwise it panics~~. Proper macro resolution needs to be added for it to resolve macros in other crates. Todo - [X] Allow goto from macro calls - [X] Fix panics - [x] Add tests ![Screen Recording 2019-04-25 at 18 00 24](https://user-images.githubusercontent.com/19998186/56754499-1dd01c00-6785-11e9-9e9a-1e36de70cfa3.gif) Co-authored-by: Lenard Pratt <[email protected]> | ||||
| * | Added local macro goto | Lenard Pratt | 2019-05-04 | 1 | -0/+1 |
| | | |||||
* | | Differentiate Tuple / FnPtr type constructors by cardinality | Florian Diebold | 2019-05-04 | 1 | -1/+1 |
|/ | | | | | This is necessary because Chalk (reasonably) expects each 'struct' to know how many type parameters it takes. | ||||
* | Merge #1194 | bors[bot] | 2019-04-22 | 2 | -6/+118 |
|\ | | | | | | | | | | | | | | | | | 1194: Pr 1190 r=matklad a=matklad Co-authored-by: Andrea Pretto <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | remove path_ident from CompletionContext | Aleksey Kladov | 2019-04-22 | 2 | -39/+38 |
| | | | | | | | | | | | | | | | | | | We really shouldn't be looking at the identifier at point. Instead, all filtering and sorting should be implemented at the layer above. This layer should probably be home for auto-import completions as well, but, since that is not yet implemented, let's just stick this into complete_scope. | ||||
| * | move auto-imoprter into IDE | Aleksey Kladov | 2019-04-22 | 2 | -13/+54 |
| | | | | | | | | | | auto-import is purely an IDE concern, so it should be done outside of HIR | ||||
| * | complete_import: prevent panic when the anchor is the completion source range | Andrea Pretto | 2019-04-21 | 1 | -7/+17 |
| | | | | | | | | | | | | (fix rebase mess) Please enter the commit message for your changes. Lines starting | ||||
| * | complete_import: add new import resolver infrastructure with some hardcoded ↵ | Andrea Pretto | 2019-04-21 | 2 | -8/+70 |
| | | | | | | | | | | | | importable name. Changes complete_scope to support that. | ||||
* | | fix postfix match indent | Aleksey Kladov | 2019-04-22 | 2 | -4/+4 |
|/ | |||||
* | New krate() method in Resolver. | Marco Groppo | 2019-04-19 | 1 | -2/+2 |
| | | | | Renamed Impl to ImplBlock. | ||||
* | Initial support for lang items. | Marco Groppo | 2019-04-19 | 1 | -10/+13 |
| | |||||
* | Refactor method candidate generation a bit | Florian Diebold | 2019-04-14 | 1 | -1/+27 |
| | | | | | | This fixes the order in which candidates are chosen a bit (not completely though, as the ignored test demonstrates), and makes autoderef work with trait methods. As a side effect, this also makes completion of trait methods work :) | ||||
* | hide resolver | Aleksey Kladov | 2019-04-13 | 3 | -3/+3 |
| | |||||
* | use really correct resolver for expressions | Aleksey Kladov | 2019-04-12 | 1 | -1/+2 |
| | |||||
* | remove resolver from CompletonContext | Aleksey Kladov | 2019-04-11 | 4 | -7/+4 |
| | |||||
* | generalize SourceAnalyzer to handle all defs with bodies | Aleksey Kladov | 2019-04-11 | 1 | -0/+24 |
| | |||||
* | rename | Aleksey Kladov | 2019-04-11 | 1 | -2/+2 |
| | |||||
* | Make call info to use real name resolution | Aleksey Kladov | 2019-04-11 | 1 | -6/+0 |
| | |||||
* | introduce SourceAnalyzer | Aleksey Kladov | 2019-04-11 | 3 | -18/+7 |
| | |||||
* | Merge #1131 | bors[bot] | 2019-04-10 | 10 | -180/+136 |
|\ | | | | | | | | | | | | | | | 1131: Use inline snapshots in complete_dot r=matklad a=vipentti Relates to #1127 Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | Use inline snapshots in complete_dot | Ville Penttinen | 2019-04-10 | 10 | -180/+136 |
| | | |||||
* | | Use inline snapshots in complete_fn_param | Ville Penttinen | 2019-04-10 | 4 | -72/+58 |
|/ | |||||
* | type-safer source-map for bindings | Aleksey Kladov | 2019-04-10 | 1 | -5/+3 |
| | |||||
* | Move completion label functions to display | Ville Penttinen | 2019-04-09 | 1 | -1/+4 |
| | |||||
* | Update test snapshots | Ville Penttinen | 2019-04-09 | 2 | -10/+10 |
| | |||||
* | Refactor CallInfo function signatures to new FunctionSignature type | Ville Penttinen | 2019-04-09 | 1 | -1/+1 |
| | | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well. | ||||
* | Rudimentarily autocomplete tuple struct field access | robojumper | 2019-04-06 | 2 | -0/+38 |
| | |||||
* | always produce source for import | Aleksey Kladov | 2019-04-02 | 1 | -5/+8 |
| | |||||
* | fix a panic with glob-import missing a source map | Aleksey Kladov | 2019-04-02 | 1 | -0/+12 |
| | |||||
* | fix comment naming | Aleksey Kladov | 2019-04-02 | 1 | -3/+6 |
| |