Reputation: 2847
I have a project with some php and html files. URL for this project, for exmaple, - mysite.com
I need to create a subdomain for content, that will be moved to CDN: assets.mysite.com
Now, during development time, all files for subdomain are stored in a subfolder of my project /home/user/phpstormprojects/mysite/assets
In my html/php files I need to specify full path to my assets
html://assets.mysite.com/mybest.png
Of cource I want autocompletion and other features to work well.
So I need to set up phpstorm smth like "assets.mysite.com" = "/home/user/phpstormprojects/mysite/assets"
Could I do it?
Upvotes: 1
Views: 504
Reputation: 26
I am using PhpStorm 7.1.3
Put whatever directories you want inside it. PhpStorm will rename all references to them in your code.
Upvotes: 1