kcl-lang / vscode-kcl

VS Code KCL Extension
https://kcl-lang.io
Apache License 2.0
5 stars 12 forks source link

feat: added syntax-highlighting for kcl.mod and kcl.mod.lock files #45

Closed shruti2522 closed 6 months ago

shruti2522 commented 6 months ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

fix #44

2. What is the scope of this PR (e.g. component or file name):

kcl-lang/vscode-kcl/syntaxes

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

Added syntax highlighting for .mod files.

image

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

shruti2522 commented 6 months ago

Syntax highlighting for .mod.lock files:

Screenshot from 2024-04-28 05-55-34

shruti2522 commented 6 months ago

Done with the changes, added toml.tmLanguage.json to provide syntax highlighting for .mod and .mod.lock files.

Screenshot from 2024-04-28 14-04-05