Feature: Add solidity and vyper languages #98
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Languages: Solidity and Vyper
This feature branch adds solidity and vyper, languages used in smart contract programming in
the Ethereum Virtual Machine. It also adds a grammar for ASC X12 EDI (see: https://x12.org).
Bug fix
When running the
update grammars
command an exception is thrown:Remediation
$ wget https://raw.githubusercontent.com/microsoft/vscode/master/extensions/vb/syntaxes/asp-vb-net.tmlanguage.json # asp-vb-net already exists, I did not try and doing `cp asp-vb-net.tmlanguage.json asp-vb-net.tmlanguage.json.tmLanguage.json ` $ mv asp-vb-net.tmlanguage.json.1 asp-vb-net.tmlanguage.json.tmLanguage.json
providing a file named
asp-vb-net.tmlanguage.json.tmLanguage.json
resolves this issueVersioning
Running
Instructions for adding a grammar did not provide any additional information on bumping or otherwise changing versioning/enumeration of the packages.
total changes
running
lerna diff shiki-languages
we see that:are all the changes made to the current languages
Please let me know what corrections should be made, I very much appreciate this work, using tmLanguage for syntax highlighting absolves me of the sin of having to use highlight.js, so thank you for your work. Cheers