js-emacs / js2-refactor.el

A JavaScript refactoring library for emacs
GNU General Public License v3.0
373 stars 47 forks source link

Would it possible to base this on js3-mode and iedit instead? #3

Closed gorakhargosh closed 12 years ago

gorakhargosh commented 12 years ago

I'd like to know if it's possible to base this on js3-mode:

https://github.com/thomblake/js3-mode

iEdit allows more interactive and visible renaming than query-and-replace

https://github.com/victorhge/iedit

Even better if it can be made into a generic refactoring library into which we can hook language support.

Cheers, Yesudeep.

magnars commented 12 years ago

Instead? No.

In addition? Possibly.

Since js3-mode is a fork of js2-mode, it should be possible to make a js3-mode translation layer. For methods that have just been renamed, a simple alias would do.

As for iedit, js2-refactor already uses mark-multiple which offers similar functionality.