mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-01 01:49:06 +08:00
[Monaco][Peek] Support .vsconfig, .sln, .vcproj, .vcxproj files (#26318)
This commit is contained in:
parent
42e707966d
commit
5cff678322
@ -5,7 +5,9 @@ import { regDefinition } from './customLanguages/reg.js';
|
||||
export async function registerAdditionalLanguages(monaco){
|
||||
await languageDefinitions();
|
||||
registerAdditionalLanguage("cppExt", [".ino", ".pde"], "cpp", monaco)
|
||||
registerAdditionalLanguage("xmlExt", [".xsd", ".wsdl", ".xslt"], "xml", monaco)
|
||||
registerAdditionalLanguage("xmlExt", [".xsd", ".wsdl", ".xslt", ".csproj", ".vcxproj"], "xml", monaco)
|
||||
registerAdditionalLanguage("jsonExt", [".vsconfig"], "json", monaco)
|
||||
registerAdditionalLanguage("txtExt", [".sln"], "txt", monaco)
|
||||
registerAdditionalLanguage("razorExt", [".razor"], "razor", monaco)
|
||||
registerAdditionalLanguage("logExt", [".log"], "log", monaco)
|
||||
registerAdditionalNewLanguage("reg", [".reg"], regDefinition(), monaco)
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user