KAG icon indicating copy to clipboard operation
KAG copied to clipboard

[Feature][schema syntax highlight] Integration of ".schema"'s VSCode syntax highlighting extension

Open lazydreamerbliss opened this issue 1 year ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

I have developed a VSCode extension that provides syntax highlighting for OpenSPG schemas, as I found it challenging to work with the schema syntax without proper color coding.

Would you consider integrating or endorsing this extension to enhance the developer experience for the community? I believe it could make working with OpenSPG schemas more intuitive and efficient.

Source code: https://github.com/lazydreamerbliss/OpenSPG_KAG_schema_highlighter

Highlighter sample for existing .schema files in KAG project: image

VSCode marketplace extension page: image

Are you willing to submit PR?

  • [x] Yes I am willing to submit a PR!

lazydreamerbliss avatar Dec 23 '24 08:12 lazydreamerbliss

Thanks for your contribution. This work is great for improving the convenience of schema editing. We will recommend users to use this plugin in the user manual.

In addition to vscode, could you provide plugins for the InteliJ IDEA & pycharm community?

caszkgui avatar Dec 23 '24 10:12 caszkgui

Haven't done Intelij plugin before, but I can try it

lazydreamerbliss avatar Dec 25 '24 03:12 lazydreamerbliss

Thank you for your contribution. This has greatly improved the editing convenience of the schema, and for this reason, we have separately created a Repository (SpgSchemaEditorPlugin). We also sincerely invite you to participate in the collaborative development of OpenSPG

andylau-55 avatar Jan 10 '25 03:01 andylau-55

Search before asking

  • [x] I had searched in the issues and found no similar feature requirement.

Description

I have developed a VSCode extension that provides syntax highlighting for OpenSPG schemas, as I found it challenging to work with the schema syntax without proper color coding.

Would you consider integrating or endorsing this extension to enhance the developer experience for the community? I believe it could make working with OpenSPG schemas more intuitive and efficient.

Source code: https://github.com/lazydreamerbliss/OpenSPG_KAG_schema_highlighter

Highlighter sample for existing .schema files in KAG project: image

VSCode marketplace extension page: image

Are you willing to submit PR?

  • [x] Yes I am willing to submit a PR!

Thanks for your contribution. Your work has greatly improved the spg schema editing convenience, and we have created a Repository (SpgSchemaEditorPlugin), could you merge your source code into this repo?

caszkgui avatar Jan 14 '25 12:01 caszkgui