Feature Request: Add file from url

I think it'd be useful to be able to directly create a file in a Webstorm project from a url.

I often find that I would like to add a single source file from a resource online (i.e. Github).  Typically, this is when I'm sandboxing and haven't set up a package manager.  The current process feels slow and it seems like it could be easier.

Current Process Example:

1) Find resource on Github that I'd like to include in my project (e.g. https://raw.githubusercontent.com/strophe/strophejs-plugins/master/ping/strophe.ping.js)
2) Go to project's JS folder in Webstorm
3) Right-click -> New > File
4) Type in file name (e.g. strophe.ping.js)
5) Open raw source code in Github, select all, copy
6) Paste code into Webstorm
7) Save


Feature Example:
1) Find resource on Github. Open raw source
2) Copy url
3) Go to project's JS folder in Webstorm
4) Right-click -> New > File From Url
5) Paste URL
6) Optionally type location (if not provided based on URL)
7) File Downloads and save in folder. Opens in Editor.

I know it doesn't seem like much, but this would save me a good chunk of time dealing with copying and pasting big chunks of code.  I also tend to forget to special paste, so I have to wait for things to process then retry without formatting.

Thanks!

Please sign in to leave a comment.