Using PhpStorm as default system editor / open single file
I just opened a tiny 10 line php script in my home directory - it started "scanning files" and I guess it was trying to index every file within my home directory (mp3s, movies, uni assignments, other unrelated php scripts, ?) because it took forever and I had to killall -9 java. Not really what I expected from the "Open File". (Maybe it should say "Open File and Create Project")
Is it currently possible to open a file in PhpStorm (just a single file) without it creating a new project?
Would love to have PhpStorm as one of the "Right Click > Open With" options within the OS file browser.
I found this request but only 6 votes http://youtrack.jetbrains.net/issue/WI-1816 . Surely more people have come across this issue? Is there another feature request I can vote for / existing forum thread that covers this issue?
Or is there a hacky work around like scripting phpstorm to launch an existing empty project and then fireing off the "open file" option?
Thanks!
Dave
请先登录再写评论。
Hello David,
Surely it skips indexing the files of unrelated/binary types, so was looking for another PHP files in the folder.
http://youtrack.jetbrains.net/issue/WI-3220
Nope. :(
IDEA platform that PhpStorm is based on does not support working without a project.
http://youtrack.jetbrains.net/issue/WI-1398
http://youtrack.jetbrains.net/issue/WI-1947
my last comment at http://devnet.jetbrains.net/message/5271223#5271223
http://devnet.jetbrains.net/message/5268753#5268753
http://devnet.jetbrains.net/message/5269067#5269067
Nothing we're aware of.
Regards,
Kirill
True!
Thanks for the links :)
If you open file not from project - you will have only code highlighting and all, see http://youtrack.jetbrains.net/issue/WI-3069. That's why this hack doesn't have any sense.
Hello David,
If IDE ever becomes unresponsive again, please take a thread dump using JDK tool: "jstack -l <pid>", or adaptj GUI alternative.
Kirill
That's quite ok with me, as I don't have those features in my current default system editor (gedit).
eg: Opening a HTML or Plain Text file to quickly adjust a typo, may not need the project-specific features of PhpStorm.
Isn't better use some small non-java file editor with code highlighting (like notepad++) for quick changes? Any non-java small text editor loads much quickly than PhpStorm.
Yer haven't found a good one for gnome. gedit isn't too bad but it's not very smart.
edit: scribes seems alright - i'll see how that treats me over the next week.