File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ The underlying engine makes sure that model is computed lazily (on-demand) and c
4242` crates/rust-analyzer/src/bin/main.rs ` contains the main function which spawns LSP.
4343This is * the* entry point, but it front-loads a lot of complexity, so it's fine to just skim through it.
4444
45- ` crates/rust-analyzer/src/handlers.rs ` implements all LSP requests and is a great place to start if you are already familiar with LSP.
45+ ` crates/rust-analyzer/src/handlers/requests .rs ` implements all LSP requests and is a great place to start if you are already familiar with LSP.
4646
4747` Analysis ` and ` AnalysisHost ` types define the main API for consumers of IDE services.
4848
Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ async function getDebugConfiguration(
173173 if ( debugConfig . name === "run binary" ) {
174174 // The LSP side: crates\rust-analyzer\src\main_loop\handlers.rs,
175175 // fn to_lsp_runnable(...) with RunnableKind::Bin
176+ // FIXME: Neither crates\rust-analyzer\src\main_loop\handlers.rs
177+ // nor to_lsp_runnable exist anymore
176178 debugConfig . name = `run ${ path . basename ( executable ) } ` ;
177179 }
178180
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export async function selectRunnable(
3636
3737 if ( runnables . length === 0 ) {
3838 // it is the debug case, run always has at least 'cargo check ...'
39- // see crates\rust-analyzer\src\main_loop\ handlers.rs, handle_runnables
39+ // see crates\rust-analyzer\src\handlers\request .rs, handle_runnables
4040 await vscode . window . showErrorMessage ( "There's no debug target!" ) ;
4141 quickPick . dispose ( ) ;
4242 return ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class Cargo {
2929 static artifactSpec ( cargoArgs : string [ ] , executableArgs ?: string [ ] ) : ArtifactSpec {
3030 cargoArgs = [ ...cargoArgs , "--message-format=json" ] ;
3131 // arguments for a runnable from the quick pick should be updated.
32- // see crates\rust-analyzer\src\main_loop\ handlers.rs, handle_code_lens
32+ // see crates\rust-analyzer\src\handlers\request .rs, handle_code_lens
3333 switch ( cargoArgs [ 0 ] ) {
3434 case "run" :
3535 cargoArgs [ 0 ] = "build" ;
You can’t perform that action at this time.
0 commit comments