Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #229 from idxn/master
Browse files Browse the repository at this point in the history
Changes on context menu
  • Loading branch information
andriyko committed Feb 12, 2019
2 parents 1d3aa01 + 6454484 commit fcd3323
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 38 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.pyc
test/results/*
*.log
58 changes: 29 additions & 29 deletions Context.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -38,189 +38,189 @@
"caption": "Documentation",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-documentation.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-documentation.sublime-snippet"
}
},
{
"caption": "Library",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-library.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-library.sublime-snippet"
}
},
{
"caption": "Resource",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-resource.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-resource.sublime-snippet"
}
},
{
"caption": "Default Tags",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-defaulttags.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-defaulttags.sublime-snippet"
}
},
{
"caption": "Force Tags",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-forcetags.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-forcetags.sublime-snippet"
}
},
{
"caption": "Suite Setup",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-suitesetup.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-suitesetup.sublime-snippet"
}
},
{
"caption": "Suite Teardown",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-suiteteardown.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-suiteteardown.sublime-snippet"
}
},
{
"caption": "Test Setup",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-testsetup.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-testsetup.sublime-snippet"
}
},
{
"caption": "Test Teardown",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-testteardown.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-testteardown.sublime-snippet"
}
},
{
"caption": "Test Template",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-testtemplate.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-testtemplate.sublime-snippet"
}
},
{
"caption": "Test Timeout",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-testtimeout.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-testtimeout.sublime-snippet"
}
},
{
"caption": "Variables",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-variables.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-variables.sublime-snippet"
}
},
{
"caption": "For In",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-for-loop-in.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-for-loop-in.sublime-snippet"
}
},
{
"caption": "For In Range",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-for-loop-inrange.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-for-loop-inrange.sublime-snippet"
}
},
{
"caption": "For In Zip",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-for-loop-inzip.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-for-loop-inzip.sublime-snippet"
}
},
{
"caption": "For In Enumerate",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-for-loop-inenumerate.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-for-loop-inenumerate.sublime-snippet"
}
},
{
"caption": "*** Settings ***",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-setting-table-setting.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-setting-table-setting.sublime-snippet"
}
},
{
"caption": "*** Keywords ***",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-keywords-table-keywords.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-keywords-table-keywords.sublime-snippet"
}
},
{
"caption": "*** Test Cases ***",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testcases-table-testcases.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testcases-table-testcases.sublime-snippet"
}
},
{
"caption": "*** Variables ***",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-variable-table-variable.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-variable-table-variable.sublime-snippet"
}
},
{
"caption": "[Arguments]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-arguments.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-arguments.sublime-snippet"
}
},
{
"caption": "[Documentation]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-documentation.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-documentation.sublime-snippet"
}
},
{
"caption": "[Return]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-return.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-return.sublime-snippet"
}
},
{
"caption": "[Tags]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-tags.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-tags.sublime-snippet"
}
},
{
"caption": "[Template]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-template.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-template.sublime-snippet"
}
},
{
"caption": "[Teardown]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-teardown.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-teardown.sublime-snippet"
}
},
{
"caption": "[Timeout]",
"command": "insert_snippet",
"args": {
"name": "Packages/Robot Framework Assistant/snippets/rfde-testdata-table-timeout.sublime-snippet"
"name": "Packages/RobotFrameworkAssistant/snippets/rfde-testdata-table-timeout.sublime-snippet"
}
}
]
Expand All @@ -243,7 +243,7 @@
"caption": "Edit Build Configuration",
"command": "open_file",
"args": {
"file": "${packages}/Robot Framework Assistant/Robot.sublime-build"
"file": "${packages}/RobotFrameworkAssistant/Robot.sublime-build"
}
}
]
Expand All @@ -255,7 +255,7 @@
"caption": "Settings - Default",
"command": "open_file",
"args": {
"file": "${packages}/Robot Framework Assistant/Robot.sublime-settings"
"file": "${packages}/RobotFrameworkAssistant/Robot.sublime-settings"
}
},
{
Expand Down
5 changes: 3 additions & 2 deletions snippets/rfde-for-loop-in.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<snippet>
<content><![CDATA[
:FOR${RF_CELL}\${${1:index}}${RF_CELL}IN${RF_CELL}@{${2:list}}
\\${RF_CELL}${3:Log}${RF_CELL}\${${1:index}}
FOR${RF_CELL}\${${1:index}}${RF_CELL}IN${RF_CELL}@{${2:list}}
${RF_CELL}${3:Log}${RF_CELL}\${${1:index}}
END
]]>
</content>
<!-- how to trigger the snippet -->
Expand Down
5 changes: 3 additions & 2 deletions snippets/rfde-for-loop-inenumerate.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<snippet>
<content><![CDATA[
:FOR${RF_CELL}\${${1:index}}${RF_CELL}\${${2:item}}${RF_CELL}IN ENUMERATE${RF_CELL}@{${3:list}}
\\${RF_CELL}${4:Log Many}${RF_CELL}\${${1:index}}${RF_CELL}\${${2:item}}
FOR${RF_CELL}\${${1:index}}${RF_CELL}\${${2:item}}${RF_CELL}IN ENUMERATE${RF_CELL}@{${3:list}}
${RF_CELL}${4:Log Many}${RF_CELL}\${${1:index}}${RF_CELL}\${${2:item}}
END
]]>
</content>
<!-- how to trigger the snippet -->
Expand Down
5 changes: 3 additions & 2 deletions snippets/rfde-for-loop-inrange.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<snippet>
<content><![CDATA[
:FOR${RF_CELL}\${${1:index}}${RF_CELL}IN RANGE${RF_CELL}\${${2:10}}
\\${RF_CELL}${3:Log}${RF_CELL}\${${1:index}}
FOR${RF_CELL}\${${1:index}}${RF_CELL}IN RANGE${RF_CELL}\${${2:10}}
${RF_CELL}${3:Log}${RF_CELL}\${${1:index}}
END
]]>
</content>
<!-- how to trigger the snippet -->
Expand Down
5 changes: 3 additions & 2 deletions snippets/rfde-for-loop-inzip.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<snippet>
<content><![CDATA[
:FOR${RF_CELL}\${${1:number}}${RF_CELL}\${${2:name}}${RF_CELL}IN ZIP${RF_CELL}\${${3:numbers}}${RF_CELL}\${${4:names}}
\\${RF_CELL}${5:Log Many}${RF_CELL}\${${1:number}}${RF_CELL}\${${2:name}}
FOR${RF_CELL}\${${1:number}}${RF_CELL}\${${2:name}}${RF_CELL}IN ZIP${RF_CELL}\${${3:numbers}}${RF_CELL}\${${4:names}}
${RF_CELL}${5:Log Many}${RF_CELL}\${${1:number}}${RF_CELL}\${${2:name}}
END
]]>
</content>
<!-- how to trigger the snippet -->
Expand Down
2 changes: 1 addition & 1 deletion snippets/rfde-setting-table-variables.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<snippet>
<content><![CDATA[Variables ]]></content>
<content><![CDATA[${1:\$}{${2:Variables}} ]]></content>
<!-- how to trigger the snippet -->
<tabTrigger>*s</tabTrigger>
<!-- scope to limit where the snippet will trigger -->
Expand Down

0 comments on commit fcd3323

Please sign in to comment.