Sublime Forum

Run Javascript right in your Sublime Text 3 window

#1

CMD+B used to run my open JS file in a bottom console panel, right in Sublime Text 3.

Now that I have fixed my ESLINT settings with an .eslintrc.json file, the linter gets run instead (with CMD+B).

I want both. If I select Tools:ESLINT it says that key is mapped to ^+Option+E. That is still working. How to I chnage CMD+B back to what it was?

0 Likes

#2

BTW - I already already tried the link below to restore it, but the JS menu item isn’t appearing in the Tools:Build System menu.

http://www.vitoshacademy.com/js-run-java-script-in-sublime-text/

0 Likes

#3

That probably mean that the ES lint plugin and that they registered the linter as a build system.
Therefore you can’t run the two build systems at once.
But you can use “cmd+shift+b” to select which one you want to run.

But the lint plugins I use automatically lint on save, or when I edit the file which is very convenient, your ES lint plugin probably should do that.
Do you have a link to the Github of this plugin ? You should open a bug there.

Or use a plugin that does it correctly like SublimeLinter (https://packagecontrol.io/packages/SublimeLinter).

0 Likes