aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/tests
Commit message (Collapse)AuthorAgeFilesLines
* Support LSP 3.15Jeremy Kolb2019-12-111-1/+20
| | | | This merely upgrades our protocol support. It does not add any of the new features.
* Skip slow tests by defaultAleksey Kladov2019-12-071-0/+38
|
* Run rustfmt with respect to Cargo.toml editionVincent Rouillé2019-12-041-0/+58
|
* Remove flexi_logger from ra_lsp_serverAlexander Ekdahl2019-11-302-3/+1
|
* Use raw cfgs in json project and fix typooxalica2019-10-051-1/+7
|
* don't deadlock on shutdownAleksey Kladov2019-09-061-1/+1
| | | | | | | Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775
* :arrow_up: lsp-serverAleksey Kladov2019-08-301-28/+29
|
* move lsp-server to a separate repositoryAleksey Kladov2019-08-301-29/+28
|
* translate \n -> \r\n on the way outAleksey Kladov2019-08-201-5/+5
|
* add tests for crlfAleksey Kladov2019-08-201-0/+46
|
* don't load sysroot in most heavy testsAleksey Kladov2019-08-192-8/+24
|
* fix testsAleksey Kladov2019-08-061-2/+2
|
* don't send LocationLink unless the client opts-inAleksey Kladov2019-07-081-3/+21
| | | | closes #1474
* use flatten branch of lsp-typesJeremy Kolb2019-07-071-2/+4
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-042-13/+8
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Fix clippy::unused_mutAlan Du2019-06-041-1/+1
|
* Fix clippy::unnecessary_mut_passedAlan Du2019-06-041-7/+2
|
* Fix clippy::single_matchAlan Du2019-06-041-4/+3
|
* bump timeout for CIAleksey Kladov2019-05-291-1/+1
|
* silnce profiling in testsAleksey Kladov2019-05-291-1/+2
|
* check cancellation when expanding macrosAleksey Kladov2019-05-271-3/+2
|
* enable profiling in testsAleksey Kladov2019-05-272-1/+83
|
* cleanup cancellationAleksey Kladov2019-04-171-10/+5
| | | | | Now that we explicitelly exit the reading loop on exit notification, we can assume that the sender is always alive
* Modifies runnables test to use multi-workspace rootRoberto Vidal2019-04-142-29/+68
|
* Sends cwd info for runnables and code lensesRoberto Vidal2019-04-142-2/+10
|
* Adds support for multiple editor workspaces on initializationRoberto Vidal2019-04-141-1/+1
| | | | This is a quick, partial fix for #1104
* Fix test_missing_module_code_action_in_json_project on WindowsVille Penttinen2019-03-071-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.
* when loading workspace, say how many packages were loadedAleksey Kladov2019-03-072-15/+14
| | | | | 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 Wood2019-03-071-43/+0
|
* Add test demonstrating logic for handling deps.David Wood2019-03-071-1/+44
|
* Initial implementation of project-lock.json.David Wood2019-03-072-2/+69
| | | | | 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 clientVille Penttinen2019-03-061-1/+8
| | | | | | | | | 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_messageVille Penttinen2019-03-052-10/+10
|
* Send an actual ShowMessage instead of InternalFeedback in feedback()Ville Penttinen2019-03-051-3/+5
| | | | | | | 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.
* Fix the buildkjeremy2019-02-271-1/+3
|
* Assign IDs to assistsAleksey Kladov2019-02-241-4/+7
|
* automatically wait for worker threadsAleksey Kladov2019-02-141-12/+5
| | | | closes #817
* reformat the worldAleksey Kladov2019-02-082-21/+5
|
* align command namingAleksey Kladov2019-01-281-1/+1
|
* switch to lsp-typesAleksey Kladov2019-01-142-2/+2
|
* wire sysroot into crate graphAleksey Kladov2019-01-102-31/+23
|
* add sysroot boilerplateAleksey Kladov2019-01-101-1/+40
|
* dont depend on tools from lsp-serverAleksey Kladov2019-01-101-2/+0
|
* fix testsBernardo2019-01-031-9/+14
|
* Merge #378bors[bot]2018-12-301-2/+2
|\ | | | | | | | | | | | | | | 378: migrate-to-tempdir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: tempdirAleksey Kladov2018-12-301-2/+2
| |
* | :arrow_up: crossbeamAleksey Kladov2018-12-301-4/+9
|/ | | | closes #189
* Install rustfmt in rustfmt testAleksander Vognild Burkow2018-12-291-0/+2
|
* Add support for formatting entire document with rustfmtAleksander Vognild Burkow2018-12-291-2/+54
| | | | | | Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements.
* fix the testAleksey Kladov2018-12-271-2/+2
|