Home > front end >  eclipse: sort in eclipse outline for .js files broken
eclipse: sort in eclipse outline for .js files broken

Time:12-16

I've just upgraded to the latest Eclipse IDE for PHP Developers - Version: 2021-12 (4.22.0). In this version the outline for JS files seems to be broken. The order inside an function is always alphabetically and not in the order of the written code (top to bottom). Clicking the sort ouline button doesn't change the order inside the function. Any ideas?

Outline without sorting:

enter image description here

Code

function outer() {
    function e() {
    
    }
    function d() {
    
    }
    function c() {
    
    }
    function b() {
    
    }
    function a() {
    
    }
}

CodePudding user response:

That's a known issue of Eclipse Wild Web Developer:

Issue #534: Outline sort order cannot be changed

Please comment on the issue. Add a thumb up

  • Related