Is there a way to create custom @ syntax or intention actions?
Does anyone know if it's possible to create a custom context that highlights certain lines in a similar way to the @ context (@return, @returns, @param, etc.) or the intention actions (TODO, BUG, etc.)? My team uses “@Note: ” in comments for small notes for potential changes. E.g. “@Note: If we wanted to … here, we would change this to … .” It would be really nice to be able to highlight these notes in the same way things like @param or TODO are highlighted.
Please sign in to leave a comment.
Yes, you can create your custom TODO patterns as below. In Settings | Editor | TODO, add your custom Patterns and Filters.
There are detailed examples in Rider and IDEA documentation.