javascript-mode-processing icon indicating copy to clipboard operation
javascript-mode-processing copied to clipboard

Cannot change to "JavaScript Mode" when there's a ".java" file present.

Open GoToLoop opened this issue 10 years ago • 2 comments

I've got a cross-mode sketch which needs a ".java" tab when in "Java Mode". But when trying to change to "JS Mode", it refuses to when non-".pde" files are present! That is going on even in Processing 2. And it's now present for Processing 3 too. Of course I don't want for both "JS & CS Modes" to recognize & display tabs which aren't ".pde", ".js" or ".coffee".

http://forum.Processing.org/two/discussion/12532/windowjs-cross-mode-alert-confirm-prompt-other-js-api-for-java

GoToLoop avatar Oct 08 '15 19:10 GoToLoop

Ok, will have a look.

fjenett avatar Oct 08 '15 19:10 fjenett

Problem is in PDE, not the mode … i can fix it to allow .java tabs but not to allow having .js tabs and be able to switch to Java mode, which is far more often the case i assume.

Waiting for processing/processing#3980 to be resolved.

fjenett avatar Oct 10 '15 13:10 fjenett