Page 1 of 1

Using Eclipse hotkeys in Espressif IDE

Posted: Fri Mar 14, 2025 5:19 pm
by justinmreina
Hi, in Eclipse I have loved the traditional hotkeys and I use them a lot. Here are two of my favorites -

Hotkey Examples:
  • Ctrl+'/' to toggle a comment in the C/C++ editor
  • F11 to launch a Debug session
I see these options setup as expected in Preferences-> General -> Keys. I also, ALMOST, can get Toggle Comments working -

Toggle Comments:
  • Ctrl + '/' (doesn't work)
  • Ctrl + '7' (works!)
  • Ctrl + Shift + 'C' (works!)
Open Questions:
  • How can we get Ctrl + '/' here to work for toggling comments?
  • How can we get F11 to launch a Debug session?
Are these hotkeys possible with Espressif IDE?

Re: Using Eclipse hotkeys in Espressif IDE

Posted: Mon Mar 17, 2025 11:54 am
by ahsrabrifat
Eclipse sometimes has issues with different keyboard layouts.If you’re using a non-US keyboard, Eclipse might not recognize / properly.
Try switching your keyboard layout to English (US) and test again.

Re: Using Eclipse hotkeys in Espressif IDE

Posted: Fri May 09, 2025 10:39 am
by ohmycat
1. Go Window -> Preferences -> General -> Keys
2. type Comment in the search bar.
3. Find Toggle Line Comment, Ctrl+7
4. Copy that Command
5. In the new command add Ctrl+/ and press Apply
6. If you have numpad - copy again and add Ctrl+Numpad_Divide shortcut and press Apply
...
7.Profit

Re: Using Eclipse hotkeys in Espressif IDE

Posted: Sun May 18, 2025 2:18 pm
by justinmreina
Excellent @ohmycat, I had no idea! This was a simple solution and I appreciate the detail you share 😎

Here was the fix I used, see attached -