'How to remove new project sources added in Intellij? (Version 2021.3)

So I added new project sources in an existing project in intellij. Later, I was unable to remove it from the project view and hence have to start a new project.

Before Adding new project sources

Action asking to add file to project sources

Final result after adding ../app/web

I wanted to remove the ../app/web from project view. I edited the .blazeproject file and it removed the contents of the ../app/web directory but the empty ../app/web directory was still visible in the project view.



Solution 1:[1]

Yopu can unlink the module from the project in "Project Structure" dialog:

See the related documentation page: https://www.jetbrains.com/help/idea/project-settings-and-structure.html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Konstantin Annikov