-
Notifications
You must be signed in to change notification settings - Fork 236
Conversation
Hi @aster94 , it seems this pr has code style issue. Please run tslint task to fix the issue. |
@Sneezry done |
@aster94 |
set as
as you can see the problems are in vscodeSettings.ts |
@aster94 Can you help to resolve conflicts? |
@aster94 run command "gulp tslint " and "gulp build" to make sure no error display in you local machine , then update latest code to pull request, travis CI will pass. |
Unfortunately i have been too busy in these days, i would do it during the holidays |
@czgtest the code works, the only problems i see are related to the trailing whitespaces, again here there is the output of gulp tslint /home/aster/wip/git/vscode-arduino/src/arduino/arduinoSettings.ts[39, 1]: trailing whitespace /home/aster/wip/git/vscode-arduino/src/arduino/vscodeSettings.ts[81, 1]: trailing whitespace [21:38:29] 'tslint' errored after 4.39 s |
@aster94 code works is basic requirement. If even the code doesn't work, the PR should not be made. I find an answer on SO for you about why code style is important: https://stackoverflow.com/a/127955/2956469 This is not a personal project, and we will always adhere to the principle of code review. |
This is completely no sense, i am saying that the tslint errors are due to the code style i followed and you say me that i didn t follow the code style Again, as i wrote "i can remove these whitespaces if you really need to have tslint without errors." but this would bring to a mixed style (some function separate by a whytespace some are not) I doubt that you ever saw the code changes 😂 |
These lines are added in your PR. You add spaces in these empty lines which causes the tslint error. I wonder what code style you followed to leave these extra spaces. |
Seriously? I really hope you are joking with me let's have a look to https://github.com/Microsoft/vscode-arduino/blob/master/src/arduino/arduinoSettings.ts#L38 wow a whitespace! let's see who added it c9876f9#diff-61a376a669275c4b558dffdd267a574dR38 it's you with commit c9876f9 of the pull request #620 let's see another one: same whitespace: https://github.com/Microsoft/vscode-arduino/blob/master/src/arduino/arduinoSettings.ts#L156 try to guess who added it do I need to continue? I know i am looking (too) sarcastic but before commenting and closing you could have given a better look to the code changes |
Compare with these two files: https://raw.githubusercontent.com/Microsoft/vscode-arduino/master/src/arduino/arduinoSettings.ts The rest are similar. I have no interest to argue with you, nor I have no time to do that. |
you are right it's there i didn't saw it 😁 |
hello, this is a follow up from the pull request #623
i just modified the output path to work as global (i.e. defined once as the "arduino.path")
This way the user would need to choose it only once instead of choosing one for every sketch. This could be overwritten in the per sketch setting (i.e. .vscode/arduino.json)
i made a video to show that it works
https://streamable.com/casvh