robotcode 0.87.0__py3-none-any.whl → 0.89.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- robotcode/cli/__version__.py +1 -1
- robotcode-0.89.0.dist-info/METADATA +118 -0
- {robotcode-0.87.0.dist-info → robotcode-0.89.0.dist-info}/RECORD +6 -6
- robotcode-0.87.0.dist-info/METADATA +0 -354
- {robotcode-0.87.0.dist-info → robotcode-0.89.0.dist-info}/WHEEL +0 -0
- {robotcode-0.87.0.dist-info → robotcode-0.89.0.dist-info}/entry_points.txt +0 -0
- {robotcode-0.87.0.dist-info → robotcode-0.89.0.dist-info}/licenses/LICENSE.txt +0 -0
robotcode/cli/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.89.0"
|
@@ -0,0 +1,118 @@
|
|
1
|
+
Metadata-Version: 2.3
|
2
|
+
Name: robotcode
|
3
|
+
Version: 0.89.0
|
4
|
+
Summary: Command line interface for RobotCode
|
5
|
+
Project-URL: Homepage, https://robotcode.io
|
6
|
+
Project-URL: Donate, https://opencollective.com/robotcode
|
7
|
+
Project-URL: Documentation, https://github.com/robotcodedev/robotcode#readme
|
8
|
+
Project-URL: Changelog, https://github.com/robotcodedev/robotcode/blob/main/CHANGELOG.md
|
9
|
+
Project-URL: Issues, https://github.com/robotcodedev/robotcode/issues
|
10
|
+
Project-URL: Source, https://github.com/robotcodedev/robotcode
|
11
|
+
Author-email: Daniel Biehl <dbiehl@live.de>
|
12
|
+
License: Apache-2.0
|
13
|
+
License-File: LICENSE.txt
|
14
|
+
Keywords: Acceptance Test Driven Development,Acceptance Testing,BDD,BDT,Behavior Driven Testing,Data Driven,Debug Adapter Protocol,Keyword Driven,Language Server Protocol,RPA,RobotFramework,Robotic Process Automation,Test,Testing,Visual Studio Code
|
15
|
+
Classifier: Development Status :: 5 - Production/Stable
|
16
|
+
Classifier: Framework :: Robot Framework
|
17
|
+
Classifier: Framework :: Robot Framework :: Tool
|
18
|
+
Classifier: Intended Audience :: Developers
|
19
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
20
|
+
Classifier: Operating System :: OS Independent
|
21
|
+
Classifier: Programming Language :: Python :: 3.8
|
22
|
+
Classifier: Programming Language :: Python :: 3.9
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
27
|
+
Classifier: Topic :: Software Development :: Debuggers
|
28
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
29
|
+
Classifier: Topic :: Software Development :: Testing
|
30
|
+
Classifier: Topic :: Software Development :: Testing :: Acceptance
|
31
|
+
Classifier: Topic :: Software Development :: Testing :: BDD
|
32
|
+
Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
33
|
+
Classifier: Topic :: Utilities
|
34
|
+
Classifier: Typing :: Typed
|
35
|
+
Requires-Python: >=3.8
|
36
|
+
Requires-Dist: robotcode-core==0.89.0
|
37
|
+
Requires-Dist: robotcode-plugin==0.89.0
|
38
|
+
Requires-Dist: robotcode-robot==0.89.0
|
39
|
+
Provides-Extra: all
|
40
|
+
Requires-Dist: docutils; extra == 'all'
|
41
|
+
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
42
|
+
Requires-Dist: rich; extra == 'all'
|
43
|
+
Requires-Dist: robotcode-analyze==0.89.0; extra == 'all'
|
44
|
+
Requires-Dist: robotcode-debugger==0.89.0; extra == 'all'
|
45
|
+
Requires-Dist: robotcode-language-server==0.89.0; extra == 'all'
|
46
|
+
Requires-Dist: robotcode-runner==0.89.0; extra == 'all'
|
47
|
+
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
|
48
|
+
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
|
49
|
+
Provides-Extra: analyze
|
50
|
+
Requires-Dist: robotcode-analyze==0.89.0; extra == 'analyze'
|
51
|
+
Provides-Extra: colored
|
52
|
+
Requires-Dist: rich; extra == 'colored'
|
53
|
+
Provides-Extra: debugger
|
54
|
+
Requires-Dist: robotcode-debugger==0.89.0; extra == 'debugger'
|
55
|
+
Provides-Extra: languageserver
|
56
|
+
Requires-Dist: robotcode-language-server==0.89.0; extra == 'languageserver'
|
57
|
+
Provides-Extra: lint
|
58
|
+
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
|
59
|
+
Provides-Extra: rest
|
60
|
+
Requires-Dist: docutils; extra == 'rest'
|
61
|
+
Provides-Extra: runner
|
62
|
+
Requires-Dist: robotcode-runner==0.89.0; extra == 'runner'
|
63
|
+
Provides-Extra: tidy
|
64
|
+
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
|
65
|
+
Provides-Extra: yaml
|
66
|
+
Requires-Dist: pyyaml>=5.4; extra == 'yaml'
|
67
|
+
Description-Content-Type: text/markdown
|
68
|
+
|
69
|
+
|
70
|
+
# RobotCode - Language Support for Robot Framework in Visual Studio Code
|
71
|
+
|
72
|
+
[](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)
|
73
|
+
[](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)
|
74
|
+
[](https://github.com/robotcodedev/robotcode/actions?query=workflow:build_test_package_publish)
|
75
|
+
[](https://github.com/robotcodedev/robotcode/blob/master/LICENSE)
|
76
|
+
|
77
|
+
[](https://pypi.org/project/robotcode)
|
78
|
+
[](https://pypi.org/project/robotcode)
|
79
|
+
[](https://pypi.org/project/robotcode)
|
80
|
+
|
81
|
+
---
|
82
|
+
|
83
|
+
**RobotCode** is a Visual Studio Code extension that enhances your workflow with [Robot Framework](https://robotframework.org/). It offers features like code completion, debugging, test discovery and execution, refactoring, and more!
|
84
|
+
|
85
|
+
## Key Features
|
86
|
+
|
87
|
+
- **Code Editing**: Enjoy code auto-completion, navigation, syntax checking, and more.
|
88
|
+
- **Command Line Tools**: A wide array of tools to assist in setting up and managing Robot Framework environments.
|
89
|
+
- **Code Formatting**: Format your code using Robot Framework’s built-in tools like `robot.tidy` or [Robotidy](https://robotidy.readthedocs.io/).
|
90
|
+
- **Test Running and Debugging**: Run and debug Robot Framework test cases directly within VS Code.
|
91
|
+
- **Multi-root Workspace Support**: Manage multiple Robot Framework projects with different Python environments simultaneously.
|
92
|
+
- **Code Analysis with Robocop**: Install [Robocop](https://robocop.readthedocs.io/) for additional code analysis.
|
93
|
+
|
94
|
+
## Requirements
|
95
|
+
|
96
|
+
- Python 3.8 or newer
|
97
|
+
- Robot Framework 4.1 or newer
|
98
|
+
- Visual Studio Code 1.86 or newer
|
99
|
+
|
100
|
+
## Getting Started
|
101
|
+
|
102
|
+
1. Install the [RobotCode extension](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode) from the Visual Studio Marketplace.
|
103
|
+
2. Configure your Robot Framework environment with the command-line tools provided by the extension.
|
104
|
+
3. Start writing and running your Robot Framework tests!
|
105
|
+
|
106
|
+
For a more detailed guide, check out the [Let's get started](https://robotcode.io/02_get_started/) Guide on the [RobotCode](https://robotcode.io) website.
|
107
|
+
|
108
|
+
## Extensions
|
109
|
+
|
110
|
+
RobotCode automatically installs the [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) and the [Python Debugger](https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy) extension. Additional extensions may be required depending on your project needs.
|
111
|
+
|
112
|
+
## Documentation
|
113
|
+
|
114
|
+
For more details on installation, setup, and usage, refer to the [official RobotCode documentation](https://robotcode.io).
|
115
|
+
|
116
|
+
## License
|
117
|
+
|
118
|
+
This project is licensed under the [Apache 2.0 License](https://spdx.org/licenses/Apache-2.0.html).
|
@@ -1,12 +1,12 @@
|
|
1
1
|
robotcode/cli/__init__.py,sha256=6c-evRLgJ0NR08YvynBQzKxAesAbXB0fnrzZ7MvBDM0,7115
|
2
2
|
robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
|
3
|
-
robotcode/cli/__version__.py,sha256=
|
3
|
+
robotcode/cli/__version__.py,sha256=0dsP1JW1TkWXOWQ5JFTW7tQopcf-xbHKy_C8NKkqYeA,23
|
4
4
|
robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
5
5
|
robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
|
6
6
|
robotcode/cli/commands/config.py,sha256=fCXhxsotQJl3vMSWpCEM-zwV-tST7sZBH7T-5v9j5EU,10061
|
7
7
|
robotcode/cli/commands/profiles.py,sha256=HUCsNMaK75AVSG_A6F1I209xtQH2AICaoLcqpIO7Vjs,5660
|
8
|
-
robotcode-0.
|
9
|
-
robotcode-0.
|
10
|
-
robotcode-0.
|
11
|
-
robotcode-0.
|
12
|
-
robotcode-0.
|
8
|
+
robotcode-0.89.0.dist-info/METADATA,sha256=RShc6j52gBe8hKiW_T1qWm-FMc2bdptM9cW0PqddK94,6628
|
9
|
+
robotcode-0.89.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
10
|
+
robotcode-0.89.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
|
11
|
+
robotcode-0.89.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
+
robotcode-0.89.0.dist-info/RECORD,,
|
@@ -1,354 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.3
|
2
|
-
Name: robotcode
|
3
|
-
Version: 0.87.0
|
4
|
-
Summary: Command line interface for RobotCode
|
5
|
-
Project-URL: Homepage, https://robotcode.io
|
6
|
-
Project-URL: Donate, https://opencollective.com/robotcode
|
7
|
-
Project-URL: Documentation, https://github.com/robotcodedev/robotcode#readme
|
8
|
-
Project-URL: Changelog, https://github.com/robotcodedev/robotcode/blob/main/CHANGELOG.md
|
9
|
-
Project-URL: Issues, https://github.com/robotcodedev/robotcode/issues
|
10
|
-
Project-URL: Source, https://github.com/robotcodedev/robotcode
|
11
|
-
Author-email: Daniel Biehl <dbiehl@live.de>
|
12
|
-
License: Apache-2.0
|
13
|
-
License-File: LICENSE.txt
|
14
|
-
Keywords: Acceptance Test Driven Development,Acceptance Testing,BDD,BDT,Behavior Driven Testing,Data Driven,Debug Adapter Protocol,Keyword Driven,Language Server Protocol,RPA,RobotFramework,Robotic Process Automation,Test,Testing,Visual Studio Code
|
15
|
-
Classifier: Development Status :: 5 - Production/Stable
|
16
|
-
Classifier: Framework :: Robot Framework
|
17
|
-
Classifier: Framework :: Robot Framework :: Tool
|
18
|
-
Classifier: Intended Audience :: Developers
|
19
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
20
|
-
Classifier: Operating System :: OS Independent
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
22
|
-
Classifier: Programming Language :: Python :: 3.9
|
23
|
-
Classifier: Programming Language :: Python :: 3.10
|
24
|
-
Classifier: Programming Language :: Python :: 3.11
|
25
|
-
Classifier: Programming Language :: Python :: 3.12
|
26
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
27
|
-
Classifier: Topic :: Software Development :: Debuggers
|
28
|
-
Classifier: Topic :: Software Development :: Quality Assurance
|
29
|
-
Classifier: Topic :: Software Development :: Testing
|
30
|
-
Classifier: Topic :: Software Development :: Testing :: Acceptance
|
31
|
-
Classifier: Topic :: Software Development :: Testing :: BDD
|
32
|
-
Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
33
|
-
Classifier: Topic :: Utilities
|
34
|
-
Classifier: Typing :: Typed
|
35
|
-
Requires-Python: >=3.8
|
36
|
-
Requires-Dist: robotcode-core==0.87.0
|
37
|
-
Requires-Dist: robotcode-plugin==0.87.0
|
38
|
-
Requires-Dist: robotcode-robot==0.87.0
|
39
|
-
Provides-Extra: all
|
40
|
-
Requires-Dist: docutils; extra == 'all'
|
41
|
-
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
42
|
-
Requires-Dist: rich; extra == 'all'
|
43
|
-
Requires-Dist: robotcode-analyze==0.87.0; extra == 'all'
|
44
|
-
Requires-Dist: robotcode-debugger==0.87.0; extra == 'all'
|
45
|
-
Requires-Dist: robotcode-language-server==0.87.0; extra == 'all'
|
46
|
-
Requires-Dist: robotcode-runner==0.87.0; extra == 'all'
|
47
|
-
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
|
48
|
-
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
|
49
|
-
Provides-Extra: analyze
|
50
|
-
Requires-Dist: robotcode-analyze==0.87.0; extra == 'analyze'
|
51
|
-
Provides-Extra: colored
|
52
|
-
Requires-Dist: rich; extra == 'colored'
|
53
|
-
Provides-Extra: debugger
|
54
|
-
Requires-Dist: robotcode-debugger==0.87.0; extra == 'debugger'
|
55
|
-
Provides-Extra: languageserver
|
56
|
-
Requires-Dist: robotcode-language-server==0.87.0; extra == 'languageserver'
|
57
|
-
Provides-Extra: lint
|
58
|
-
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
|
59
|
-
Provides-Extra: rest
|
60
|
-
Requires-Dist: docutils; extra == 'rest'
|
61
|
-
Provides-Extra: runner
|
62
|
-
Requires-Dist: robotcode-runner==0.87.0; extra == 'runner'
|
63
|
-
Provides-Extra: tidy
|
64
|
-
Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
|
65
|
-
Provides-Extra: yaml
|
66
|
-
Requires-Dist: pyyaml>=5.4; extra == 'yaml'
|
67
|
-
Description-Content-Type: text/markdown
|
68
|
-
|
69
|
-
# RobotCode - Language support for Robot Framework for Visual Studio Code
|
70
|
-
|
71
|
-
[](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)
|
72
|
-
[](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)
|
73
|
-
[](https://github.com/robotcodedev/robotcode/actions?query=workflow:build_test_package_publish)
|
74
|
-
[](https://github.com/robotcodedev/robotcode/blob/master/LICENSE)
|
75
|
-
|
76
|
-
[](https://pypi.org/project/robotcode)
|
77
|
-
[](https://pypi.org/project/robotcode)
|
78
|
-
[](https://pypi.org/project/robotcode/)
|
79
|
-
|
80
|
-
----
|
81
|
-
|
82
|
-
An [extension](https://marketplace.visualstudio.com/VSCode) which brings support for [RobotFramework](https://robotframework.org/)
|
83
|
-
to [Visual Studio Code](https://code.visualstudio.com/), including [features](#features) like code completion, debugging, test explorer, refactoring and more!
|
84
|
-
|
85
|
-
## Quick start
|
86
|
-
|
87
|
-
1. [Install a supported version of Python on your system](https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites)
|
88
|
-
(note: only Python 3.8 and above are supported)
|
89
|
-
|
90
|
-
2. [Install a supported version of RobotFramwork on your system](https://github.com/robotframework/robotframework/blob/master/INSTALL.rst) (note: only RobotFramework 4.1 and above are supported)
|
91
|
-
|
92
|
-
3. [Install the RobotCode extension for Visual Studio Code](https://code.visualstudio.com/docs/editor/extension-gallery).
|
93
|
-
4. Open or create a robot file and start coding! 😉
|
94
|
-
|
95
|
-
|
96
|
-
## Requirements
|
97
|
-
|
98
|
-
* Python 3.8 or above
|
99
|
-
* Robotframework 4.1 and above
|
100
|
-
* VSCode version 1.82 and above
|
101
|
-
|
102
|
-
|
103
|
-
## Features
|
104
|
-
|
105
|
-
With RobotCode you can edit your code with auto-completion, code navigation, syntax checking and many more.
|
106
|
-
Here is a list of Features:
|
107
|
-
|
108
|
-
- [RobotCode - Language support for Robot Framework for Visual Studio Code](#robotcode---language-support-for-robot-framework-for-visual-studio-code)
|
109
|
-
- [Quick start](#quick-start)
|
110
|
-
- [Requirements](#requirements)
|
111
|
-
- [Features](#features)
|
112
|
-
- [Autocomplete and IntelliSense](#autocomplete-and-intellisense)
|
113
|
-
- [Code Navigation](#code-navigation)
|
114
|
-
- [Diagnostics and Linting](#diagnostics-and-linting)
|
115
|
-
- [Code Formatting](#code-formatting)
|
116
|
-
- [Running and Debugging](#running-and-debugging)
|
117
|
-
- [Multi-root Workspace folders](#multi-root-workspace-folders)
|
118
|
-
- [Installed extensions](#installed-extensions)
|
119
|
-
- [Setting up your environment](#setting-up-your-environment)
|
120
|
-
- [With pipenv](#with-pipenv)
|
121
|
-
- [Customization](#customization)
|
122
|
-
- [Editor Style](#editor-style)
|
123
|
-
|
124
|
-
### Autocomplete and IntelliSense
|
125
|
-
|
126
|
-
Autocompletion for:
|
127
|
-
- Libraries with parameters
|
128
|
-
- Resources,
|
129
|
-
- Variables
|
130
|
-
- Keywords with parameters
|
131
|
-
- Namespaces
|
132
|
-
|
133
|
-

|
134
|
-
|
135
|
-
Autocompletion supports all supported variables types
|
136
|
-
- local variables
|
137
|
-
- variables from resource files
|
138
|
-
- variables from variables file (.py and .yaml)
|
139
|
-
- static and dynamic
|
140
|
-
- command line variables
|
141
|
-
- builtin variables
|
142
|
-
|
143
|
-

|
144
|
-
|
145
|
-
### Code Navigation
|
146
|
-
|
147
|
-
- Symbols
|
148
|
-
- Goto definitions and implementations
|
149
|
-
- Keywords
|
150
|
-
- Variables
|
151
|
-
- Libraries
|
152
|
-
- Resources
|
153
|
-
- Find references
|
154
|
-
- Keywords
|
155
|
-
- Variables
|
156
|
-
- Imports
|
157
|
-
- Libraries
|
158
|
-
- Resources
|
159
|
-
- Variables
|
160
|
-
- Tags
|
161
|
-
- Errors and Warnings
|
162
|
-
|
163
|
-
### Diagnostics and Linting
|
164
|
-
|
165
|
-
RobotCode analyse your code and show diagnostics for:
|
166
|
-
- Syntax Errors
|
167
|
-
- Unknown keywords
|
168
|
-
- Duplicate keywords
|
169
|
-
- Missing libraries, resource and variable imports
|
170
|
-
- Duplicate libraries, resource and variable imports
|
171
|
-
- ... and many more
|
172
|
-
|
173
|
-
For most things RobotCode uses the installed RobotFramework version to parse and analyse the code, so you get the same errors as when you run it.
|
174
|
-
|
175
|
-
|
176
|
-
Get additional code analysis with [Robocop](https://robocop.readthedocs.io/). Just install it in your python environment.
|
177
|
-
|
178
|
-
### Code Formatting
|
179
|
-
|
180
|
-
RobotCode can format your code with the internal RobotFramework robot.tidy tool (deprecated), but also with [Robotidy](https://robotidy.readthedocs.io/). Just install it.
|
181
|
-
|
182
|
-
### Running and Debugging
|
183
|
-
|
184
|
-
RobotCode supports running and debugging of RobotFramework testcases and tasks out of the box, directly from the definition of the test or suite.
|
185
|
-
|
186
|
-

|
187
|
-
|
188
|
-
In the debug console you can see all log messages of the current run and navigate to the keyword the message was written by.
|
189
|
-
|
190
|
-
### Multi-root Workspace folders
|
191
|
-
|
192
|
-
RobotCodes support for [Multi-root Workspaces](https://code.visualstudio.com/docs/editor/multi-root-workspaces), enables loading and editing different Robotframework projects/folders with different RobotFramework/Python environments and settings at the same time or you can share the same RobotFramework/Python environment and settings for all folders in the workspace.
|
193
|
-
|
194
|
-
|
195
|
-
## Installed extensions
|
196
|
-
|
197
|
-
RobotCode will automatically install [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python).
|
198
|
-
|
199
|
-
Extensions installed through the marketplace are subject to the [Marketplace Terms of Use](https://cdn.vsassets.io/v/M146_20190123.39/_content/Microsoft-Visual-Studio-Marketplace-Terms-of-Use.pdf).
|
200
|
-
|
201
|
-
|
202
|
-
## Setting up your environment
|
203
|
-
|
204
|
-
You can alway use your local python environment, just select the correct python interpreter in Visual Studio Code.
|
205
|
-
|
206
|
-
### With pipenv
|
207
|
-
|
208
|
-
This is the simpliest way to create an running environment.
|
209
|
-
|
210
|
-
- As a prerequisite you need to install [pipenv](https://pipenv.pypa.io/) like this:
|
211
|
-
|
212
|
-
```bash
|
213
|
-
python -m pip install pipenv
|
214
|
-
```
|
215
|
-
|
216
|
-
|
217
|
-
- Create your project directory (robottest is just an example)
|
218
|
-
```bash
|
219
|
-
mkdir robottest
|
220
|
-
cd robottest
|
221
|
-
```
|
222
|
-
- Install robotframework
|
223
|
-
```bash
|
224
|
-
python -m pipenv install robotframework
|
225
|
-
```
|
226
|
-
- Open project in VSCode
|
227
|
-
- Set the python interpreter to the created virtual environment
|
228
|
-
|
229
|
-
|
230
|
-
## Customization
|
231
|
-
|
232
|
-
### Editor Style
|
233
|
-
|
234
|
-
You can change some stylings for RobotFramework files in VSCode editor, independently of the current theme. (see [Customizing a Color Theme](https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme))
|
235
|
-
|
236
|
-
See the difference:
|
237
|
-
|
238
|
-
| Before | After |
|
239
|
-
| ---------------------------------------------------------------- | ---------------------------------------------------------- |
|
240
|
-
|  |  |
|
241
|
-
|
242
|
-
|
243
|
-
As a template you can put the following code to your user settings of VSCode.
|
244
|
-
|
245
|
-
Open the user `settings.json` like this:
|
246
|
-
|
247
|
-
<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> or <kbd>F1</kbd> or <kbd>CMD</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>
|
248
|
-
|
249
|
-
and then type:
|
250
|
-
|
251
|
-
`Preferences: Open Settings (JSON)`
|
252
|
-
|
253
|
-
put this to the `settings.json`
|
254
|
-
|
255
|
-
```jsonc
|
256
|
-
"editor.tokenColorCustomizations": {
|
257
|
-
"textMateRules": [
|
258
|
-
{
|
259
|
-
"scope": "variable.function.keyword-call.inner.robotframework",
|
260
|
-
"settings": {
|
261
|
-
"fontStyle": "italic"
|
262
|
-
}
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"scope": "variable.function.keyword-call.robotframework",
|
266
|
-
"settings": {
|
267
|
-
//"fontStyle": "bold"
|
268
|
-
}
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"scope": "string.unquoted.embeddedArgument.robotframework",
|
272
|
-
"settings": {
|
273
|
-
"fontStyle": "italic"
|
274
|
-
}
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"scope": "entity.name.function.testcase.name.robotframework",
|
278
|
-
"settings": {
|
279
|
-
"fontStyle": "bold underline"
|
280
|
-
}
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"scope": "entity.name.function.keyword.name.robotframework",
|
284
|
-
"settings": {
|
285
|
-
"fontStyle": "bold italic"
|
286
|
-
}
|
287
|
-
},
|
288
|
-
{
|
289
|
-
"scope": "variable.name.readwrite.robotframework",
|
290
|
-
"settings": {
|
291
|
-
//"fontStyle": "italic",
|
292
|
-
}
|
293
|
-
},
|
294
|
-
{
|
295
|
-
"scope": "keyword.control.import.robotframework",
|
296
|
-
"settings": {
|
297
|
-
"fontStyle": "italic"
|
298
|
-
}
|
299
|
-
},
|
300
|
-
{
|
301
|
-
"scope": "keyword.other.header.setting.robotframework",
|
302
|
-
"settings": {
|
303
|
-
"fontStyle": "bold underline"
|
304
|
-
}
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"scope": "keyword.other.header.variable.robotframework",
|
308
|
-
"settings": {
|
309
|
-
"fontStyle": "bold underline"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"scope": "keyword.other.header.testcase.robotframework",
|
314
|
-
"settings": {
|
315
|
-
"fontStyle": "bold underline"
|
316
|
-
}
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"scope": "keyword.other.header.keyword.robotframework",
|
320
|
-
"settings": {
|
321
|
-
"fontStyle": "bold underline"
|
322
|
-
}
|
323
|
-
},
|
324
|
-
{
|
325
|
-
"scope": "keyword.other.header.setting.robotframework",
|
326
|
-
"settings": {
|
327
|
-
"fontStyle": "bold underline"
|
328
|
-
}
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"scope": "keyword.other.header.comment.robotframework",
|
332
|
-
"settings": {
|
333
|
-
"fontStyle": "bold italic underline"
|
334
|
-
}
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"scope": "string.unquoted.escape.robotframework",
|
338
|
-
"settings": {
|
339
|
-
//"foreground": "#FF0000",
|
340
|
-
}
|
341
|
-
}
|
342
|
-
]
|
343
|
-
},
|
344
|
-
|
345
|
-
"editor.semanticTokenColorCustomizations": {
|
346
|
-
"rules": {
|
347
|
-
"*.documentation:robotframework": {
|
348
|
-
"fontStyle": "italic",
|
349
|
-
//"foreground": "#aaaaaa"
|
350
|
-
}
|
351
|
-
}
|
352
|
-
}
|
353
|
-
|
354
|
-
```
|
File without changes
|
File without changes
|
File without changes
|