Add shproj and projitems extensions to monaco_languages.json
Both ".shproj" and ".projitems" are extensions using by Microsoft Visual Studio for Shared Projects. The files are standard XML.
Summary of the Pull Request
PR Checklist
- [X] Closes: #39247
- [ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
- [ ] Tests: Added/updated and all pass
- [ ] Localization: All end user facing strings can be localized
- [ ] Dev docs: Added/updated
- [ ] New binaries: Added on the required places
- [ ] JSON for signing for new binaries
- [ ] WXS for installer for new binaries and localization folder
- [ ] YML for CI pipeline for new test projects
- [ ] YML for signed pipeline
- [ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx
Detailed Description of the Pull Request / Additional comments
This PR simply adds two new extensions to XML for Monaco preview. Both extensions are known by Visual Studio.
Validation Steps Performed
No automated test. Monaco has a configuration file that works like a dictionary to define supported languages and their extensions. I added the two extensions to this file for XML language.
Hi @rezanid, monaco_languages.json is a generated file. Your contribution would get overwritten the next time someone regenerates it. In order to properly add support for the new extensions you need to add them in monacoSpecialLanguages.js (see the docs).
Hi @PesBandi, thanks for your quick feedback. Good piece of info! I will correct it.
Sorry for letting this sit - there were some changes to our CI recently, and you'll need to re-merge the latest main into this PR to get the CI happy. Sorry about that!
(also, this needs to be fixed anyways)
Looks like this file should be modifed: https://github.com/microsoft/PowerToys/blob/main/src/Monaco/monacoSpecialLanguages.js
Updated in next commit
/azp run
Azure Pipelines successfully started running 1 pipeline(s).