Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes to more accurately give complete_scope completions | Steffen Lyngbaek | 2020-03-19 | 1 | -3/+5 |
| | | | | | | | - Exclude const, static, functions form is_pat_binding_and_path (there might be more?) - Add a check to filter out Record Fields - Fix tests | ||||
* | - Exclude Local Scope for BindPats | Steffen Lyngbaek | 2020-03-19 | 1 | -7/+4 |
| | | | | | - Exclude BindPats with @ or ref - Remove outdated test and add one testing for ref | ||||
* | Completition for type name? #3418 | Steffen Lyngbaek | 2020-03-19 | 1 | -2/+14 |
| | | | | | | | | Iterate through TupleStructPat's until a MatchArm if one exists. Store in a new is_pat_bind_and_path bool and allow the `complete_scope` to find matches. Added some tests to ensure it works in simple and nested cases. | ||||
* | Get tests working | Florian Diebold | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Introduce CompletionOptions | Aleksey Kladov | 2020-03-10 | 1 | -1/+4 |
| | |||||
* | Move hypothetical expansion to hir_expand | Florian Diebold | 2020-03-08 | 1 | -1/+5 |
| | |||||
* | Fix CompletionContext module field (by removing it) | Florian Diebold | 2020-03-07 | 1 | -5/+3 |
| | | | | | Two uses only needed the crate; one was wrong and should use the module from the scope instead. | ||||
* | Add some sanity checks | Florian Diebold | 2020-03-07 | 1 | -1/+10 |
| | |||||
* | Fix record pattern completion | Florian Diebold | 2020-03-07 | 1 | -1/+1 |
| | |||||
* | Fix record literal completion | Florian Diebold | 2020-03-07 | 1 | -3/+8 |
| | |||||
* | Try to complete within macros | Florian Diebold | 2020-03-07 | 1 | -25/+62 |
| | |||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -4/+4 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -27/+38 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Merge branch 'master' into kdelorey/complete-trait-impl | Kevin DeLorey | 2020-02-09 | 1 | -3/+4 |
|\ | |||||
| * | cleanup imports | Aleksey Kladov | 2020-02-06 | 1 | -3/+4 |
| | | |||||
* | | Got the magic completion working. | Kevin DeLorey | 2020-02-08 | 1 | -0/+9 |
|/ | |||||
* | Create modules via SourceBinder | Aleksey Kladov | 2020-01-16 | 1 | -7/+3 |
| | |||||
* | Remove imports from hir | Aleksey Kladov | 2019-12-21 | 1 | -0/+4 |
| | |||||
* | Revert "Merge #2629" | Aleksey Kladov | 2019-12-21 | 1 | -4/+0 |
| | | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79. | ||||
* | Remove hir for imports | Aleksey Kladov | 2019-12-21 | 1 | -0/+4 |
| | |||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -9/+8 |
| | |||||
* | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -4/+3 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -2/+2 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -0/+274 |