I had the old IDE set up to open a new sketch that I had written. I can’t seem to find a way to change the default new sketch.
Also, I have all of my libraries on a cloud drive so I can use them from multiple computers. The option to change the libraries location seems to be missing or I can’t find it because I’m old and can’t see. LOL
The sketch is defined by the code that looks something like this:
await (0, util_1.promisify)(fs.writeFile)(sketchFile, `void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
`, { encoding: 'utf8' });
return this.loadSketch(node_1.FileUri.create(sketchDir).toString());