Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Creating rules for hiding rows
Sakke Wiik
Created
Is there a way to create rules for hiding rows in the editor, just like the import statements can be hidden? I would like to be able to hide rows with log statements for example.
SW> Is there a way to create rules for hiding rows in the editor, just SW> like the import statements can be hidden? I would like to be able to SW> hide rows with log statements for example.
It's not configurable through the UI, but you can create a plugin which manipulates the FoldingModel of the editor to create fold regions for the lines which you want to be folded.
-- Dmitry Jemerov Software Developer JetBrains, Inc. http://www.jetbrains.com "Develop with pleasure!"
SW>> Is there a way to create rules for hiding rows in the editor, just SW>> like the import statements can be hidden? I would like to be able SW>> to hide rows with log statements for example. SW>>
It's not configurable through the UI, but you can create a plugin which manipulates the FoldingModel of the editor to create fold regions for the lines which you want to be folded.
Hello Sakke,
SW> Is there a way to create rules for hiding rows in the editor, just
SW> like the import statements can be hidden? I would like to be able to
SW> hide rows with log statements for example.
It's not configurable through the UI, but you can create a plugin which manipulates
the FoldingModel of the editor to create fold regions for the lines which
you want to be folded.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Alternatively you can fold current selection in editor by pressing Ctrl+Period.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
SW>> Is there a way to create rules for hiding rows in the editor, just
SW>> like the import statements can be hidden? I would like to be able
SW>> to hide rows with log statements for example.
SW>>