Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PR issuse resolved | Sergey Parilin | 2019-04-02 | 2 | -4/+13 |
| | |||||
* | Move actual include logic to ProjectRoot | Ville Penttinen | 2019-03-21 | 1 | -25/+20 |
| | | | | | This way the two IncludeRustFiles implementations can simply call the ProjectRoots' methods, so that the include logic is in one place. | ||||
* | Improve filtering of file roots | Ville Penttinen | 2019-03-20 | 3 | -29/+65 |
| | | | | | | | | | `ProjectWorkspace::to_roots` now returns a new `ProjectRoot` which contains information regarding whether or not the given path is part of the current workspace or an external dependency. This information can then be used in `ra_batch` and `ra_lsp_server` to implement more advanced filtering. This allows us to filter some unnecessary folders from external dependencies such as tests, examples and benches. | ||||
* | Upgrade ra_vfs to use new Filtering | Ville Penttinen | 2019-03-18 | 1 | -2/+28 |
| | | | | | Currently this matches the previous filtering, meaning all roots are filtered using the same rules. | ||||
* | LSP: Support EnumMember and Field | kjeremy | 2019-03-11 | 1 | -0/+2 |
| | |||||
* | Don't default publishDecorations to true on the server | Florian Diebold | 2019-03-09 | 1 | -39/+61 |
| | | | | | | | If the client doesn't specify this explicitly, that very likely means it doesn't know about it and so we shouldn't send decorations. In particular, the recent change to this default caused decorations to be sent to emacs, resulting in a lot of warning spam. | ||||
* | when loading workspace, say how many packages were loaded | Aleksey Kladov | 2019-03-07 | 1 | -7/+7 |
| | | | | | this should help to debug configuration issues, when you see `0 packages loaded` or something like that. | ||||
* | Rename and change `add_roots` to return a `Vec`. | David Wood | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | Initial implementation of project-lock.json. | David Wood | 2019-03-07 | 2 | -16/+13 |
| | | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots. | ||||
* | Add showWorkspaceLoadedNotification to vscode client | Ville Penttinen | 2019-03-06 | 4 | -20/+55 |
| | | | | | | | | | This allows users to control whether or not they want to see the "workspace loaded" notification. This is done on the server side using InitializationOptions which are provided by the client. By default show_workspace_loaded is true, meaning the notification is sent. | ||||
* | Rename feedback to show_message | Ville Penttinen | 2019-03-05 | 1 | -3/+3 |
| | |||||
* | Remove InternalFeedback | Ville Penttinen | 2019-03-05 | 1 | -7/+0 |
| | |||||
* | Send an actual ShowMessage instead of InternalFeedback in feedback() | Ville Penttinen | 2019-03-05 | 2 | -17/+22 |
| | | | | | | | This now allows us to send a notification that can be shown in the UI when the workspace has been loaded. Additionally this removes the need for internal_mode flag. | ||||
* | show message in client's UI if workspace fails to load | Aleksey Kladov | 2019-03-05 | 2 | -8/+14 |
| | |||||
* | Add optional range parameter to SyntaxTreeParams | Ville Penttinen | 2019-03-03 | 2 | -1/+4 |
| | | | | | When range is provided, instead of showing the syntax for the whole file, we'll show the syntax tree for the given range. | ||||
* | Merge #901 | bors[bot] | 2019-02-27 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | 901: Add basic support for showing fn signature when hovering r=matklad a=vipentti This adds basic support for displaying function signature when hovering over a usage of a function. Additionally refactored `hover` to return `HoverResult` to ease with testing and in general to be more robust. Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | Add new type HoverResult to contain the results of hovering | Ville Penttinen | 2019-02-26 | 1 | -1/+1 |
| | | | | | | | | | | This makes testing hovers easier as well as allows us to do more things with the results if needed. | ||||
* | | Remove RawResponse::empty() | Ville Penttinen | 2019-02-27 | 1 | -2/+5 |
| | | |||||
* | | Work around for issue in vscode reporting a failure in request | Ville Penttinen | 2019-02-27 | 1 | -5/+11 |
|/ | | | | | | vscode would report "A request has failed" when it got "Content modified" message and this would cause a pop-up to appear. This works around the issue by returning an "empty" response that vscode can ignore. | ||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -1/+1 |
| | |||||
* | Assign IDs to assists | Aleksey Kladov | 2019-02-24 | 1 | -9/+39 |
| | |||||
* | Update lsp-types and backtrace | kjeremy | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | Don't use additional_text_edits API internally | Aleksey Kladov | 2019-02-18 | 1 | -6/+26 |
| | |||||
* | Refactor find_all_refs to return ReferenceSearchResult | Ville Penttinen | 2019-02-17 | 2 | -11/+29 |
| | |||||
* | automatically wait for worker threads | Aleksey Kladov | 2019-02-14 | 2 | -17/+15 |
| | | | | closes #817 | ||||
* | Add support for container_name in workspace/symbol query | Ville Penttinen | 2019-02-12 | 1 | -1/+1 |
| | |||||
* | Implement BatchDatabase construction | Florian Diebold | 2019-02-10 | 1 | -3/+1 |
| | |||||
* | Remove Vfs from project model | Florian Diebold | 2019-02-09 | 1 | -1/+5 |
| | |||||
* | Move crate graph generation to ra_project_model | Florian Diebold | 2019-02-09 | 1 | -82/+3 |
| | |||||
* | Extract project model to separate crate | Florian Diebold | 2019-02-09 | 3 | -347/+3 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 10 | -226/+72 |
| | |||||
* | Some clippy cleanups | kjeremy | 2019-02-06 | 2 | -24/+17 |
| | |||||
* | Fill deprecation for LSP | kjeremy | 2019-02-05 | 1 | -1/+1 |
| | |||||
* | Merge #742 | bors[bot] | 2019-02-05 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | 742: Extern crate r=matklad a=flodiebold This implements `extern crate` declarations by lowering them to (absolute) imports, and adds support for absolute paths. It also extracts the extern prelude from the per-module item map, and handles the special case of extern crates in the crate root adding to the extern prelude. This means we finally resolve `Arc`, so it fixes #523 :smile: Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Add alloc to std deps | Florian Diebold | 2019-02-04 | 1 | -0/+1 |
| | | |||||
* | | Move comment | kjeremy | 2019-02-04 | 1 | -12/+13 |
|/ | |||||
* | Future proof by explicitly matching against None | kjeremy | 2019-02-04 | 1 | -1/+1 |
| | |||||
* | Add comment | kjeremy | 2019-02-04 | 1 | -0/+4 |
| | |||||
* | Implement lens for impls and support resolving lenses. | Jeremy Kolb | 2019-02-04 | 3 | -3/+85 |
| | |||||
* | Add core to STD_DEPS | Laurențiu Nicola | 2019-02-03 | 1 | -0/+1 |
| | | | See #731. | ||||
* | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 1 | -0/+1 |
| | |||||
* | format | Jeremy Kolb | 2019-01-31 | 1 | -1/+3 |
| | |||||
* | Use "▶" for test code lens | Jeremy Kolb | 2019-01-31 | 1 | -1/+1 |
| | | | | I find that this makes code lenses stand out more. | ||||
* | Merge #702 | bors[bot] | 2019-01-30 | 4 | -3/+24 |
|\ | | | | | | | | | | | | | | | | | 702: Go to Implementation r=matklad a=kjeremy First half of #620 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| * | Go to Implementation for structs and enums | Jeremy Kolb | 2019-01-30 | 4 | -3/+24 |
| | | |||||
* | | Pass Documentation up to LSP and add "rust" to our codeblocks there | Jeremy Kolb | 2019-01-30 | 4 | -15/+54 |
|/ | |||||
* | align command naming | Aleksey Kladov | 2019-01-28 | 2 | -13/+13 |
| | |||||
* | automatically collect garbage | Aleksey Kladov | 2019-01-27 | 2 | -2/+7 |
| | |||||
* | Don't use the reserved error code | DJMcNab | 2019-01-26 | 1 | -1/+1 |
| | |||||
* | Return an lsp error | DJMcNab | 2019-01-26 | 1 | -5/+8 |
| |