microsoft / azure-devops-extension-sample

Sample web extension for Azure DevOps
MIT License
240 stars 159 forks source link

Code editor contribution not working in pull-request view #40

Open hkoestin opened 5 years ago

hkoestin commented 5 years ago

Hey there,

when I alter and modify the sample for the code editor contribution to have my own language supported (Delphi in my case), I see the highlighting working in the Repo hub, when I am browsing files. (compare https://github.com/microsoft/azure-devops-extension-sample/tree/master/src/Samples/CodeEditorContribution)

However, when I have PRs ongoing, in these views there, I do not see the syntax highlighting.

Is there a separate endpoint to register the language at/on? Is there a different contribution to use for that?

Weirdly enough, when I use comments in PRs and use the code tags with my specified alias of "delphi", formatting works for the comments.

Is there somewhere a complete list of contributions and endpoints, one can hook and extend?

Kind regards, Harald

Edit: Can I somehow target the monaco-diff-editor? image

MJECloud commented 4 years ago

I've noticed it hasn't worked at all for a few months now. Does it still work for you?