mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
36 lines
713 B
Java
36 lines
713 B
Java
public class Test {
|
|
public static void main(String[] args)
|
|
|
|
<fold text=' { '>
|
|
|
|
{
|
|
</fold > System.out.println("<fold text='http://en.wikipedia.org/'>simple:website</fold>");<fold text = ' }' >
|
|
}
|
|
|
|
</fold>
|
|
|
|
public static void main1(String[] args)
|
|
|
|
<fold text=' { '>
|
|
|
|
{
|
|
</fold > System.out.println(
|
|
"<fold text='This is the value that could be looked up with the key \"key with spaces\".'>simple:key with " +
|
|
"spaces</fold>");<
|
|
fold text = ' }' >
|
|
}
|
|
|
|
</fold>
|
|
|
|
public static void main2(String[] args)
|
|
|
|
<fold text=' { '>
|
|
|
|
{
|
|
</fold > System.out.println("<fold text='Welcome to \n Wikipedia!'>simple:message</fold>");<
|
|
fold text = ' }' >
|
|
}
|
|
|
|
</fold>
|
|
}
|