-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .log support to Monaco preview handler #21362
Conversation
What do you think about the additional log names ".err" and (possibly more conflicting) ".out"? |
Missing feedback from @crutkas or @Aaron-Junker within the linked issue made me focus on In addition to that, your "possibly more conflicting" hint fueled my believe that error and/or general output should rather be "redirected" into Ultimately, I'd suggest using |
I see. Still suggest to add ".err" ;-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
monaco_languages.json gets suto-generated. You have to add another handler like in
registerAdditionalLanguage("xmlExt", [".xsd", ".wsdl", ".xslt"], "xml", monaco) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aaron-Junker I'm leaving this to you :) Good catch
Just to get you right:
|
May I ask you to remove your change request then? Because once I solved Aaron's request, yours seems to still block my PR. Or am I getting something wrong here? |
|
Alright, doin' some rocket science then - back in a day or two, keep your fingers crossed! 🥳 |
@Aaron-Junker Done with the changes, but IMHO this could've been done way easier & faster by just stating:
This way, I'd have been much quicker getting this done & hence the preview handler supporting log files, too. |
@Aaron-Junker The run failed due to some NuGet plugin error on Azure DevOps side, i. e. beyond my control - would you mind, getting the appropriate person to fix that & tell me how to re-trigger a run? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@Aaron-Junker Run completed, checks passed, LGTY? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm currently not able to test it, becasue of time reasons. But for me it looks good. And I don't see a reason why it shouldn't work
@stefansjfw since Aaron approved it & you stated that, you'll be leaving this to him, would you mind adding your approval, too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stefansjfw AFAICT, this is the commit you need to either approve or remove yourself from the list of reviewers for this very checkin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested. looks good
Thanks a lot for the contribution! |
Summary of the Pull Request
PR Checklist
Detailed Description of the Pull Request / Additional comments
Adds
.log
file extension tomonaco_languages.json
as supportedplaintext
file.Validation Steps Performed
Rather small addition, hence added the extension locally (via Registry) & immediately noticed succeeding file preview.