Sublime Forum

Will user input make it into ST 3?

#1

Hi Jon,

Do you think it will be possible to accept user input from a plugin somewhere down the road to the ST 3 final?

Thanks,
Adrian

0 Likes

Run python scripts by just pressing a key on linux(xubuntu)
#2

I guess it’s already there, from v2: show_input_panel.
Or are you asking something different?

0 Likes

#3

I’d guess he means a stdin wrapper for the build system ?

0 Likes

#4

This should be possible already, considering that you can write into stdin from subprocess.Popen. Not with the default build system but it is possible to write your own for it.

0 Likes

#5

I meant a wrapper around stdin for builds as well as some means to wrap a language REPL in a nicer way that seems to be possible in ST2. For example SublimeREPL has to use an editor buffer to act as a pseudo REPL. I’m not sure, though, if that’s a limitation of ST 2 or just that package. From what I’ve gathered, it seems to be a limitation.

0 Likes

#6

Check out my ST2 plugin which lets you give input: github.com/eric-wieser/build-with-input

0 Likes

#7

This looks pretty nice. I guess with the new plugin loading in ST3 the loading problem you mention should go away, right?

0 Likes