aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* RefactorAleksey Kladov2020-02-182-4/+3
|
* Some docsAleksey Kladov2020-02-187-15/+23
|
* Better folder structureAleksey Kladov2020-02-182-0/+0
|
* Replace ra_cli mentionsLaurențiu Nicola2020-02-171-7/+7
|
* Merge ra_vfs_glob and ra_lsp_serverAleksey Kladov2020-02-176-3/+104
|
* Merge cli and ra_lsp_serverAleksey Kladov2020-02-178-17/+1032
|
* Merge #3099bors[bot]2020-02-173-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3099: Init implementation of structural search replace r=matklad a=mikhail-m1 next steps: * ignore space and other minor difference * add support to ra_cli * call rust parser to check pattern * documentation original issue #2267 Co-authored-by: Mikhail Modin <[email protected]>
| * Init implementation of structural search replaceMikhail Modin2020-02-143-0/+19
| |
* | Merge #3181bors[bot]2020-02-174-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 3181: Add ability to pass additional arguments to rustfmt. r=matklad a=Leonqn relates to #2848 Co-authored-by: Ilya Titkov <[email protected]>
| * | Add arguments to rustfmtIlya Titkov2020-02-174-0/+6
| | |
* | | Merge #3153bors[bot]2020-02-172-7/+13
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 3153: When a single test is run, do not run others with overlapping names r=matklad a=SomeoneToIgnore Co-authored-by: Kirill Bulatov <[email protected]>
| * | If possible, use --exact flag when running testsKirill Bulatov2020-02-142-7/+13
| |/
* / Enable profiling for benchAleksey Kladov2020-02-161-6/+1
|/
* prevent "Play" symbol in "Run Test" code lens from rendering as emojiQuan Luu2020-02-131-1/+1
|
* Better error messages while deserializingAleksey Kladov2020-02-113-11/+17
|
* Simplify Assists interfaceAleksey Kladov2020-02-091-28/+48
| | | | | Instead of building a physical tree structure, just "tag" related assists with the same group
* to_string_lossy() -> display()Emil Lauridsen2020-02-071-4/+1
|
* Don't crash when recieving unkown file for cargo diagnostic.Emil Lauridsen2020-02-071-6/+10
|
* Remove stray todoEmil Lauridsen2020-02-031-1/+0
|
* Rework how we send diagnostics to client.Emil Lauridsen2020-02-035-70/+140
| | | | | | | | | | | | The previous way of sending from the thread pool suffered from stale diagnostics due to being canceled before we could clear the old ones. The key change is moving to sending diagnostics from the main loop thread, but doing all the hard work in the thread pool. This should provide the best of both worlds, with little to no of the downsides. This should hopefully fix a lot of issues, but we'll need testing in each individual issue to be sure.
* Avoid premature pessimizationAleksey Kladov2020-02-021-1/+0
| | | | | | The extra allocation for message should not matter here at all, but using a static string is just as ergonomic, if not more, and there's no reason to write deliberately slow code
* Small cleanupAleksey Kladov2020-01-311-4/+6
|
* 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
|/