location of items in directories marked resources
Suppose I have a css file in a directory named cssDirectory.
(cssDirectory is just another folder in my project; (the location of this folder has no effect on the result I describe presently).
In the Project Structure view, I mark cssDirectory as a Resource. The following then happens but I can't understand why.
The css file appears in the Project view at the top level of the project. The directories marked resources do not appear.
It appears to be the intended fucntionality but the reason eludes me. For me, I find that these resource files dislocated in directory-space. I don't know where they really are. It's not a big deal once I understood how it actually works, but why is it like this?
Also, a second thing which may be a genuine bug, is this: if I don't first mark a resource folder in the Project Structure as a src folder, then as resource folder, the Project view never shows the resource folder. So in other words I find it's necessary to mark the folder first as a src, then again as a resource to get the Project view to know about it.
Note that a new folder can be created right in the Project Structure view, so it appears that the Project Structure view isn't transmitting the event properly.
Thank you!!!
Please sign in to leave a comment.
Looks like https://youtrack.jetbrains.com/issue/IDEA-190196.