Switch VSCode extensions to built-in YAML java-props grammars

This commit is contained in:
aboyko
2023-05-09 19:57:10 -04:00
parent 7d66b171bf
commit 6d0e4587aa
26 changed files with 132 additions and 1509 deletions

View File

@@ -7,13 +7,6 @@ workdir=`pwd`
(cd ../commons-vscode ; npm install ; npm pack)
npm install ../commons-vscode/*-commons-vscode-*.tgz
# Copy grammar files for .properties and .yml format
curl https://raw.githubusercontent.com/textmate/yaml.tmbundle/master/Syntaxes/YAML.tmLanguage > yaml-support/yaml.tmLanguage
sed -i -e 's/string\./identifier\./g' yaml-support/yaml.tmLanguage
curl https://raw.githubusercontent.com/textmate/java.tmbundle/master/Syntaxes/JavaProperties.plist > properties-support/java-properties.tmLanguage
sed -i -e 's/constant/identifier/g' properties-support/java-properties.tmLanguage
# Clean old jars
rm -fr ${workdir}/jars
mkdir -p ${workdir}/jars