atom-ide-scala icon indicating copy to clipboard operation
atom-ide-scala copied to clipboard

Add a command to launch sbt shell in the builtin terminal

Open laughedelic opened this issue 6 years ago • 6 comments

Since v0.11 Atom IDE UI has a terminal and it seems to be possible to open it with a given command: https://github.com/facebook-atom/atom-ide-ui/issues/220#issuecomment-383728210.

It would be nice to have a command to open sbt shell inside Atom. It could be also useful to suggest it (as a notification with a button) when launching Metals, if there is no running sbt server yet (project/target/active.json).

laughedelic avatar Apr 28 '18 12:04 laughedelic

I think this would be very useful

cquiroz avatar Apr 28 '18 12:04 cquiroz

@cquiroz let me know if you want to work on this.

Adding a command should be easy, but opening the terminal with the right configuration needs some investigation (see the linked comment). I'm not 100% it's currently possible, but if not, it's a valid feature request to atom-ide-ui.

laughedelic avatar Apr 28 '18 13:04 laughedelic

I supposed I could try though I'm quite short on time.

cquiroz avatar Apr 30 '18 15:04 cquiroz

No problem. There's no time limit. I don't think I'm going to dig into this any time soon, so it'll stay an open challenge.

laughedelic avatar May 01 '18 15:05 laughedelic

Am i correct that the first thing is to add a facade to scalajs-atom-api for atom-ide-terminal?

cquiroz avatar May 06 '18 19:05 cquiroz

Yes, that would be very helpful. But you don't need to write facades for everything right away. Try to experiment with the available API first (with js.Dynamic) and see what's needed.

laughedelic avatar May 06 '18 20:05 laughedelic