How to create a Resource Root folder?

已回答

According to this, Resource Root folders are:

[...] are intended for resource files in your application (images, style sheets, and so on). By assigning a folder to this category, you tell PyCharm that files in it and in its subfolders can be referenced relative to this folder instead of specifying full paths to them.

My question is how to mark a folder as a Resource Root in PyCharm? When I right click the folder I want, and I go to Mark Directory as, I can see only "Sources Root" and "Excluded".

1

Do you use PyCharm Professional?
This content root type is not available in PyCharm Community. We'll update the docs to state it clearly https://youtrack.jetbrains.com/issue/PY-46420

0
Avatar
Permanently deleted user

PHPStrom working Rosorce root for goto definition but
Intellij not working.
<=root>/sub/img.jpg
Where is it?????

0

请先登录再写评论。