1

I'm using Version: 2.0.3 - Date: 2022年12月05日T09:30:25.33 on Windows 10 Pro. Installed under Local user - not for all users.

When I try and open a ino file (either double clicking on a ino file - or file->Open) - it spawns a new window - but then I just see the standard sketch with an empty setup() and loop()

I've uninstalled and re-installed both for my own users and all. But still, it does the same thing. I'm having to open all my sketches in notepad++ and then save them in whatever temp Arduino file it creates. Its hellishly annoying

Juraj
18.3k4 gold badges31 silver badges49 bronze badges
asked Feb 20, 2023 at 10:46
6
  • 2.0.3 may be broken ... try another version Commented Feb 20, 2023 at 12:39
  • Hmm. happening on 2.0.2 too Commented Feb 20, 2023 at 16:08
  • And if you run it as "Administrator" ? Commented Feb 20, 2023 at 17:12
  • 1
    Thanks @MatsK - I think its a bug due to my dodgy filesystem on windows.. I see this in the output 2023年02月21日T11:22:21.224Z sketches-service WARN Warning! The request sketch path was different than the response sketch path from the CLI. This could be a potential bug. Request: <\\ace-svr02\Users$\wwade\Documents\GitHub\X80\firmware\x80Tester\x80Tester.ino>, response: <\\ace-svr02\Users$\wwade\Documents\GitHub\X80\firmware\x80Tester>. Commented Feb 21, 2023 at 11:24
  • 1
    If you try to open a sketch from a shared drive on Windows, it does not work. See the bug here. When opening a sketch fails, IDE returns to a new temp sketch. That's why you see void setup(){} void loop(){}. Commented Feb 24, 2023 at 15:25

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.