Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix hover on the beginning of a nested expression | Florian Diebold | 2019-04-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | E.g. in ``` let foo = 1u32; if true { <|>foo; } ``` the hover shows `()`, the type of the whole if expression, instead of the more sensible `u32`. The reason for this was that the search for an expression was slightly left-biased: When on the edge between two tokens, it first looked at all ancestors of the left token and then of the right token. Instead merge the ancestors in ascending order, so that we get the smaller of the two possible expressions. | ||||
* | Get substs for trait refs in impl blocks | Florian Diebold | 2019-04-14 | 1 | -1/+1 |
| | |||||
* | use really correct resolver for expressions | Aleksey Kladov | 2019-04-12 | 1 | -1/+1 |
| | |||||
* | minimize the API | Aleksey Kladov | 2019-04-11 | 1 | -4/+2 |
| | |||||
* | rename | Aleksey Kladov | 2019-04-11 | 1 | -1/+1 |
| | |||||
* | introduce SourceAnalyzer | Aleksey Kladov | 2019-04-11 | 1 | -104/+48 |
| | |||||
* | type-safer source-map for bindings | Aleksey Kladov | 2019-04-10 | 1 | -0/+1 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | Remove the old variants replaced by Ty::Apply | Florian Diebold | 2019-03-21 | 1 | -8/+6 |
| | |||||
* | Add support for goto definition and hover on Self | Ville Penttinen | 2019-03-07 | 1 | -2/+94 |
| | | | | This fixes #943 | ||||
* | Use source map | kjeremy | 2019-03-06 | 1 | -14/+9 |
| | |||||
* | Hover for associated items in patterns | kjeremy | 2019-03-06 | 1 | -8/+32 |
| | |||||
* | Make ExpOrPatId private | kjeremy | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | Add NavigationTarget::from_impl_item | Jeremy Kolb | 2019-03-04 | 1 | -13/+2 |
| | |||||
* | Use ImplItems instead of just Function | Jeremy Kolb | 2019-03-04 | 1 | -5/+16 |
| | |||||
* | Make goto definition/hover resolve constructors | kjeremy | 2019-03-04 | 1 | -4/+25 |
| | |||||
* | remove second way to get the body | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | rename syntax_mapping as well | Aleksey Kladov | 2019-03-02 | 1 | -9/+8 |
| | |||||
* | rename syntax-mapping -> source-map | Aleksey Kladov | 2019-03-02 | 1 | -3/+3 |
| | |||||
* | Allow goto-definition to work for named fields in struct initializer | Ville Penttinen | 2019-02-27 | 1 | -0/+44 |
| | | | | | Now goto definition should work when done on a named field in a struct initializer. | ||||
* | Add support for hovering over the name of an item | Ville Penttinen | 2019-02-27 | 1 | -1/+1 |
| | |||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -2/+2 |
| | |||||
* | Remove unnecessary to_nav_target | Ville Penttinen | 2019-02-23 | 1 | -16/+12 |
| | |||||
* | Fix goto def not working when cursor was over the name of a def | Ville Penttinen | 2019-02-23 | 1 | -3/+124 |
| | | | | | We now allow goto_definition to return the named NavigationTarget if the cursor is on the name of a definition. | ||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -4/+4 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -28/+12 |
| | |||||
* | move index_resolve to symbol index | Aleksey Kladov | 2019-02-08 | 1 | -2/+1 |
| | |||||
* | Some clippy cleanups | kjeremy | 2019-02-06 | 1 | -1/+5 |
| | |||||
* | Make the Resolution variants tuple variants | Florian Diebold | 2019-02-01 | 1 | -3/+3 |
| | |||||
* | Cleanup | Florian Diebold | 2019-02-01 | 1 | -0/+1 |
| | |||||
* | Use the new Resolver API for goto def | Florian Diebold | 2019-02-01 | 1 | -19/+30 |
| | |||||
* | rename source_file -> parse | Aleksey Kladov | 2019-01-26 | 1 | -1/+1 |
| | |||||
* | rename FilesDatabase -> SourceDatabase | Aleksey Kladov | 2019-01-26 | 1 | -1/+1 |
| | |||||
* | fold syntax database into files database | Aleksey Kladov | 2019-01-26 | 1 | -1/+1 |
| | |||||
* | fix todo | Aleksey Kladov | 2019-01-25 | 1 | -3/+1 |
| | |||||
* | add ability to get strcut field source | Aleksey Kladov | 2019-01-25 | 1 | -4/+30 |
| | |||||
* | update ide_api to new hir | Aleksey Kladov | 2019-01-24 | 1 | -4/+2 |
| | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -2/+2 |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | ||||
* | remove Canceled from API impl | Aleksey Kladov | 2019-01-15 | 1 | -18/+15 |
| | |||||
* | remove Cancelable from type inference | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from nameres | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from fn_scopes | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from funciton body | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from navigation target | Aleksey Kladov | 2019-01-15 | 1 | -3/+3 |
| | |||||
* | remove cancelable from symbols | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from source binders | Aleksey Kladov | 2019-01-15 | 1 | -4/+3 |
| | |||||
* | goto defenition works for type-inferred methods | Aleksey Kladov | 2019-01-13 | 1 | -2/+49 |
| | |||||
* | Add an explanatory message when we use the Query fallback | DJMcNab | 2019-01-13 | 1 | -6/+25 |
| | |||||
* | fix tests | Aleksey Kladov | 2019-01-11 | 1 | -35/+19 |
| | |||||
* | return ref ranges from gotodef | Aleksey Kladov | 2019-01-11 | 1 | -4/+6 |
| |