-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
Hi,
I'm having problems with the Arduino IDE:
- When I open the IDE through the start menu, the IDE works normally,
- But after opening through the sketch (* .ino file), when using the shortcut "Ctrl+/", the IDE adds an additional bar.
The additional bar is inserted wherever the cursor is, if a block is selected to be commented, then the additional bar replaces the entire block.
Examples of the problem:
Initial code:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Commenting with cursor before "void":
///void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Commenting with cursor before "setup":
//void /setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Commenting the "setup" routine block:
///
void loop() {
// put your main code here, to run repeatedly:
}
O.S.: Linux Xubuntu:
$cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal