arduino / arduino/Arduino

Commenting code problems

Open
#5,464 1 comment 0 reactions 0 assignees View on GitHub
Component: IDE Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

I am not sure if I am the only one with the following bug:
If i try to comment code via `ctrl + /` it does comment the code and instantly hit `/` too. So if i undo the change via `ctrl + z` once I can see my commented code. I know that this worked before (possibly occured in 1.6.11 or 1.6.12)

This only works with US/UK keyboard layout (but this is another bug: https://github.com/arduino/Arduino/issues/5064 )

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the shortcut in Arduino IDE 1.x with a US or UK keyboard layout, then trace the Ctrl+/ comment handling and compare it with the reported extra slash behavior. Done means commenting code no longer inserts an additional slash and the behavior is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.