mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Auto merge of #17923 - basvandriel:feature/build-before-restart-debug, r=Veykril
Building before a debugging session was restarted # Background Resolves #17901. It adds support for rebuilding after debugging a test was restarted. This means the test doesn't have to be aborted and manually re-ran again. # How this is tested First, all the Visual Studio Code extensions are loaded into an Extension Host window. Then, a sample test like below was ran and restarted to see if it was correctly rebuild. ```rust #[test] fn test_x() { assert_eq!("1.1.1", "1.1.0"); } ```
This commit is contained in:
commit
62649a57be
4 changed files with 63 additions and 1 deletions
|
@ -299,6 +299,7 @@ export class Config {
|
|||
engine: this.get<string>("debug.engine"),
|
||||
engineSettings: this.get<object>("debug.engineSettings") ?? {},
|
||||
openDebugPane: this.get<boolean>("debug.openDebugPane"),
|
||||
buildBeforeRestart: this.get<boolean>("debug.buildBeforeRestart"),
|
||||
sourceFileMap: sourceFileMap,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue