Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename folder | Aleksey Kladov | 2020-02-18 | 1 | -889/+0 |
| | |||||
* | Rename the binary to rust-analyzer | Aleksey Kladov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Fully document ra_lsp_server | Aleksey Kladov | 2020-02-18 | 1 | -2/+2 |
| | |||||
* | Merge ra_vfs_glob and ra_lsp_server | Aleksey Kladov | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | Merge #3099 | bors[bot] | 2020-02-17 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 replace | Mikhail Modin | 2020-02-14 | 1 | -0/+1 |
| | | |||||
* | | Add arguments to rustfmt | Ilya Titkov | 2020-02-17 | 1 | -0/+1 |
|/ | |||||
* | to_string_lossy() -> display() | Emil Lauridsen | 2020-02-07 | 1 | -4/+1 |
| | |||||
* | Don't crash when recieving unkown file for cargo diagnostic. | Emil Lauridsen | 2020-02-07 | 1 | -6/+10 |
| | |||||
* | Rework how we send diagnostics to client. | Emil Lauridsen | 2020-02-03 | 1 | -36/+40 |
| | | | | | | | | | | | | 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 | ||||
* | 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 | 1 | -0/+19 |
| | |||||
* | Use default threadpool size | Aleksey Kladov | 2020-01-25 | 1 | -5/+3 |
| | |||||
* | Cancel requests during shutdown | Aleksey Kladov | 2020-01-24 | 1 | -1/+1 |
| | |||||
* | Remove RWLock from check watcher. | Emil Lauridsen | 2020-01-23 | 1 | -7/+7 |
| | | | | | | | | | | | | | | @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. | ||||
* | 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 | 1 | -2/+26 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+3 |
|/ | | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts | ||||
* | Retry inlay hints on content modified error | Aleksey Kladov | 2019-12-30 | 1 | -10/+5 |
| | |||||
* | 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 | 1 | -5/+7 |
| | |||||
* | Keep VSCode config mostly backwards compatible | Emil Lauridsen | 2019-12-25 | 1 | -3/+4 |
| | |||||
* | Re-implement status display using LSP 3.15 progress event | Emil Lauridsen | 2019-12-25 | 1 | -0/+8 |
| | |||||
* | Configuration plumbing for cargo watcher | Emil Lauridsen | 2019-12-25 | 1 | -0/+3 |
| | |||||
* | Initial implementation of cargo check watching | Emil Lauridsen | 2019-12-25 | 1 | -1/+26 |
| | |||||
* | Don't fire no-op changes after files are saved to disk | Aleksey Kladov | 2019-12-22 | 1 | -4/+6 |
| | |||||
* | Add some module docs | Jeremy Kolb | 2019-12-21 | 1 | -1/+2 |
| | |||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Support setting cargo features | oxalica | 2019-12-13 | 1 | -0/+1 |
| | |||||
* | Revert "Revert "Support LSP 3.15"" | Aleksey Kladov | 2019-12-11 | 1 | -1/+2 |
| | | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f. | ||||
* | Revert "Support LSP 3.15" | Aleksey Kladov | 2019-12-11 | 1 | -2/+1 |
| | | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1. | ||||
* | Support LSP 3.15 | Jeremy Kolb | 2019-12-11 | 1 | -1/+2 |
| | | | | This merely upgrades our protocol support. It does not add any of the new features. | ||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 1 | -0/+1 |
|\ | | | | | Add fancy truncation of type hints. | ||||
| * | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints. | ||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 1 | -0/+1 |
|/ | |||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | don't die if a sync task panics | Aleksey Kladov | 2019-10-24 | 1 | -6/+10 |
| | |||||
* | fixup folding ranges for "lineFoldingOnly" clients #2033 | Alex Zatelepin | 2019-10-21 | 1 | -8/+16 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | don't deadlock on shutdown | Aleksey Kladov | 2019-09-06 | 1 | -2/+2 |
| | | | | | | | Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775 |