Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom notifications based on output #3

Open
OJ7 opened this issue Oct 14, 2019 · 1 comment
Open

Custom notifications based on output #3

OJ7 opened this issue Oct 14, 2019 · 1 comment

Comments

@OJ7
Copy link

OJ7 commented Oct 14, 2019

I'm migrating to VS Code's terminal and glad to have found this extension. I was previously using this method in iTerm2 which allows having a custom notification show based on certain output in the terminal.

For example, when running unit tests, I have the results in the notification using regex:
Regex: (TOTAL: (((\\d+)\\b FAILED\\b.{0,2})|((\\d+)\\b SUCCESS\\b.{0,2}))+)
Notification: Unit Tests Results \\1

This feature request is to allow the user to specify an output string to listen to and have an associated custom text notification display.

@jaredly
Copy link
Owner

jaredly commented Oct 16, 2019

Yeah, having access to the command's output would be really cool! Unfortunately VSCode doesn't provide access to the contents of the console :( it only gives me the PID of the shell that's running, and then I use PS to determine what child processes are running.

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

No branches or pull requests

2 participants