Eclipse shortcuts you should know as a software developer

Daniel Saffer

15/02/2021

Eclipse is an open-source development environment that supports multiple programming languages. More and more microcontroller manufacturers are using the IDE to provide a free development environment with a pre-installed toolchain. Examples include STM32CubeIDE, Simplicity Studio, and others.

Shortcuts in Eclipse verwenden

Eclipse offers keyboard shortcuts for common use cases that can make development much easier. This blog summarizes the most important shortcuts. It is primarily aimed at embedded software developers who use the C programming language. To display all shortcuts in Eclipse, you can use the keyboard shortcut Ctrl + Shift + L This article is not case sensitive. You do not need to worry about the fact that, for example, the previous command uses a capital letter L is entered.

directory

Edit

Edit text

command keyboard shortcut
Save Ctrl + S
Save all changes Ctrl + Shift + S
Undo Ctrl + Z
Repeat Ctrl + Y
Copy Ctrl + C
Insert Ctrl + V
Cut out Ctrl + X
Select all Ctrl + A
Select element Shift + Old +
Skip an element Ctrl + ⇦ / ⇨
Scroll up or scroll down Ctrl + ⇧ / ⇩
Jump to bracket start or end Ctrl + Shift + P
Copy the selected line to the next line Ctrl + Old +
Copy the selected line to the previous line Ctrl + Old +
Move the selected row to the next row Old +
Move the selected row to the previous row Old +
Delete the selected row Ctrl + D
Delete from cursor position to end of line Ctrl + Shift + Delete
Delete the next element Ctrl + Delete
Delete the previous item Ctrl + Backspace
Insert a blank line before the selected line Ctrl + Shift + Enter ↲
Insert a blank row after the selected row Shift + Enter ↲
Merge the selected and next row Ctrl + Shift + J

Edit code

This section will show commands specifically for code editing. Of course, the previous chapter also applies to this.

command keyboard shortcut
Jump to declaration F3
Quickfix Ctrl + 1
Complete code using the wizard Ctrl + Spaces
Show all variables and functions of the current unit Ctrl + O
Automatic formatting of the source code Ctrl + Shift + F
Automatic adjustment of indentation (e.g. formats tabs and spaces) Ctrl + I
Maximize the editor Ctrl + M
Insert line break at the end of the line Shift + Enter ↲
Comment / Undo comment Ctrl + /
Comment / Undo comment with block comment Ctrl + Shift + /
command keyboard shortcut
Jump to line Ctrl + L
Jump to previous/next function Ctrl + Shift + ⇧ / ⇩
Open a dialog with the currently open editors Ctrl + E
Go to the last opened editor Ctrl +
Go to the previously opened editor Ctrl +
Go to the last code change Ctrl + Q
Go to the previous tab editor Ctrl + Image▲
Go to the next tab editor Ctrl + Image▼
Switch between views Ctrl + F7
Switch between *.c and corresponding *.h file Ctrl + tab
Close the current window Ctrl + W
Close all windows Ctrl + Shift + W
Split window horizontally Ctrl + Shift +
Switch between perspectives Ctrl + F8

Restructure

command keyboard shortcut
Rename function or variable globally Old + Shift + R
Rename function or variable locally Ctrl + 2
Open restructuring menu Old + Shift + T
Automatically organize includes Ctrl + Shift + O

Search and Replace

command keyboard shortcut
Open Search and Replace Ctrl + F
Jump to the next found element Ctrl + K
Jump to the previous found element Ctrl + Shift + K
Open C/C++ search Ctrl + H
Quick search of the selected element in the local unit Ctrl + G
Quick search of the selected item in the workspace Ctrl + Old + H

Debug

command keyboard shortcut
Build all projects in the workspace Ctrl + B
Start debugging F11
Set or reset breakpoint Ctrl + B
Skip all breakpoints Ctrl + Old + B
Step Into F5
Step Over F6
Step Return F7
Start F8
Cancel debugging Ctrl + F2

If you have any further questions or are missing a shortcut, please leave us a comment!


Written by Daniel Saffer

Daniel Saffer is Chief Technical Officer (CTO) of MEDtech Ingenieur GmbH. In this role, he is responsible for the company's technical strategy and supports customer projects in medical technology. His focus is on the further development of safety-critical software solutions, regulatory requirements, and innovative technologies for the industry.


More articles

  • 09/09/2025
  • General, Software

In previous blog posts, I have introduced two essential components of a simple and universally applicable software architecture: events with dispatchers, listeners, and data pools. These already allow for many simple use cases ...

Read more
  • 12/11/2024
  • General, Software, Testing, Tools

In safety-critical software projects, software quality is paramount. Especially for Class C software, which must be certified according to strict standards such as IEC 62304 (medical technology), it is essential that ...

Read more
  • 08/08/2024
  • General, Electrical Stimulation, Software, Testing

Nowadays, apps in the healthcare sector are very important. Apps that can read and process data from medical sensors are particularly useful. Flutter is an open-source framework from Google that is excellent for ...

Read more
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.