-
-
Notifications
You must be signed in to change notification settings - Fork 28
Region folding RobotFramework #532
-
Hello,
First of all, thank you for your help and support.
We are currently implementing automated tests in our web project and have encountered an issue regarding code folding within our .robot and .resource files. We have not found a way to define sections or regions that allow us to fold parts of our keywords files for easier navigation.
Is there any way to configure custom foldable sections/regions, or to generate an index to improve navigation inside large Robot Framework files?
If not, is there an alternative recommended approach for handling navigation in extensive keyword files?
Thank you in advance for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
What exactly do you want to fold?
Every syntactic robotframework block is foldable. In C# there is something like a #region and #end-region thing, do you mean something like that?
-
There is also the new GROUP Syntax maybe that is interessting for you?
-
In the explorer tab of vscode there is a Keywords view, did you know this?
here you can also press F3 to search for keywords or to filter
- and finally, because you wrote about an index to improve navigation in robot files, do you know all features of VSCode? Especially the code navigation features, see here and take a deeper look into the Open symbol by name and Go to Symbol features
RobotCode supports all kinds of symbols of vscode
Hope this helps?
Beta Was this translation helpful? Give feedback.