Add navigate back and forward on the top bar

Answered

CLion has a back and forward navigation using ctrl+alt+left and ctrl+alt+right, but this requires using two hands. Usually when I am navigating code I am holding ctrl to click to follow a call hierarchy or going through definitions, so I need either something that I can use only the mouse or only the left hand.

Is there a way to simply fixate the buttons for back and forward from the navigate menu to the toolbar on top? This way I could just click the buttons. I really like CLion, but I need to jump around multiple different IDEs to verify I didn't broke anyone's workflow when I am coding, so memorizing CLion shortcuts while keeping all others in mind is hard, so I would appreciate buttons on top.

6
20 comments

Hello!

In the main menu select View > Appearance and enable Toolbar. It has the back/forward buttons. Is that what you're looking for?

21

Where's it in the new UI(beta)?

4

Oleksandr, you can add actions to the toolbar in `File | Settings | Appearance & Behavior | Menus and Toolbars`.

2

Anna Falevskaya so what after that? Enabled the Toolbar but it doesn't show the arrows anymore

0

Cesare in the standard UI enabling the Toolbar adds the back/forward buttons:

2

Thanks  for the answer Anna Falevskaya, but I was looking for this in the new beta UI and same did Oleksandr. :)

0

Cesare in the new UI you need to go to `File | Settings | Appearance & Behavior | Menus and Toolbars` and add the navigation actions (Main Menu > Navigate > Back and Forward ) to `Main Toolbar Right` or `Main Toolbar Left`. See https://www.jetbrains.com/help/clion/customize-actions-menus-and-toolbars.html#customize-menus-and-toolbars

12

Anna Falevskaya this works, thanks! :) 

1

Why is this so hidden. This is an important must have feature.

6

why is it removed in new intellij community version is there any alternative

0

Maitry Lohani, to add the back/forward buttons to the toolbar in the new UI, please right-click on the toolbar, select “Add to Main Toolbar”, and select “Back / Forward”:

8

How can we get ui icons of pull,push and other git commands like we used to have in older itellij version

0

Maitry Lohani you can do it the same way: right-click on the toolbar, select “Add to Main Toolbar”, and select the necessary VCS-related icons.

0

In 2024.2.3 Ultimate edition, you can enable back and front navigation button in toolbox by following below steps. 

  1. Go to View → Apperance → Enable Toolbar. 
  2. This will enable the Toolbar on top of IDE by default, now right click on the Toolbar and go to ‘Add to Main Toolbar’ 
  3. Then select Back and Front. 

This should enable back and front navigation in the Toolbar. 

 

2

Thanks Bashkwin . It is straightforward 

0

Step 1: Right click on the main toolbar

 

step 2: Add Action to Main Toolbar

Step 3: select ← Back / Forward

2

This was so annoying & difficult to figure out how to get back and how to get it back in the correct positioning that I preferred (same as 2024.x). Would very much prefer this be out of the box with the idea with an easy right click → remove option for those who don't want it.

0

Please sign in to leave a comment.