aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/global_state.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippy::redudant_borrowMaan20032021-06-131-5/+5
|
* Make it opt-inJonas Schievink2021-06-031-3/+6
|
* Update salsaJonas Schievink2021-05-271-2/+2
|
* Drag detached files towards loadingKirill Bulatov2021-05-231-0/+1
|
* Ensure that only one cache priming task can run at a timeBoris-Chengbiao Zhou2021-04-301-0/+2
| | | | Fixes #8632.
* More robust status notificationsAleksey Kladov2021-04-061-17/+6
|
* Prepare for more stateless status reportingAleksey Kladov2021-04-061-10/+18
|
* internal: do not drop errors from cargo metadata/checkAleksey Kladov2021-04-061-3/+10
| | | | Work towards #3155
* internal: prepare to store OpQueue results in the queue itselfAleksey Kladov2021-04-051-2/+5
|
* Fix bitrotted module nameAleksey Kladov2021-02-161-1/+1
|
* Enable offset-encoding capabilityAleksey Kladov2021-02-161-2/+2
|
* Implement utf8 offsetsAleksey Kladov2021-02-161-2/+2
|
* Make it easy to add additional context for offset conversionAleksey Kladov2021-02-161-4/+7
|
* Fix slow tests sometimes failingFlorian Diebold2021-02-121-0/+2
| | | | | | | | | | In some situations we reloaded the workspace in the tests after having reported to be ready. There's two fixes here: 1. Add a version to the VFS config and include that version in progress reports, so that we don't think we're done prematurely; 2. Delay status transitions until after changes are applied. Otherwise the last change during loading can potentially trigger a workspace reload, if it contains interesting changes.
* Async Loading outdir and proc-macroEdwin Cheng2021-01-281-3/+9
|
* Fix progress token is already registered crashAleksey Kladov2021-01-101-0/+3
| | | | | | | | | | | | | | | After we started reporting progress when running cargo check during loading, it is possible to crash the client with two identical progress tokens. This points to a deeper issue: we might be running several cargo checks concurrently, which doesn't make sense. This commit linearizes all workspace fetches, making sure no updates are lost. As an additional touch, it also normalizes progress & result reporting, to make sure they stand in sync.
* Speed up snapshotingAleksey Kladov2021-01-061-4/+4
| | | | Config can be fairly big, no need to deep clone it frequently
* More maintainable configAleksey Kladov2021-01-061-1/+1
| | | | | | | Rather than eagerly converting JSON, we losslessly keep it as is, and change the shape of user-submitted data at the last moment. This also allows us to remove a bunch of wrong Defaults
* Introduce anchored_pathAleksey Kladov2020-12-091-3/+4
| | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* Remove dummy ProcMacroClient in favor of OptionJonas Schievink2020-12-071-2/+2
|
* Latest LSP 3.16 protocolkjeremy2020-11-161-2/+2
| | | | Pulls in https://github.com/gluon-lang/lsp-types/pull/186
* Remove more unreachable pubsAleksey Kladov2020-11-021-1/+1
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|
* Move ide::AnalysisChange -> base_db::ChangeAleksey Kladov2020-10-021-2/+2
| | | | | | This seems like a better factoring logically; ideally, clients shouldn't touch `set_` methods of the database directly. Additionally, I think this should remove the unfortunate duplication in fixture code.
* Spawn a flycheck instance per workspaceJonas Schievink2020-09-271-2/+2
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-1/+1
|
* Rename ra_db -> base_dbAleksey Kladov2020-08-131-1/+1
|
* Rename ra_project_model -> project_modelPavan Kumar Sunkara2020-08-131-1/+1
|
* Rename ra_prof -> profileAleksey Kladov2020-08-121-2/+1
|
* Return InvalidRequest if Shutdown has been requestedJeremy Kolb2020-08-101-0/+2
| | | | From the LSP 3.16 spec: "If a server receives requests after a shutdown request those requests should error with InvalidRequest."
* Address PR commentsJeremy Kolb2020-08-061-5/+2
|
* Handle semantic token deltaskjeremy2020-08-011-2/+9
|
* Add DocumentData to represent in-memory document with LSP infokjeremy2020-07-241-3/+4
|
* Store document version and pass back to the clientkjeremy2020-07-211-3/+10
|
* Don't drop flycheck messages during restartAleksey Kladov2020-07-151-1/+6
| | | | closes #5386
* Add profiling callsAleksey Kladov2020-07-101-0/+2
|
* Also reload when adding new examples, tests, etcAleksey Kladov2020-07-101-6/+15
|
* Clippy perf warningskjeremy2020-07-081-2/+1
|
* Indicate when project needs a reloadAleksey Kladov2020-07-021-0/+1
|
* Implement StatusBarAleksey Kladov2020-07-021-0/+1
|
* Better account for project reloadAleksey Kladov2020-07-011-1/+1
|
* Set corret request methodAleksey Kladov2020-06-261-6/+2
|
* Merge #5078bors[bot]2020-06-261-3/+2
|\ | | | | | | | | | | | | | | | | | | | | 5078: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * MinorAleksey Kladov2020-06-261-3/+2
| |
* | Merge #5077bors[bot]2020-06-261-6/+47
|\| | | | | | | | | | | | | | | | | | | | | 5077: Type safer requests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Type safer requestsAleksey Kladov2020-06-261-6/+47
| |
* | Merge #5075bors[bot]2020-06-261-4/+0
|\| | | | | | | | | | | | | | | | | | | | | 5075: Be more precise about flycheck status r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Move progress reporting to utilsAleksey Kladov2020-06-261-4/+0
| |
* | Merge #5076bors[bot]2020-06-261-1/+1
|\ \ | |/ |/| | | | | | | | | | | 5076: Make VFS join methods fallible r=matklad a=jonas-schievink Co-authored-by: Jonas Schievink <[email protected]>
| * Make VFS join methods fallibleJonas Schievink2020-06-261-1/+1
| |