You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Sketch '{0}' must be verified before starting a debug session. Please verify the sketch and start debugging again. Do you want to verify the sketch now?",
* Recursively deletes the sketch folder with all its content.
106
106
*/
107
107
deleteSketch(sketch: Sketch): Promise<void>;
108
+
109
+
/**
110
+
* This is the JS/TS re-implementation of [`GenBuildPath`](https://github.com/arduino/arduino-cli/blob/c0d4e4407d80aabad81142693513b3306759cfa6/arduino/sketch/sketch.go#L296-L306) of the CLI.
111
+
* Pass in a sketch and get the build temporary folder filesystem path calculated from the main sketch file location. Can be multiple ones. This method does not check the existence of the sketch.
112
+
*
113
+
* The case sensitivity of the drive letter on Windows matters when the CLI calculates the MD5 hash of the temporary build folder.
114
+
* IDE2 does not know and does not want to rely on how the CLI treats the paths: with lowercase or uppercase drive letters.
115
+
* Hence, IDE2 has to provide multiple build paths on Windows. This hack will be obsolete when the CLI can provide error codes:
Copy file name to clipboardExpand all lines: i18n/en.json
+2-1
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,8 @@
191
191
"debugWithMessage": "Debug - {0}",
192
192
"debuggingNotSupported": "Debugging is not supported by '{0}'",
193
193
"noPlatformInstalledFor": "Platform is not installed for '{0}'",
194
-
"optimizeForDebugging": "Optimize for Debugging"
194
+
"optimizeForDebugging": "Optimize for Debugging",
195
+
"sketchIsNotCompiled": "Sketch '{0}' must be verified before starting a debug session. Please verify the sketch and start debugging again. Do you want to verify the sketch now?"
0 commit comments