Attempt to fix 'trigger characters' issue.
- modify textmate grammars so that interesting contexts count as 'identifiers'. - disable trigger chars on vscode The effect of this is that vscode auto-triggers completions even without trigger characters.
This commit is contained in:
@@ -9,7 +9,10 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user