Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoToLoop opened this issue Oct 8, 2015 · 2 comments
Open
Assignees

Comments

@GoToLoop
Copy link

GoToLoop commented Oct 8, 2015

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

@fjenett
Copy link
Owner

fjenett commented Oct 8, 2015

Ok, will have a look.

@fjenett
Copy link
Owner

fjenett commented Oct 10, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants