kylepaulsen / ResourceOverride

An extension to help you gain full control of any website by redirecting traffic, replacing, editing, or inserting new content.
MIT License
468 stars 117 forks source link

Edit file in an external editor #2

Closed norbertpy closed 8 years ago

norbertpy commented 8 years ago

@kylepaulsen, first of all thanks for this awesome extension. Very clever and very handy. To be honest the UI to edit the file is not very friendly. The find bar disappears on the first search and it stops at the first search. So it's virtually impossible to look for the next occurrence.

Is it possible to load the file with an external editor and save it? Of course I can copy the whole thing to my editor and then paste it back once finished but that's a little cumbersome.

kylepaulsen commented 8 years ago

Unfortunately, chrome doesn't allow you to write files to disk to allow file editing in your favorite editor.

I'm using code mirror as the editor currently. I'll try and see if I can make that search dialog stay there. Thanks for the feedback.

norbertpy commented 8 years ago

Thanks for your quick response. ace editor is an alternative to CodeMirror. The find feature is very neat. See the demo here. I find it very easy to use. I have not looked at your code but if I do I might publish a PR for few things.

kylepaulsen commented 8 years ago

Hey I got a new version coming down the line sometime soon. I remembered a long time ago that I initially wanted to use Ace Editor, but I was having issues. Trying again though, I was able to figure things out!

I think you'll like the new ace editor integration. I certainly do. :)

norbertpy commented 8 years ago

Awesome. Let me know when it's ready. It must get really cool. Thanks.

kylepaulsen commented 8 years ago

OK v0.6.0 is released. Let me know if you find any bugs. Enjoy the new editor. :)

kylepaulsen commented 8 years ago

Closing for now...

norbertpy commented 8 years ago

Looks awesome. Thanks.