Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework how we send diagnostics to client. | Emil Lauridsen | 2020-02-03 | 1 | -5/+6 |
| | | | | | | | | | | | | 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. | ||||
* | Remove RWLock from check watcher. | Emil Lauridsen | 2020-01-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | @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 visibility | Aleksey Kladov | 2020-01-16 | 1 | -1/+5 |
| | |||||
* | Manage check state updates in main_loop to reduce lock contention | Emil Lauridsen | 2020-01-15 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Lowercase drive letters when getting paths from cargo check | Emil Lauridsen | 2019-12-29 | 1 | -61/+3 |
| | |||||
* | Move cargo watch functionality to separate crate | Emil Lauridsen | 2019-12-27 | 1 | -6/+4 |
| | |||||
* | Keep VSCode config mostly backwards compatible | Emil Lauridsen | 2019-12-25 | 1 | -3/+4 |
| | |||||
* | Re-format ra_lsp_server changes | Emil Lauridsen | 2019-12-25 | 1 | -1/+1 |
| | |||||
* | Configuration plumbing for cargo watcher | Emil Lauridsen | 2019-12-25 | 1 | -1/+4 |
| | |||||
* | Initial implementation of cargo check watching | Emil Lauridsen | 2019-12-25 | 1 | -0/+8 |
| | |||||
* | Don't fire no-op changes after files are saved to disk | Aleksey Kladov | 2019-12-22 | 1 | -3/+3 |
| | |||||
* | Add some module docs | Jeremy Kolb | 2019-12-21 | 1 | -1/+4 |
| | |||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -12/+8 |
| | |||||
* | remove unnecessary turbofish. | Omer Ben-Amram | 2019-12-15 | 1 | -2/+1 |
| | |||||
* | cfg gated tests that only work on windows. | Omer Ben-Amram | 2019-12-15 | 1 | -10/+16 |
| | |||||
* | improved path checking to consider only paths that may contain a windows drive. | Omer Ben-Amram | 2019-12-15 | 1 | -20/+44 |
| | |||||
* | move import inside cfg block | Omer Ben-Amram | 2019-12-15 | 1 | -1/+2 |
| | |||||
* | Lowercase drive letters on windows before sending to extension. | Omer Ben-Amram | 2019-12-15 | 1 | -0/+34 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | fixup folding ranges for "lineFoldingOnly" clients #2033 | Alex Zatelepin | 2019-10-21 | 1 | -0/+1 |
| | |||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -2/+6 |
| | |||||
* | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 1 | -2/+6 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -1/+6 |
| | | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph | ||||
* | add option to disable notify | Aleksey Kladov | 2019-09-06 | 1 | -2/+3 |
| | |||||
* | cleanup main loop | Aleksey Kladov | 2019-08-31 | 1 | -1/+2 |
| | |||||
* | move lsp-server to a separate repository | Aleksey Kladov | 2019-08-30 | 1 | -1/+1 |
| | |||||
* | :arrow_up: vfs | Aleksey Kladov | 2019-08-25 | 1 | -3/+7 |
| | |||||
* | implement feature flags | Aleksey Kladov | 2019-08-22 | 1 | -3/+12 |
| | |||||
* | translate \n -> \r\n on the way out | Aleksey Kladov | 2019-08-20 | 1 | -1/+5 |
| | |||||
* | allow to exclude certain files and directories | Aleksey Kladov | 2019-08-06 | 1 | -11/+13 |
| | |||||
* | introduce ra_vfs_glob crate | Aleksey Kladov | 2019-08-06 | 1 | -4/+16 |
| | | | | It manages exclusion rules for the vfs crate | ||||
* | cleanup | Aleksey Kladov | 2019-08-06 | 1 | -1/+1 |
| | |||||
* | Make Analysis api cancellable | Kirill Bulatov | 2019-07-25 | 1 | -1/+6 |
| | |||||
* | don't send LocationLink unless the client opts-in | Aleksey Kladov | 2019-07-08 | 1 | -0/+12 |
| | | | | closes #1474 | ||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -6/+4 |
| | | | | | | 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 | ||||
* | Get rid of failure: ra_lsp_server & ra_project_model | Muhammad Mominul Huque | 2019-06-14 | 1 | -6/+5 |
| | |||||
* | make LRU cache configurable | Aleksey Kladov | 2019-06-12 | 1 | -2/+6 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -17/+12 |
| | |||||
* | rename | Aleksey Kladov | 2019-06-01 | 1 | -0/+218 |