how to create .css file in a phpstrom

Hi
when I right click on the project and then select new, there is not any option for .css file. how can I create css file?

6 comments
Comment actions Permalink

Hi there,

1) You can always use "New | File" and provide exact name (inlcuding extension) -- this will create an empty file.

2) Use "New | Stylesheet" and choose correct type there (CSS/LESS/etc) -- file extension is not required in such case

0
Comment actions Permalink

thanks.
by using first suggention I created a css file.
but  when I want to try second one and I choose "new" there is only "xslt stylesheet" and there is not option for creating css file. I attatched the picture.



Attachment(s):
Untitled1.png
0
Comment actions Permalink

What's your IDE version?

0
Comment actions Permalink

phpstrom 7.1.3

0
Comment actions Permalink

Yeah -- that #2 is available since v8 only.


0

Please sign in to leave a comment.