-
Notifications
You must be signed in to change notification settings - Fork 30
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
Editor uses VSCode and sees JS syntax highlighting and validation in on-change/on-open #1881
Comments
I've posted a question on stackoverflow how to this in a more sustainable way, but for the time being you can hack your VSCode installation by doing the following... On Mac: Open the
Then search for "hashchange" and add Now restart VS Code and voila! In the future I hope it's an option that added when describing to VSCode the attributes of your custom elements. That way we could just have folks install the tangy-form plugin to add syntax highlighting. See discussion around VSCode support for custom elements here and docs for adding support for your custom elements here. |
recommend that you add "|-change|-open|-submit" so that it also catches the on-submit functions |
@mfinholt Good call! There are even more. Here are some updated directions. Step 1Open Visual Studio configuration file.
Step 2Find Step 3Restart Visual Studio. |
Closing this as I've migrated these docs to our docs site https://docs.tangerinecentral.org/editor/advanced-form-programming/local-content-development/#set-up-vs-code-with-syntax-highlighting-for-on-open-on-change-etc |
No description provided.
The text was updated successfully, but these errors were encountered: