Skip to content
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

[Feature] Add Language injections specific to Flow #287

Open
jcgueriaud1 opened this issue Jan 23, 2025 · 0 comments · May be fixed by #289
Open

[Feature] Add Language injections specific to Flow #287

jcgueriaud1 opened this issue Jan 23, 2025 · 0 comments · May be fixed by #289

Comments

@jcgueriaud1
Copy link
Collaborator

In Vaadin we are using different languages in Java for example.

  • Javascript in Element#executeJs(String javascript)
  • Html in new Html(String html)
  • Regexp in Textfield#setPattern`

In IntelliJ, it's possible to configure the IDE to tell a parameter of the Java method is a certain type, so IntelliJ will highlight the syntax and gives some autocompletion.

Here is the documentation for the functionality: https://plugins.jetbrains.com/docs/intellij/language-injection.html#-e7g6el_26

If you add the configuration for the previous examples IntelliJ will help you:

Image

@jcgueriaud1 jcgueriaud1 linked a pull request Jan 23, 2025 that will close this issue
9 tasks
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 a pull request may close this issue.

1 participant