Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | switch to official extend selection API | Aleksey Kladov | 2019-04-21 | 5 | -3/+72 | |
| | ||||||
* | cleanup cancellation | Aleksey Kladov | 2019-04-17 | 1 | -10/+5 | |
| | | | | | Now that we explicitelly exit the reading loop on exit notification, we can assume that the sender is always alive | |||||
* | add a couple of profiling points | Aleksey Kladov | 2019-04-14 | 1 | -0/+3 | |
| | ||||||
* | filter by time | Aleksey Kladov | 2019-04-14 | 1 | -21/+4 | |
| | ||||||
* | cleanup syntax | Aleksey Kladov | 2019-04-14 | 1 | -8/+20 | |
| | ||||||
* | switch to modern paths | Aleksey Kladov | 2019-04-14 | 1 | -5/+5 | |
| | ||||||
* | Modifies runnables test to use multi-workspace root | Roberto Vidal | 2019-04-14 | 2 | -29/+68 | |
| | ||||||
* | Sends cwd info for runnables and code lenses | Roberto Vidal | 2019-04-14 | 5 | -3/+22 | |
| | ||||||
* | Adds support for multiple editor workspaces on initialization | Roberto Vidal | 2019-04-14 | 4 | -25/+41 | |
| | | | | This is a quick, partial fix for #1104 | |||||
* | Refactor CallInfo function signatures to new FunctionSignature type | Ville Penttinen | 2019-04-09 | 2 | -18/+27 | |
| | | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well. | |||||
* | Remove checking file exists | Edwin Cheng | 2019-04-07 | 1 | -13/+6 | |
| | ||||||
* | fix formatting | Edwin Cheng | 2019-04-07 | 1 | -1/+2 | |
| | ||||||
* | Add warning when open file outside workspace | Edwin Cheng | 2019-04-06 | 1 | -5/+15 | |
| | ||||||
* | PR issuse resolved | Sergey Parilin | 2019-04-02 | 3 | -4/+14 | |
| | ||||||
* | 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 | 2 | -3/+29 | |
| | | | | | 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. | |||||
* | Merge #948 | bors[bot] | 2019-03-07 | 1 | -6/+11 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 948: Fix test_missing_module_code_action_in_json_project on Windows r=matklad a=vipentti The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. Co-authored-by: Ville Penttinen <[email protected]> | |||||
| * | Fix test_missing_module_code_action_in_json_project on Windows | Ville Penttinen | 2019-03-07 | 1 | -6/+11 | |
| | | | | | | | | | | | | | | | | The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. | |||||
* | | Specify derive feature for serde | pcpthm | 2019-03-07 | 1 | -1/+1 | |
|/ | ||||||
* | when loading workspace, say how many packages were loaded | Aleksey Kladov | 2019-03-07 | 3 | -22/+21 | |
| | | | | | this should help to debug configuration issues, when you see `0 packages loaded` or something like that. | |||||
* | Remove rust-project.json test w/ dependencies. | David Wood | 2019-03-07 | 1 | -43/+0 | |
| | ||||||
* | Add test demonstrating logic for handling deps. | David Wood | 2019-03-07 | 1 | -1/+44 | |
| | ||||||
* | 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 | 4 | -18/+82 | |
| | | | | | 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 | 5 | -21/+63 | |
| | | | | | | | | | 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 | 3 | -13/+13 | |
| | ||||||
* | Remove InternalFeedback | Ville Penttinen | 2019-03-05 | 1 | -7/+0 | |
| | ||||||
* | Send an actual ShowMessage instead of InternalFeedback in feedback() | Ville Penttinen | 2019-03-05 | 3 | -20/+27 | |
| | | | | | | | 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. | |||||
* | Updates | kjeremy | 2019-03-05 | 1 | -1/+1 | |
| | ||||||
* | 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. | |||||
* | Fix the build | kjeremy | 2019-02-27 | 1 | -1/+3 | |
| | ||||||
* | 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 | 2 | -13/+46 | |
| | ||||||
* | Update lsp-types and backtrace | kjeremy | 2019-02-21 | 2 | -2/+2 | |
| | ||||||
* | switch to crates.io vfs | Aleksey Kladov | 2019-02-18 | 1 | -1/+1 | |
| | ||||||
* | drop unused deps | Aleksey Kladov | 2019-02-18 | 1 | -3/+0 | |
| | ||||||
* | 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 | 3 | -29/+20 | |
| | | | | closes #817 | |||||
* | Add support for container_name in workspace/symbol query | Ville Penttinen | 2019-02-12 | 1 | -1/+1 | |
| | ||||||
* | Fix typo in Cargo.toml authors | Ville Penttinen | 2019-02-11 | 1 | -1/+1 | |
| | | | | Fixes typo introduced in #782 | |||||
* | Update authors field in Cargo.tomls to "rust-analyzer developers" | Ville Penttinen | 2019-02-11 | 1 | -1/+1 | |
| | | | | This closes #777 |