Skip to content

Fix syntax recognition and packaging for SCP highlighter #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

BlackBoxEngineering
Copy link

  • String parsing fix: Adjusted string termination logic to prevent apostrophes inside double-quoted strings from prematurely ending the highlight.

  • Added support for detecting and styling exec curl commands used to trigger external webhooks, including embedded JSON.

  • Included required folders (syntaxes, images, language-configuration.json) in the VSIX bundle by switching to the files directive in package.json and removing .vscodeignore.

  • Verified grammar loading: Ensured .scp files now load with correct language ID and source.scp scope in Visual Studio Code.

@BlackBoxEngineering
Copy link
Author

Refined the SCP syntax highlighter to correctly handle apostrophes within strings and recognize exec curl command blocks for webhook calls. Also resolved packaging issues to ensure proper grammar and configuration loading in VS Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant