May 15, 2018 at 4:47 pm #586351
Editing files (java, jsp, js, xml) that I have had no problem editing before using default MyEclipse editors. Now when I type anything – code, space, or a comment – I get a spinning blue progress wheel and MyEclipse is Not Responding for a long time (dozens of seconds or longer). This only started happening after installing CodeMix. I have 64-bit MyEclipse 2017 CI latest and latest CodeMix, on Windows 7 pro 64-bit, java 8, 32 GB RAM and 2 quad-core i7 CPU @ 2.7 GHz. MyEclipse and computer have been restarted.
Maybe it is https://www.genuitec.com/issue-tracker/33081/, but I can’t see any details there so it’s hard to say. Whatever it is, it is making this IDE unusable.May 15, 2018 at 4:52 pm #586352
Ouch! First off, I’m not aware of a specific issue like this lingering in the product but definitely want to get to the bottom of it!
To disable CodeMix temporarily, you can go to the Preferences > CodeMix area and check [ ] Temporarily disable CodeMix functionality.
That said, I’d really like to be able to get to the bottom of this. Two questions – bottom left, do you see CodeMix with a blue checkmark in your status bar? If it shows connected, if it freezes long enough to run a command, getting a jstack dump at the same time as it is frozen would be invaluable.
has some pointers on how to use jstack. In short, it is
jstack -p <pid>with the PID of the MyEclipse process.
Thanks and sorry you are hitting this!October 2, 2018 at 2:00 pm #599793
This issue went away for a while, thankfully. I could not debug it, and I assumed it was something fixed in a later update. Now I’ve updated to CodeMix 2 and … after an hour I’m still waiting for CodeMix Validation task to complete, while editors are either very slow or unresponsive. Project has thousands of files, a huge legacy project with mixture of html, js, java, jsp, xml, etc … Can this be fixed apart from turning off validation? Like run validation separately and at a lower priority than UI responsiveness.October 2, 2018 at 2:02 pm #599794
Can you grab a quick screenshot of the validators that are running in the Progress view? CodeMix’s validators by default do not do (or should not do) any validation until you opt-in to run them in CodeMix 2. A screenshot will help confirm what validator(s) are impacting your workspace.October 2, 2018 at 3:04 pm #599805
It finally finished and things are back to normal after a couple hours of validation. I do have CodeMix Project Validation enabled…do you want screen captures of all those settings? The progress view just said CodeMix Validation, and then something like 1,975 of 3,995 files… The problems view is showing 56,643 errors, most of which are in old JSP code that we are in process of refactoring / purging. I will try turning off JSP validation and see if that helps.
Bottom line for me is: validation is great, but shouldn’t come at expense of rest of IDE. Editors, search, team synchronization, just about everything I use regularly was painfully slow while validation was running. It’s back to normal now, which is great <whew!>, but I’d like to avoid this when I open up other projects that are currently closed (and are branches of the project I’m working on).October 2, 2018 at 3:19 pm #599806
Most interesting would be a quick check if HTML+JS might have equaled the 3,995 files you saw validating? If the only file pattern is JSP, then screenshots of the different pages under Validation would be helpful, including the disabled validators area and the Languages section that controls file extensions around JSP (it should be unchecked by default).
Thanks for all the details.October 2, 2018 at 3:34 pm #599809
Off topic kinda, but there are tons of js validation errors like:
Cannot find name ‘jQuery’
Cannot find name ‘ko’
Is there a way I can tell the validator, “there’s a thing in my project called jQuery (you might know it as $), and there’s another thing called ko (also known as knockout).”October 2, 2018 at 3:45 pm #599810
I’ll ask the gurus about your Q though regarding mapping names like that during validation.October 2, 2018 at 3:59 pm #599811
I looked through the validation config and I believe it’s all the defaults with *.jsp excluded, as you said. Exception I think is Velocity from the eclipse marketplace vscode extension.
With all that I get in the neighborhood of 3,995:
I also put the