Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make code blocks easier (eg Python, R, command line, JS, Sikuli) #82

Closed
kensoh opened this issue Mar 5, 2018 · 2 comments
Closed

Make code blocks easier (eg Python, R, command line, JS, Sikuli) #82

kensoh opened this issue Mar 5, 2018 · 2 comments
Labels

Comments

@kensoh
Copy link
Member

kensoh commented Mar 5, 2018

Now - to make calls and write code for integrations, the respective steps are used. however, each line needs to be preceded by the step name for TagUI to understand that the line is meant for Python or R or others.

For example, the block below. This may be alright for a few lines, for situations where a large number of lines are needed and loading from a file is not preferred it can be tedious to keep typing the step name in front.

py a=1;b=2
py c=a+b
py print c

There - the structure below makes more sense for longer blocks of integrations code. This issue is raised to track this enhancement. Of course, existing code with each line starting with the integration step name should continue to work.

py begin
a=1;b=2
c=a+b
print c
py finish
@kensoh kensoh added the feature label Mar 5, 2018
kensoh added a commit that referenced this issue Mar 5, 2018
see #82 for more details. this commit should make code blocks work for steps py, r, cmd, vision, js, dom (both normal execution and live mode)
@kensoh
Copy link
Member Author

kensoh commented Mar 5, 2018

Above commit should make code blocks work for steps py, r, run, vision, js, dom (both normal execution and live mode). Tested for py step, to test remaining steps before closing issue.

@kensoh
Copy link
Member Author

kensoh commented Mar 6, 2018

Looks good! Tested for steps py, r, run, vision, js, dom for normal and live mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant