You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm missing the robot-ts-mode major mode and for now stay with robot-mode.
While playing with the treesit-explore-mode minor mode, I found some strange behavior:
*** Settings ***
Documentation A simple web scraper robot.
... Opens a website.
... Stores the web page text in a file in the output directory.
... Saves a screenshot of an element in the output directory.
Library RPA.Browser.Selenium
Library RPA.FileSystem
*** Tasks ***
Store Web Page Content
Open Available Browser https://robotframework.org/
${text}= Get Text css:body
Create File ${OUTPUT_DIR}${/}text.txt ${text} overwrite=True
Screenshot css:h1 ${OUTPUT_DIR}${/}screenshot.png
[Teardown] Close Browser
---
emacs modeline: task.robot
---
(source_file
(section
(settings_section (section_header)
(setting_statement
(arguments
(argument (text_chunk))
(continuation (ellipses)
(argument (text_chunk)))
(continuation (ellipses)
(argument (text_chunk)))
(continuation (ellipses)
(argument (text_chunk)))))
(setting_statement
(arguments
(argument (text_chunk))))))
(ERROR
(argument (text_chunk))
(ERROR (ERROR) SPC (ERROR) (ERROR) SPC (ERROR) SPC (ERROR) SPC (ERROR) (ERROR) SPC (ERROR) SPC (ERROR) (ERROR)
(ERROR ${ (ERROR) } = (ERROR) SPC (ERROR))
(ERROR)
(ERROR (ERROR) SPC (ERROR) ${ (ERROR) } ${ (ERROR) } (ERROR) ${ (ERROR) })
(ERROR) = (ERROR) (ERROR) (ERROR) ${ (ERROR) } ${ (ERROR) } (ERROR))
(ERROR) SPC (ERROR)))
---
emacs modeline: *tree-sitter explorer for task.robot*
Why the ERRORS? The first one would be the Library on line 8 but I have no idea it isn't resulting in a setting_statement like the Library on line 7.
Is it me and my limited Emacs and Tree-Sitter skills or did I find a bug?
The text was updated successfully, but these errors were encountered:
Nice catch. I forgot that *** Test Case *** is the normal and *** Tasks *** was added later by https://github.com/robocorp, if I got it right, for RPA.
I'm missing the
robot-ts-mode
major mode and for now stay withrobot-mode
.While playing with the
treesit-explore-mode
minor mode, I found some strange behavior:Why the ERRORS? The first one would be the
Library
on line 8 but I have no idea it isn't resulting in asetting_statement
like theLibrary
on line 7.Is it me and my limited Emacs and Tree-Sitter skills or did I find a bug?
The text was updated successfully, but these errors were encountered: