Accepted answer

for eclipse you can find the rebuild option under project > clean and then select the project you want to clean up... that's all.

eclipse clean projects selected below

this will build your project and create a new bin folder.


in case you are unable to find a file in eclipse code after pulling code from git or creating a file in intellij seperately (my case) you ca do the following

right click on 'src' folder and in the menu that appear click on the 'refresh' button


in eclipse there is an "auto build" option, which is checked by default. when it is checked, you don't need to build your project, this happens automatically. if this behaviour is unwanted, uncheck this option and click build project whenever you want.

to clean a project, select clean project. this will delete the bin folder, however if auto build is checked, it will be immediatelly regenerated.

Related Query

More Query from same tag