I'm using Eclipse and the current solution (which I dislike) is to use "Search/Replace". This is an error prone solution.
Do you know any better approach to refactor JavaScript, HTML, CSS resources safely in big applications? Or do you use any other cool refactoring tool(s)?
In the editor, select a code fragment to convert into a function and press Ctrl+Alt+M or choose Refactor | Extract Method from the context menu. Alternatively, do one of the following: Press Ctrl+Alt+Shift+T and select Extract Method. From the main menu, select Refactor | Extract | Method.
IntelliJ seems to support Javacsript/HTML/CSS refactoring out of the box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With