I just tried IDE2 for the first time and the way it handles the tab key is a total nightmare, I can't work out why it does what it does, and half the time it does something that messes up my text. e.g the cursor jumps back to the start of the next line. The way the tab key worked in IDE1 was fine. This is horrible. I think I'll revert to using IDE1.
2 Likes
Hi @njlondon . Thanks for taking the time to give the Arduino IDE 2.0.0 release candidate a try and for sharing your feedback.
I'm sorry to hear the IDE was not working for you. Was it this bug?
opened 09:50AM - 06 Jul 21 UTC
topic: code
type: imperfection
### Describe the problem
While editing, the cursor sometimes randomly jumps t… o the beginning of a new line
### To reproduce
1. Edit sketch
2. Usually when typing a new line, cursor will jump to beginning of next line
3. Seems to be related to auto-indent with tabs
### Expected behavior
The cursor should not jump around and stay where I am typing
### Arduino IDE version
2.0.0-beta.7
### Operating system
macOS
### Operating system version
Big Sur
### Additional context
Additional reports:
- https://github.com/arduino/arduino-ide/issues/1669
- https://github.com/arduino/arduino-ide/issues/1534
- https://github.com/arduino/arduino-ide/issues/1364
- https://github.com/arduino/arduino-ide/issues/476
- https://github.com/arduino/arduino-ide/issues/810#issuecomment-1030400240
- https://forum.arduino.cc/t/cursor-jumping-problem/1023535
- https://forum.arduino.cc/t/ide-2-unwanted-cursor-movement/1060945
- https://forum.arduino.cc/t/arduino-ide-2-0-0-beta-12-weird-auto-newlines/920733
- https://forum.arduino.cc/t/misunderstood-ide-behaviour/1053246
- https://forum.arduino.cc/t/cursor-sometimes-moves-to-the-next-line-on-its-own/1035617
- https://forum.arduino.cc/t/cursor-jumps-to-left-of-page/1033841
- https://forum.arduino.cc/t/just-tried-ide2-for-first-time-tab-key-is-a-nightmare/990842
- https://forum.arduino.cc/t/editor-an-unsolvable-problem/989876
- https://forum.arduino.cc/t/autosave-messes-with-cursor-position/1046625
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
There is a nice screencast that clearly shows what it looks like at the link in this comment:
opened 01:33AM - 14 Aug 21 UTC
closed 02:54PM - 24 Oct 21 UTC
conclusion: duplicate
topic: code
type: imperfection
**Describe the bug**
A clear and concise description of what the bug is.
**T… o Reproduce**
Steps to reproduce the behavior:
1. Go to some projeto, press return in some line. If you don't click on any key in (I think it is 1 second), the cursor will go to the first character. Then, if you press some key (e.g: key 'F'), the cursor will jump to the next line.
It is super annoying to use the IDE in this way, cuz every time we want press return, we want to make sure to press a key before 1s, or the error is going to happen.
**Expected behavior**
A normal return. Go to the next line.
**Screenshots**
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/53904508/129430568-e40a861c-c41e-4cc8-aacd-48958ccf6a7e.mp4
**Desktop (please complete the following information):**
- OS: [Ubuntu 21.04]
- Version: [2.0.0 beta.10]
**Additional context**
Intel notebook; the problem persists on every project. restart computer didn't work.
system
Closed
November 9, 2022, 11:45am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.