Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove stray todo | Emil Lauridsen | 2020-02-03 | 1 | -1/+0 |
| | |||||
* | Rework how we send diagnostics to client. | Emil Lauridsen | 2020-02-03 | 5 | -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 pessimization | Aleksey Kladov | 2020-02-02 | 1 | -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 cleanup | Aleksey Kladov | 2020-01-31 | 1 | -4/+6 |
| | |||||
* | Fix long loop timeout | Aleksey Kladov | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Complain loudly if the main loop is blocked | Aleksey Kladov | 2020-01-29 | 1 | -1/+21 |
| | |||||
* | More uniform naming | Aleksey Kladov | 2020-01-29 | 1 | -7/+7 |
| | |||||
* | Don't compute diagnostics on the main thread | Aleksey Kladov | 2020-01-29 | 1 | -28/+28 |
| | | | | closes #2909 | ||||
* | Bump main thread priority on windows | Aleksey Kladov | 2020-01-26 | 2 | -0/+22 |
| | |||||
* | Use default threadpool size | Aleksey Kladov | 2020-01-25 | 1 | -5/+3 |
| | |||||
* | Disable env_logger humantime feature | Aleksey Kladov | 2020-01-25 | 1 | -1/+1 |
| | | | | | We rarely care about timings of events, and, when we care, we need millisecond precision | ||||
* | Cancel requests during shutdown | Aleksey Kladov | 2020-01-24 | 1 | -1/+1 |
| | |||||
* | Remove RWLock from check watcher. | Emil Lauridsen | 2020-01-23 | 3 | -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. | ||||
* | Update crates | kjeremy | 2020-01-22 | 1 | -1/+1 |
| | |||||
* | Minimize visibility | Aleksey Kladov | 2020-01-16 | 3 | -6/+12 |
| | |||||
* | itertools::Either -> either::Either | Kirill Bulatov | 2020-01-15 | 2 | -2/+2 |
| | |||||
* | Apply the api design suggestions | Kirill Bulatov | 2020-01-15 | 2 | -10/+19 |
| | |||||
* | Another attempt to add multiple edits | Kirill Bulatov | 2020-01-15 | 1 | -4/+8 |
| | |||||
* | Extract check task handling into function | Emil Lauridsen | 2020-01-15 | 1 | -47/+56 |
| | |||||
* | Manage check state updates in main_loop to reduce lock contention | Emil Lauridsen | 2020-01-15 | 2 | -5/+29 |
| | |||||
* | lsp-types 0.69.0 | Jeremy Kolb | 2020-01-15 | 1 | -1/+1 |
| | | | | Stabilizes most proposed features | ||||
* | Merge #2843 | bors[bot] | 2020-01-15 | 2 | -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 calls | imtsuki | 2020-01-14 | 2 | -0/+2 |
| | | | | | | | | Signed-off-by: imtsuki <[email protected]> | ||||
* | | Tweak add_custom_impl | Jeremy Kolb | 2020-01-14 | 1 | -0/+1 |
|/ | |||||
* | Log client info if present | kjeremy | 2020-01-13 | 1 | -0/+4 |
| | |||||
* | Schedule check update regardless of notification setting | Emil Lauridsen | 2020-01-13 | 1 | -1/+1 |
| | |||||
* | Defer cargo check until after workspace load | Emil Lauridsen | 2020-01-13 | 1 | -0/+1 |
| | |||||
* | Report macro calls as functions | Jeremy Kolb | 2020-01-12 | 1 | -0/+1 |
| | |||||
* | Merge #2791 | bors[bot] | 2020-01-11 | 1 | -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 mut | Emil Lauridsen | 2020-01-11 | 1 | -1/+1 |
| | | |||||
| * | Disable cargo checking in workspaces with no cargo projects | Emil Lauridsen | 2020-01-11 | 1 | -14/+14 |
| | | |||||
| * | Address nit | Emil Lauridsen | 2020-01-10 | 1 | -1/+1 |
| | | |||||
| * | Slightly more robust cargo watcher root search | Emil Lauridsen | 2020-01-10 | 1 | -3/+15 |
| | | |||||
* | | Fix Write being sent down the wire. | kjeremy | 2020-01-10 | 1 | -3/+3 |
| | | | | | | | | Not sure what the deal is here but it wasn't sending Write. | ||||
* | | Basic DocumentHighlightKind support for assignments | Jeremy Kolb | 2020-01-10 | 2 | -11/+37 |
|/ | |||||
* | Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggle | Aleksey Kladov | 2020-01-09 | 1 | -17/+22 |
|\ | | | | | Flag to hide cargo.toml not found error | ||||
| * | Use downcasting for CargoTomlNotFoundError | Wilco Kusee | 2020-01-08 | 1 | -2/+2 |
| | | |||||
| * | Allow disabling Cargo.toml not found error | Wilco Kusee | 2020-01-03 | 1 | -17/+22 |
| | | |||||
* | | Implement proposed CallHierarchy feature | Jeremy Kolb | 2020-01-08 | 5 | -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 StructLiteral | Mikhail Modin | 2020-01-08 | 1 | -6/+9 |
| | | |||||
* | | Fix back compat | Aleksey Kladov | 2020-01-07 | 1 | -0/+1 |
|/ | |||||
* | Update dependencies | Jeremy Kolb | 2020-01-01 | 2 | -1/+2 |
| | |||||
* | Retry inlay hints on content modified error | Aleksey Kladov | 2019-12-30 | 1 | -10/+5 |
| | |||||
* | Lowercase drive letters when getting paths from cargo check | Emil Lauridsen | 2019-12-29 | 1 | -61/+3 |
| | |||||
* | Don't finish main cargo watch thread when subprocess finishes. | Emil Lauridsen | 2019-12-27 | 1 | -1/+4 |
| | |||||
* | Move cargo watch functionality to separate crate | Emil Lauridsen | 2019-12-27 | 11 | -1688/+12 |
| | |||||
* | Keep VSCode config mostly backwards compatible | Emil Lauridsen | 2019-12-25 | 4 | -49/+31 |
| | |||||
* | Some documentatioN | Emil Lauridsen | 2019-12-25 | 1 | -0/+13 |
| | |||||
* | Actually respect disabling cargo check functionality | Emil Lauridsen | 2019-12-25 | 1 | -3/+19 |
| | |||||
* | Re-format ra_lsp_server changes | Emil Lauridsen | 2019-12-25 | 3 | -7/+7 |
| |