Sublime Forum

Javascript Input

#1

Is there any way possible to take user input in console for a javascript program.
For printing output I use node.js build system. I heard we can manipulate SublimeRepl package to do so, but how ?
Or should I use something else all together ?

0 Likes

#2

Currently Sublime Text does not accept input from its console/build system. There is an issue open on the core issue tracker to implement a full console, which will add built-in support on Sublime Text, so you can do input with Javascript and any other language else you need to. You can up vote it on:

  1. https://github.com/SublimeTextIssues/Core/issues/478
  2. https://github.com/SublimeTextIssues/Core/issues/1468

Currently this feature is not expected for the version 3 of Sublime Text. Only when the version 4 or more starts its development this feature could be integrated, if ever it could be.

0 Likes