Opening a single remote file

Hello,

I work continuously with different platforms (Windows and OS X, specifically) but do all of my PHP and HTML development in Windows. Occasionally, I have the need to open a single HTML file that is present on the Mac.

Xcode is pretty terrible for HTML editing and I'd like to know if it's possible to load the single HTML file in PhpStorm.

This thread is applicable to opening entire projects -- http://devnet.jetbrains.net/message/5397062#5397062 -- but I am only interested in opening single files (e.g. via File->Open File). Don't really want to use a mapped drive as the Mac is not always available.

Thanks!

EDIT: Having just tried using a mapped drive anyway, it seems PhpStorm goes ahead and creates and entire project in the file's directory. Is this supposed to be the case? Seems a little over-the-top to edit a single file...

4 comments
Comment actions Permalink

Hi there,

All IDEA-based products are working around projects -- the architecture behind them was not designed to be used for stand-alone/single file editing.

0
Comment actions Permalink

Ah, that's fair enough, then. It's a shame because the editor itself is exceptional.

No matter, I'll continue with Notepad++ then :)

0
Comment actions Permalink

I've been using notepad++ for scratch files and local files as well when their outside the project.   How do you use it for remote files?

0
Comment actions Permalink

Well, on the Mac I have Windows File Sharing turned on and in Explorer I browse to the relevant network share (\\foo\bar).

Notepad++ has an option (during install) to add itself to the Explorer context menu so when browsing the share, I just right-click the file and choose "Edit with Notepad++".

Also -- a standard feature as part of the CommonFileDialog on Windows, but is not an in-place file access -- you can enter the exact path in the "Filename" box and, behind the scenes, IE will download the file to temporary files and then Notepad++ (or any application, except PhpStorm because it doesn't use the standard dialog box) opens that.

0

Please sign in to leave a comment.