Community
Participate
Working Groups
I would like to be able mark a code region and extract it as JavaScript function, similar to the function extraction for Java or similar to the function extraction feature for JavaScript in WebStorm. There are old bug tickets that address the extraction of functions (e.g. https://bugs.eclipse.org/bugs/show_bug.cgi?id=222557). Therefore this feature may already have existed in an old version of Eclipse? I currently use a fresh download of Eclipse Java EE IDE for Web Developers. Version: Mars Release (4.5.0) Build id: 20150621-1200
The extract function feature seems to be disabled if I open a single JavaScript file. If the file is included in a JavaScript projekt the feature is active and works fine.