Loki
Loki

Reputation: 4128

Eclipse Template Default Value with Dot

I want to have a default value in a String with a dot. I can't save my template when I put in the dot, though. Is it possible to get the dot into the string?

System.out.println("${related.string}");

So I want to have related.string as one string, which means when I get in with the cursor it should behave as one, so if I type something, it should vanish all.

I get the error: Template has incomplete variables. Type '$$' to enter the dollar character. in the UI.

Upvotes: 4

Views: 592

Answers (0)

Related Questions