Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

I want to start in Terminal panel instead Output panel #35

Closed
lukaszpolowczyk opened this issue Feb 27, 2018 · 4 comments
Closed

I want to start in Terminal panel instead Output panel #35

lukaszpolowczyk opened this issue Feb 27, 2018 · 4 comments
Labels

Comments

@lukaszpolowczyk
Copy link

lukaszpolowczyk commented Feb 27, 2018

@example, start create-react-app:
{
"label": "npm start",
"type": "shell",
"command": "npm start",
"problemMatcher": [],
"isBackground": true
}
Click on status bar "npm start", show Output panel.
When click Tasks menu > Run Task > npm start, show Terminal panel, and Ii might stop server.
In addition, the "Show running tasks" icon will appear in the status bar with the number of taks running.

Opening in the terminal, and an icon of running tasks in the status bar. I need these two things.
Can you do it?

EDIT:
I found an extension that starts the task at vscode startup:
https://github.com/philfontaine/autolaunch

It turns on the task in the Terminal panel - as I wanted!
So it's possible!
Could you convert your extension so that the task opens with the terminal panel?
It has the two advantages I mentioned earlier.

@guardrex
Copy link
Owner

Thanks for the suggestion, but I would like to just have the extension shell out the task. Of course, you can fork the repo and make a version of the extension that meets your needs.

@lukaszpolowczyk
Copy link
Author

And could you add an option to be able to choose? I think there is nothing to do "competitive" extensions that differ so little.

@guardrex
Copy link
Owner

You can add it ... just fork the repo and you can change the code to do anything you like. I'm crazy busy with full-time work these days, and I just won't have time to expand the feature set of the extension. I'm really hoping that the VSC engineers add a toolbar that can run tasks to VSC. Then, I would be able to depreciate this extension. microsoft/vscode#41309

@bjg2
Copy link

bjg2 commented May 21, 2018

Hey, this is real issue:

  1. output pane is not interactive as terminal you can't stop the execution, add keyboard input, etc
  2. output coloring is not working

understanding you have too much stuff to do (and already thankful for this extension you created) I forked and added showInTerminal option to tasks (if true output is in terminal, if anything else current behavior is preserved): bjg2@bcc798d.

Can you please merge this change into your codebase and update the vscode extension, so everyone else can use it (like the rest of my team)? Because this is great extension, thank you for that, with a minor but important missing feature...

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

No branches or pull requests

3 participants