ViperIDE
ViperIDE copied to clipboard
Reworking the board connection mechanism
I think of reworking the board connection mechanism:
- Upon connection verify if user code is running (send
Enter, see if REPL responds)- If REPL responds, automatically load system info and FS structure
- If no REPL responce, check if user have selected the
Interrupt Running Codesetting- If no interruption is needed, stay in Terminal mode, disable FS and Editor temporarily until the code exits or is interrupted by the developer
- If interrupting is needed, interrupt code, load FS contents
Also, I think auto-restart setting would be useful, that would soft-reset board when:
- initial connection interrupted the app execution
- user saves any file
But before that, I want to play a bit with aiorepl: https://github.com/vshymanskyy/ViperIDE/issues/30
👉 feedback is welcome 👈
I think this is the right thing to do - I love auto connecting and smart IDEs , But not if they break into the application running on my MCU without asking. personally I would prefer to have
- [ ] Interrupt running code ( Default off)