Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Region folding RobotFramework #532

Unanswered
richardAlva-r9k asked this question in Q&A
Discussion options

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.

You must be logged in to vote

Replies: 1 comment

Comment options

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?

image

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?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /