Errors highlighted in language injections


I'm writing markdown text with fenced blocks, like this:


some Scala code here...


The editor insists on syntax highlighting the code (which is fine) but also on reporting all sorts of errors.  These are code snippets used for illustration.  They don't make sense on their own, so of course all sorts of things are undefined or even use incorrect syntax.

How do I turn all inspections off for such code snippets?




Comment actions Permalink

Hi Michel,

I have filed an issue in the tracker:, this is indeed a serious usability problem.

Please leave comments there is you have the vision or any suggestions concerning the possible solution.

Thanks for the feedback!


Please sign in to leave a comment.