vscode-restclient
vscode-restclient copied to clipboard
Please, trim the fields
Is there an existing issue for this?
- [x] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
Wanna know what's the difference between these two screenshots (1.
and 2
.)?
Just a trailing whitespace in the first row for 'email '
instead of the correct 'email'
It's a small issue which bugged me, and It was quite easy to spot [^1], cause I met a similar case with Postman UI a couple of weeks ago), but lucky for me this one took me much less time to figure it out this time (being an IDE you can spot the space easily, unlike in that other case)
Steps To Reproduce
- configure your code for POST request for a field
email
type string - leave a leading or trailing whitespace by mistake
- ???
- Unprofit
Screenshots or Videos
1.
FIRST SCREENSHOT
2
SECOND SCREENSHOT.
Side Note
I hope trimming the fields could be a viable solution for this tiny needle in the haystack, or at very least why not a simple syntax highlight
[^1]: Ignore the commit info by GitLens, it was just a minor seatback before the weekend break