How to extend the syntax of html plugins? Devqky Created May 27, 2022 06:46 I want to add some keywords and autocomplete syntax to html file, how can I do it
You need to develop a custom plugin for your HTML extension. Please check this tutorial: http://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support_tutorial.html. Here is a blog post on developing plugins for Webstorm you may find helpful: https://blog.jetbrains.com/webstorm/2022/03/building-a-plugin-for-webstorm-part-3/
And here's the open source example of the template language implementation: https://github.com/JetBrains/intellij-plugins/tree/master/handlebars
Note that we have a special forum for questions regarding plugins development - https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development. Feel free to ask questions there