Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij doesn't show run button

Tags:

Intellij doesn't show run button even if that file is in src folder.

no run button

Maybe do you know what to do?

P. s. It's strange because that file used to show run button but after recloning git repository it just doesn't show any more.

like image 740
Ugnius Malūkas Avatar asked May 06 '16 21:05

Ugnius Malūkas


People also ask

Why Run button is not showing in IntelliJ?

Right click on main toolbar (where the button disappeared) > Customize Menus and Toolbars... > select Run/Debug > Restore Run/Debug.

How do I show the Run button in IntelliJ?

Show running processesFrom the main menu, select Run | Show Running List. In the top-right corner of the editor, IntelliJ IDEA shows a list with all active applications.

How do I enable Run tab in IntelliJ?

IntelliJ IDEA enables you to split the active Run tool window by invoking specific actions from the context menu. You can right-click the desired tab and select one of the split options: Split and Move Right or Split and Move Down. Another way to do this is by dragging and dropping the desired tab.

How do I fix run configuration in IntelliJ?

Open the Run/Debug Configuration dialog in one of the following ways: Select Run | Edit Configurations from the main menu. With the Navigation bar visible (View | Appearance | Navigation Bar), choose Edit Configurations from the run/debug configuration selector. Press Alt+Shift+F10 and then press 0 .


1 Answers

Right click on src directory and select option Mark Directory As > Sources Root.

like image 62
gevorg Avatar answered Sep 22 '22 15:09

gevorg