Comments (12)
Currently there isn't, I think I'll add a shellSuffix
parameter in the new few days. I'll update you as soon as is implemented :)
from vscode-yet-another-phpunit.
Alright,
I think I made a mistake, it seems that the tasks do run fine inside the integrated terminal.
The reason I thought it was the default windows's terminal ( CMD ) is the one running the tasks, is because there was no coloring.
So, the issue is the coloring doesn't show up, and I don't know why!. I am going to do some search about this issue, and will put my findings here.
Sorry for wasting your time on this.
Feel free to close this.
from vscode-yet-another-phpunit.
Ehy @rakk7 , don't worry, also I was trying to find a solution for custom shell but it was a bit of a mess. Have you enabled coloring in your phpunit.xml
? For example:
<phpunit
bootstrap="vendor/autoload.php"
colors="true"
>
from vscode-yet-another-phpunit.
Yeah I did, it seems that the issue is related to Windows somehow. ( of course it is )
from vscode-yet-another-phpunit.
What if you try to run the PHPUnit command directly in a terminal of VSCode? You'll get the full command when you run a test:
from vscode-yet-another-phpunit.
yeah tried that before, when running the code directly inside VSCode ( bash terminal ):
But, when I run the same line outside of VSCode ( bash terminal ) :
from vscode-yet-another-phpunit.
Oh well, then it's a VSCode issue, try to take a look here to configure colors for Git Bash on VSCode: https://stackoverflow.com/a/49059683/1973205
from vscode-yet-another-phpunit.
Thank you, I am going to try that.
from vscode-yet-another-phpunit.
Thanks for the link, that solved the issue: by adding --color=always | cat
at the very end of the command line.
Is there is a global configuration variable that I can use, to add --color=always | cat
at the very end of the command line? because --color=always | cat
doesn't work If I put it in yet-phpunit.ssh.options
or yet-phpunit.commandSuffix
from vscode-yet-another-phpunit.
@rakk7 I pushed an update on Marketplace with a new yet-phpunit.ssh.shellAppend
option. I prefer to keep it different from commandSuffix
because on SSH you may prefer to add different stuff.
Please let me know if this solves :)
from vscode-yet-another-phpunit.
@danilopolani Yes, this solved it.
Note: MS VSCode team has released Remote Development which solves all the problems I faced with SSH. So, since I am using Remote Development
plugin, I don't need to configure any SSH options in vscode-yet-another-phpunit
. Read more here: https://code.visualstudio.com/docs/remote/ssh#_getting-started.
from vscode-yet-another-phpunit.
@danilopolani Yes, this solved it.
Note: MS VSCode team has released Remote Development which solves all the problems I faced with SSH. So, since I am using
Remote Development
plugin, I don't need to configure any SSH options invscode-yet-another-phpunit
. Read more here: https://code.visualstudio.com/docs/remote/ssh#_getting-started.
Oh that's cool, didn't know they already release it (in preview tho). I think I'll add a note about this in the README, thank you for your support
from vscode-yet-another-phpunit.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-yet-another-phpunit.