I tried to format a javascript file. After this function the formatter stops formatting:
function checkbrowser() {
if (navigator.appName == "Netscape") {
return 'NE';
} else {
return 'IE';
}
}
function ContributionSearch(pWindowType, pSearchTypeRadio) {// note various spaces chars after functions
...
But if I replace :
return ‘NE’;
with
var res=’NE’;
return res;
then the code is properly formatted afterwards (multiple spaces removed).
Is there a fix for this?
I am using MyEclipse Enterprise Workbench, Version: 8.6, Build id: 8.6-20100723
Thank you