@@ -92,7 +92,6 @@ import {
9292} from "./utils/rustUtil.mjs" ;
9393import State from "./state.mjs" ;
9494import { NewRustProjectPanel } from "./webview/newRustProjectPanel.mjs" ;
95- import GetRTTDecoderPathCommand from "./commands/rttDecoder.mjs" ;
9695import { OPENOCD_VERSION } from "./utils/sharedConstants.mjs" ;
9796
9897export async function activate ( context : ExtensionContext ) : Promise < void > {
@@ -145,7 +144,6 @@ export async function activate(context: ExtensionContext): Promise<void> {
145144 new NewExampleProjectCommand ( context . extensionUri ) ,
146145 new UninstallPicoSDKCommand ( ) ,
147146 new CleanCMakeCommand ( ui ) ,
148- new GetRTTDecoderPathCommand ( context . extensionUri ) ,
149147 ] ;
150148
151149 // register all command handlers
@@ -272,11 +270,11 @@ export async function activate(context: ExtensionContext): Promise<void> {
272270 ! existsSync ( join ( workspaceFolder . uri . fsPath , ".vscode" ) ) ||
273271 ! (
274272 readFileSync ( cmakeListsFilePath )
275- . toString ( "utf-8" )
276- . includes ( CMAKE_DO_NOT_EDIT_HEADER_PREFIX ) ||
273+ . toString ( "utf-8" )
274+ . includes ( CMAKE_DO_NOT_EDIT_HEADER_PREFIX ) ||
277275 readFileSync ( cmakeListsFilePath )
278- . toString ( "utf-8" )
279- . includes ( CMAKE_DO_NOT_EDIT_HEADER_PREFIX_OLD )
276+ . toString ( "utf-8" )
277+ . includes ( CMAKE_DO_NOT_EDIT_HEADER_PREFIX_OLD )
280278 )
281279 ) {
282280 Logger . warn (
@@ -869,7 +867,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
869867 await configureCmakeNinja ( workspaceFolder . uri ) ;
870868
871869 const ws = workspaceFolder . uri . fsPath ;
872- const cMakeCachePath = join ( ws , "build" , "CMakeCache.txt" ) ;
870+ const cMakeCachePath = join ( ws , "build" , "CMakeCache.txt" ) ;
873871 const newBuildType = cmakeGetPicoVar ( cMakeCachePath , "CMAKE_BUILD_TYPE" ) ;
874872 ui . updateBuildType ( newBuildType ?? "unknown" ) ;
875873
0 commit comments