aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix long loop timeoutAleksey Kladov2020-01-291-1/+1
|
* Complain loudly if the main loop is blockedAleksey Kladov2020-01-291-1/+21
|
* More uniform namingAleksey Kladov2020-01-291-7/+7
|
* Don't compute diagnostics on the main threadAleksey Kladov2020-01-291-28/+28
| | | | closes #2909
* Bump main thread priority on windowsAleksey Kladov2020-01-261-0/+19
|
* Use default threadpool sizeAleksey Kladov2020-01-251-5/+3
|
* Cancel requests during shutdownAleksey Kladov2020-01-241-1/+1
|
* Remove RWLock from check watcher.Emil Lauridsen2020-01-233-12/+11
| | | | | | | | | | | | | | @matklad mentioned this might be a good idea. So the general idea is that we don't really need the lock, as we can just clone the check watcher state when creating a snapshot. We can then use `Arc::get_mut` to get mutable access to the state from `WorldState` when needed. Running with this it seems to improve responsiveness a bit while cargo is running, but I have no hard numbers to prove it. In any case, a serialization point less is always better when we're trying to be responsive.
* Minimize visibilityAleksey Kladov2020-01-163-6/+12
|
* itertools::Either -> either::EitherKirill Bulatov2020-01-151-1/+1
|
* Apply the api design suggestionsKirill Bulatov2020-01-151-10/+18
|
* Another attempt to add multiple editsKirill Bulatov2020-01-151-4/+8
|
* Extract check task handling into functionEmil Lauridsen2020-01-151-47/+56
|
* Manage check state updates in main_loop to reduce lock contentionEmil Lauridsen2020-01-152-5/+29
|
* Merge #2843bors[bot]2020-01-152-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 2843: Add inlay parameter name hints for call expr r=matklad a=imtsuki This patch adds Intellij-like parameter name hints for literal values in function calls. <img width="624" alt="Screenshot" src="https://user-images.githubusercontent.com/8423594/72366533-68d7f800-3735-11ea-9279-cf193ca8ca2f.png"> Signed-off-by: imtsuki <[email protected]> Co-authored-by: imtsuki <[email protected]>
| * Add inlay parameter name hints for function callsimtsuki2020-01-142-0/+2
| | | | | | | | Signed-off-by: imtsuki <[email protected]>
* | Tweak add_custom_implJeremy Kolb2020-01-141-0/+1
|/
* Log client info if presentkjeremy2020-01-131-0/+4
|
* Schedule check update regardless of notification settingEmil Lauridsen2020-01-131-1/+1
|
* Defer cargo check until after workspace loadEmil Lauridsen2020-01-131-0/+1
|
* Report macro calls as functionsJeremy Kolb2020-01-121-0/+1
|
* Merge #2791bors[bot]2020-01-111-2/+14
|\ | | | | | | | | | | | | | | | | | | 2791: Slightly more robust cargo watcher root search r=kiljacken a=kiljacken Fixes #2780 (hopefully). Use the already painstakingly found `workspaces` instead of naively using `folder_roots` from editor. Co-authored-by: Emil Lauridsen <[email protected]>
| * Clean up straggling mutEmil Lauridsen2020-01-111-1/+1
| |
| * Disable cargo checking in workspaces with no cargo projectsEmil Lauridsen2020-01-111-14/+14
| |
| * Address nitEmil Lauridsen2020-01-101-1/+1
| |
| * Slightly more robust cargo watcher root searchEmil Lauridsen2020-01-101-3/+15
| |
* | Fix Write being sent down the wire.kjeremy2020-01-101-3/+3
| | | | | | | | Not sure what the deal is here but it wasn't sending Write.
* | Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-102-11/+37
|/
* Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggleAleksey Kladov2020-01-091-17/+22
|\ | | | | Flag to hide cargo.toml not found error
| * Use downcasting for CargoTomlNotFoundErrorWilco Kusee2020-01-081-2/+2
| |
| * Allow disabling Cargo.toml not found errorWilco Kusee2020-01-031-17/+22
| |
* | Implement proposed CallHierarchy featureJeremy Kolb2020-01-085-12/+129
| | | | | | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts
* | Adds a way to limits reference search by StructLiteralMikhail Modin2020-01-081-6/+9
| |
* | Fix back compatAleksey Kladov2020-01-071-0/+1
|/
* Update dependenciesJeremy Kolb2020-01-011-0/+1
|
* Retry inlay hints on content modified errorAleksey Kladov2019-12-301-10/+5
|
* Lowercase drive letters when getting paths from cargo checkEmil Lauridsen2019-12-291-61/+3
|
* Don't finish main cargo watch thread when subprocess finishes.Emil Lauridsen2019-12-271-1/+4
|
* Move cargo watch functionality to separate crateEmil Lauridsen2019-12-2710-1686/+11
|
* Keep VSCode config mostly backwards compatibleEmil Lauridsen2019-12-254-49/+31
|
* Some documentatioNEmil Lauridsen2019-12-251-0/+13
|
* Actually respect disabling cargo check functionalityEmil Lauridsen2019-12-251-3/+19
|
* Re-format ra_lsp_server changesEmil Lauridsen2019-12-253-7/+7
|
* Re-implement status display using LSP 3.15 progress eventEmil Lauridsen2019-12-252-9/+52
|
* Migrate tests from extension to rustEmil Lauridsen2019-12-257-0/+1067
|
* Fix use of wrong message in diagnosticEmil Lauridsen2019-12-251-1/+1
|
* Configuration plumbing for cargo watcherEmil Lauridsen2019-12-254-10/+55
|
* Initial implementation of cargo check watchingEmil Lauridsen2019-12-256-4/+597
|
* lsp-types 0.67Jeremy Kolb2019-12-231-0/+1
|
* Don't fire no-op changes after files are saved to diskAleksey Kladov2019-12-222-7/+9
|