vscode-run-rspec-file icon indicating copy to clipboard operation
vscode-run-rspec-file copied to clipboard

Feature request | allow to remove space after custom command

Open thibpoullain opened this issue 1 year ago • 2 comments

Hi :)

Thx fot this extension !

I have a makefile that helps me to handle commands in my docker containers, ex:

# Usage: make rspec file=spec/models/user_spec.rb
rspec:
	docker-compose run --name webapp-test -e RAILS_ENV=test --rm webapp-main bundle exec rspec --color $(file)

The problem is the extension add a space after the custom command, makes it failed :

# this
make rspec file= spec/models/user_spec.rb

# instead of 
make rspec file=spec/models/user_spec.rb

Could it be possible to add a toogle feature to do that ? Or is there any tweak to handle this ?

Thx !

thibpoullain avatar Apr 10 '24 10:04 thibpoullain

Hey @thibpoullain Thanks for open this issue.

So, I can trim command before execute though. Will resolve for you?

thadeu avatar Apr 30 '24 00:04 thadeu

@thibpoullain What you think about this?

thadeu avatar May 15 '24 21:05 thadeu