Custom rules for file type

Answered

Hello,

I have an ‘properties’ file that i want to add a custom rule/linting to that if a user enters text with a single quote, an error is shown. Is it possible to set this up in intellij IDEA?

Reason being, is we are utilizing the MessageFormat() method which requires double single quotes to be specified.

0
2 comments

Hello, Callum R. Could you please check if setting up the custom inspection as described in this article helps you?

0

Hello,

Yes this is what i was after. Thank you :) 

0

Please sign in to leave a comment.