Closed admirabilis closed 6 years ago
Hey teresaejunior!
I am not sure if I understand exactly what it should display. Could you tell me what should be returned for this change in gitcommand.ts
?
Taking the example from Git Lens, the variable would return the following text:
- ErrorHandler.getInstance().logCritical(new Error(`Can not execute "${commandPath}"`), 'The "git.path" property is not an executable');
+ ErrorHandler.getInstance().logError(new Error(`Can not execute "${commandPath}" (your git.path property) falling back to "${GIT_COMMAND_IN_PATH}"`));
If that is difficult to implement, maybe a variable that just contains - return code;
could be interesting.
I have had time to do some further research here and it is not possible to have line breaks in a window.showInformationMessage
.
I will not add this feature unless something changes in the future.
It would be interesting if upon clicking on the status bar, the user could see a small diff of the line. Git Lens has something similar as popup over each line, but I find it very intrusive. So I believe that just a
${commit.linediff}
variable (with the possibility of placing it in a new line) would be more than enough!