This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add this to your pom.xml | |
<dependency> | |
<groupId>com.intellij</groupId> | |
<artifactId>annotations</artifactId> | |
<version>9.0.4</version> | |
<scope>test</scope> | |
</dependency> | |
then use the @Language("HTML") annotation... | |
import org.intellij.lang.annotations.Language; | |
/** | |
*/ | |
public class Dummy { | |
@Language("HTML") | |
public String foo() { | |
return "<html></html>"; | |
} | |
} | |
to get nice language injection: http://blogs.jetbrains.com/idea/tag/language-injection/ when editing the HTML inside the " quotes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment