@@ -317,6 +317,8 @@ export class ArduinoApp {
317317 return success ;
318318 }
319319
320+ // IS-REMOVE: to be removed completely when IntelliSense implementation is merged
321+ /*
320322 public tryToUpdateIncludePaths() {
321323 const configFilePath = path.join(ArduinoWorkspace.rootPath, constants.CPP_CONFIG_FILE);
322324 if (!fs.existsSync(configFilePath)) {
@@ -358,6 +360,7 @@ export class ArduinoApp {
358360 configuration.defines.push(define);
359361 }
360362 }
363+ */
361364 // remove all unexisting paths
362365 // concern mistake removal, comment temporary
363366 // for (let pathIndex = 0; pathIndex < configuration.includePath.length; pathIndex++) {
@@ -385,12 +388,15 @@ export class ArduinoApp {
385388 // pathIndex--;
386389 // }
387390 // }
388-
391+ /*
389392 if (cppConfigFileUpdated) {
390393 fs.writeFileSync(configFilePath, JSON.stringify(cppConfig, null, 4));
391394 }
392395 }
396+ */
393397
398+ // IS-REMOVE: to be removed completely when IntelliSense implementation is merged
399+ /*
394400 // Add selected library path to the intellisense search path.
395401 public addLibPath(libraryPath: string) {
396402 let libPaths;
@@ -466,7 +472,7 @@ export class ArduinoApp {
466472
467473 fs.writeFileSync(configFilePath, JSON.stringify(deviceContext, null, 4));
468474 }
469-
475+ */
470476 // Include the *.h header files from selected library to the arduino sketch.
471477 public async includeLibrary ( libraryPath : string ) {
472478 if ( ! ArduinoWorkspace . rootPath ) {
@@ -610,6 +616,8 @@ export class ArduinoApp {
610616 arduinoChannel . end ( `Removed library - ${ libName } ${ os . EOL } ` ) ;
611617 }
612618
619+ // IS-REMOVE: to be removed completely when IntelliSense implementation is merged
620+ /*
613621 public getDefaultPackageLibPaths(): string[] {
614622 const result = [];
615623 const boardDescriptor = this._boardManager.currentBoard;
@@ -644,8 +652,10 @@ export class ArduinoApp {
644652 result.push(path.normalize(path.join(toolPath, "**")));
645653 }
646654 return result;
647- }
655+ }*/
648656
657+ // IS-REMOVE: to be removed completely when IntelliSense implementation is merged
658+ /*
649659 public getDefaultForcedIncludeFiles(): string[] {
650660 const result = [];
651661 const boardDescriptor = this._boardManager.currentBoard;
@@ -665,6 +675,7 @@ export class ArduinoApp {
665675 result.push("USBCON");
666676 return result;
667677 }
678+ */
668679
669680 public openExample ( example ) {
670681 function tmpName ( name ) {
@@ -705,6 +716,7 @@ export class ArduinoApp {
705716 const dc = DeviceContext . getInstance ( ) ;
706717 const arduinoJson = {
707718 sketch : sketchFile ,
719+ // TODO: COM1 is Windows specific - what about OSX and Linux users?
708720 port : dc . port || "COM1" ,
709721 board : dc . board ,
710722 configuration : dc . configuration ,
@@ -713,6 +725,8 @@ export class ArduinoApp {
713725 util . mkdirRecursivelySync ( path . dirname ( arduinoConfigFilePath ) ) ;
714726 fs . writeFileSync ( arduinoConfigFilePath , JSON . stringify ( arduinoJson , null , 4 ) ) ;
715727
728+ // IS-REMOVE: to be removed completely when IntelliSense implementation is merged
729+ /*
716730 // Generate cpptools intellisense config
717731 const cppConfigFilePath = path.join(destExample, constants.CPP_CONFIG_FILE);
718732
@@ -749,6 +763,7 @@ export class ArduinoApp {
749763 };
750764 util.mkdirRecursivelySync(path.dirname(cppConfigFilePath));
751765 fs.writeFileSync(cppConfigFilePath, JSON.stringify(cppConfig, null, 4));
766+ */
752767 }
753768
754769 // Step 3: Open the arduino project at a new vscode window.
0 commit comments