How to Mark Directory of the linked directory created by myself?
已回答
Please check this snapshot,
https://i.stack.imgur.com/oXfwp.jpg
I want to mark the `src.main.java` directory, but only get one option.
请先登录再写评论。
From the provided screenshot, I see that the root directory of your project is marked as the sources root directory, so it can contain only packages (for example, there is no option to make a new directory in there, only to make a new package). Normally, the sources root directory should be the src folder:

Could you please specify how you created the project? The fastest way to fix it could be to make a new project via the File | New | Project... wizard.