Custom Syntax of COBOL
Closed this issue · 9 comments
I have modified the syntax rules in the file COBOL.tmLanguage.json, but every time i update the extensions my changes in the file are overwritten by the default syntax rules.
How can I mantain my changes for ever, updating the extension too???
Can you explain me step by step?
You create your own extension that injects your custom syntax
Ok but if i want to update the extention with your chages i have to release my extension every time or every update that i want in my custom extension? If yes, Is there another way?
I mean the bitlang cobol extension not the visual custom cobol extension.
If i am wrong can you explain me better, i am not very expert please
It is not dependent on any version, it is independent
Once you have it installed, you never need update it if this extension changes
The way it works, it injects your custom syntax into "source.cobol"
You can use the same mechanism with any language. Try it and see how far you get.
@Giupeppe999 Your published extension does not use injection but tries to replace the existing definition of source.cobol
Your grammar should only include the differences and/or it's being overridden
Thank you
@Giupeppe999 Have you reviewed the branch?