Anyway to control the formatting of annotations based on their package name?


I find myself wanting to easily separate annotations related to openapi from non-openapi

Is there any way I can control how annotations are displayed back on their package names?


I simply want to hide all open api annotations in code I’m looking at. I guess one way could be to remove all Open api imports but I want something that hides them from view.


There is no built-in feature for that. There is a feature request for the behaviour, but it is not quite popular:

Feel free to vote, so it becomes more attractive for developers.

You can use custom collapse regions, but it will be required to write more code in the sources.



Please sign in to leave a comment.