Skip to content

Commit 2e77683

Browse files
Project settings (#2985)
* Initial creation of settings if .robot directory exists in project dir. * Correct settings to edit, ut always starts with wrong. Ignore command line arguments * Still does not update preferences colors. Needs to reload Text Editor and Test Runner * Improve settings change in Tree when changed project. TODO reload plugins * Fix opening last file, independent of project settings * Initial dialog to restart RIDE, when project settings detected * Working Reload on project settings. Missing restore on not project, fix exceptions. * Complete project settings detection and restore * Implenent project settings in Windows * Initial utest for Project Settings.
1 parent d18c1d2 commit 2e77683

File tree

7 files changed

+1622
-0
lines changed

7 files changed

+1622
-0
lines changed
Lines changed: 235 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
settings_version = 8
2+
mainframe size = (1100, 700)
3+
mainframe position = (265, 73)
4+
mainframe maximized = False
5+
default directory = '/home2/helio/github/RIDE/utest/resources/robotdata/test_project/empty_project_settings'
6+
list variable columns = 4
7+
list col min width = 120
8+
list col max width = 350
9+
# Auto imports is a list of libraries whose keywords are always visible in keyword completion.
10+
# If the library needs arguments, they follow the library name with '|' as a separator.
11+
# Example: auto imports = ['MyLib', 'AnotherLibraryWithArgs|arg1|arg2']
12+
auto imports = []
13+
# Locations to add into PYTHONPATH. Non-absolute paths are considered relative
14+
# to the directory where RIDE starts. Backslashes must be escaped by doubling
15+
# them (\\). Alternatively it is possible to use forward slash (/) as the path
16+
# separator regardless the operating systems.
17+
# Example: pythonpath = ['c:/robot/testlibs', 'd:/project/resources']
18+
pythonpath = []
19+
library xml directories = []
20+
txt number of spaces = 4
21+
txt format separator = 'space'
22+
line separator = 'native'
23+
default file format = 'robot'
24+
tasks = False
25+
reformat = False
26+
# doc language: Test Suites will have sections and parameters in the selected language
27+
# doc language: Possible values are the ones from Robot Framework >= 6.0.
28+
doc language = ''
29+
# the style of the tabs in notebook pages, Edit, Text, Run. Values from 0 to 5.
30+
notebook theme = 0
31+
install root = '/home2/helio/github/RIDE/src/robotide'
32+
executable = '/opt/venv/bin/python'
33+
AUI Perspective = 'layout2|name=right_pane;caption=;minimode=1;state=67373052;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=1;besth=1;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1;notebookid=-1;transparent=255|name=notebook_editors;caption=;minimode=1;state=768;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=0;besth=0;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1;notebookid=-1;transparent=255|name=maintoolbar;caption=;minimode=1;state=67379964;dir=1;layer=10;row=0;pos=331;prop=100000;bestw=327;besth=26;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1;notebookid=-1;transparent=255|name=tree_content;caption=Test Suites;minimode=1;state=264188;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=275;besth=269;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=124;floaty=415;floatw=275;floath=269;notebookid=-1;transparent=255|name=file_manager;caption=Files;minimode=1;state=264188;dir=4;layer=0;row=0;pos=1;prop=100000;bestw=223;besth=288;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1;notebookid=-1;transparent=255|dock_size(2,0,0)=10|dock_size(5,0,0)=10|dock_size(1,10,0)=28|dock_size(4,0,0)=225|'
34+
AUI NB Perspective = 'panel689a54ef0000143400000002=+0,1,2@layout2|name=dummy;caption=;minimode=1;state=67372030;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=421;besth=310;minw=421;minh=310;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1;notebookid=-1;transparent=255|name=panel689a54ef0000143400000002;caption=;minimode=1;state=67371516;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=0;besth=0;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1;notebookid=-1;transparent=255|dock_size(5,0,0)=10|'
35+
version_shown = 'v2.2dev41'
36+
check for updates = True
37+
last update check = 1757374014.5198472
38+
robot types = ['robot', 'resource', 'txt', 'tsv']
39+
test case file settings open = False
40+
init file settings open = False
41+
last_settings_path = '/home/helio/.robotframework/ride/settings_1961.cfg'
42+
test case settings open = False
43+
44+
[General]
45+
font size = 10
46+
font face = 'Source Code Pro'
47+
foreground = '#8FF0A4'
48+
background = '#008080'
49+
secondary foreground = '#FFFF00'
50+
secondary background = '#4A060B'
51+
background help = '#FFBE6F'
52+
foreground text = '#613583'
53+
apply to panels = True
54+
ui language = 'English'
55+
# file manager: When set to full path or known command use it to open folders
56+
;file manager = None
57+
58+
[Text Edit]
59+
font size = 10
60+
zoom factor = 0
61+
font face = 'Noto Sans'
62+
# caret style = 'line': or caret style = 'block' (better visibility), it will use the color of 'setting' or better calculated
63+
caret style = 'block'
64+
# Fold symbols are as described at wxPython demo:
65+
# 0 == Arrow pointing right for contracted folders, arrow pointing down for expanded
66+
# 1 == Plus for contracted folders, minus for expanded
67+
# 2 == Like a flattened tree control using circular headers and curved joins
68+
# 3 == Like a flattened tree control using square headers
69+
fold symbols = 2
70+
# Show tab indentation markers
71+
tab markers = True
72+
argument = '#bb8844'
73+
comment = '#613583'
74+
error = '#F66151'
75+
gherkin = '#3584E4'
76+
heading = '#036EA8'
77+
import = '#9141AC'
78+
keyword = '#1C71D8'
79+
separator = '#5E5C64'
80+
setting = '#26A269'
81+
syntax = '#613583'
82+
tc_kw_name = '#1A5FB4'
83+
variable = '#008080'
84+
background = '#F6F5F4'
85+
enable auto suggestions = True
86+
87+
[Grid]
88+
font size = 10
89+
font face = ''
90+
zoom factor = 0
91+
fixed font = False
92+
col size = 150
93+
max col size = 450
94+
auto size cols = False
95+
text user keyword = 'blue'
96+
text library keyword = '#0080C0'
97+
text variable = 'forest green'
98+
text unknown variable = 'purple'
99+
text commented = 'firebrick'
100+
text string = 'black'
101+
text empty = 'black'
102+
background assign = '#CADEF7'
103+
background keyword = '#CADEF7'
104+
background mandatory = '#D3D3D3'
105+
background optional = '#F9D7BA'
106+
background must be empty = '#C0C0C0'
107+
background unknown = '#E8B636'
108+
background error = '#FF9385'
109+
background highlight = '#FFFF77'
110+
word wrap = True
111+
enable auto suggestions = True
112+
# filter newlines: When enabled, newlines are not shown as \n in the cells. On Windows this may cause a lock.
113+
filter newlines = False
114+
115+
[Plugins]
116+
[[Test Runner]]
117+
font size = 10
118+
font face = 'Noto Sans'
119+
foreground = '#F6F5F4'
120+
background = '#241F31'
121+
error = 'red'
122+
use colors = True
123+
fail color = '#FF8E8E'
124+
pass color = '#9FCC9F'
125+
skip color = 'yellow'
126+
profile_name = 'robot'
127+
run_profiles = [('other profile', 'robot')]
128+
auto_save = False
129+
confirm run = True
130+
show_console_log = True
131+
show_message_log = True
132+
active_status_bar = True
133+
sash_position = 200
134+
_enabled = True
135+
robot_arguments = ''
136+
137+
[[File Explorer]]
138+
font size = 10
139+
font face = 'Source Code Pro'
140+
foreground = '#8FF0A4'
141+
background = '#008080'
142+
secondary foreground = 'black'
143+
secondary background = 'light grey'
144+
background help = '#FFBE6F'
145+
foreground text = '#613583'
146+
own colors = False
147+
opened = True
148+
docked = True
149+
_enabled = True
150+
151+
[[Tree]]
152+
font size = 10
153+
font face = 'Source Code Pro'
154+
foreground = '#8FF0A4'
155+
background = '#008080'
156+
secondary foreground = 'black'
157+
secondary background = 'light grey'
158+
background help = '#FFBE6F'
159+
foreground text = '#613583'
160+
own colors = False
161+
opened = True
162+
docked = True
163+
_enabled = True
164+
165+
[[Preview]]# This plugin is not usable since RIDE 2.1 (and Robot Framework 3.2.1)
166+
format = 'HTML'
167+
_enabled = False
168+
169+
[[Run Anything]]# This is here just because of unit tests
170+
foreground = 'black'
171+
brackground = 'light grey'
172+
configs = []
173+
_enabled = True
174+
175+
[[Library Finder]]
176+
_enabled = True
177+
[[[AppiumLibrary]]]
178+
command = ['%executable -m pip install -U robotframework-appiumlibrary']
179+
documentation = 'https://serhatbolsu.github.io/robotframework-appiumlibrary/AppiumLibrary.html'
180+
[[[AxeLibrary]]]
181+
command = ['%executable -m pip install -U robotframework-axelibrary']
182+
documentation = 'https://robotframework-axelibrary.netlify.app/'
183+
[[[Browser]]]
184+
command = ['node -v', '%executable -m pip install -U robotframework-browser', '%executable -m Browser.entry init']
185+
documentation = 'https://marketsquare.github.io/robotframework-browser/Browser.html'
186+
[[[CSVLibrary]]]
187+
command = ['%executable -m pip install -U robotframework-csvlibrary']
188+
documentation = 'https://rawgit.com/s4int/robotframework-CSVLibrary/master/doc/CSVLibrary.html'
189+
[[[DatabaseLibrary]]]
190+
command = ['%executable -m pip install -U robotframework-databaselibrary']
191+
documentation = 'https://marketsquare.github.io/Robotframework-Database-Library/'
192+
[[[DataDriver]]]
193+
command = ['%executable -m pip install --upgrade robotframework-datadriver[XLS]']
194+
documentation = 'https://github.com/Snooz82/robotframework-datadriver'
195+
[[[ImageHorizonLibrary]]]
196+
command = ['%executable -m pip install -U robotframework-imagehorizonlibrary']
197+
documentation = 'https://eficode.github.io/robotframework-imagehorizonlibrary/doc/ImageHorizonLibrary.html'
198+
[[[RequestsLibrary]]]
199+
command = ['%executable -m pip install -U robotframework-requests']
200+
documentation = 'https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html'
201+
[[[SeleniumLibrary]]]
202+
command = ['%executable -m pip install -U robotframework-seleniumlibrary']
203+
documentation = 'https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html'
204+
[[[SikuliLibrary]]]
205+
command = ['%executable -m pip install -U https://github.com/MarketSquare/robotframework-SikuliLibrary/releases/download/v2.0.5/robotframework_sikulilibrary-2.0.5-py3-none-any.whl']
206+
documentation = 'https://marketsquare.github.io/robotframework-SikuliLibrary/docs/SikuliLibrary.html'
207+
[[[SSHLibrary]]]
208+
command = ['%executable -m pip install -U robotframework-sshlibrary']
209+
documentation = 'https://marketsquare.github.io/SSHLibrary/SSHLibrary.html'
210+
[[Log]]
211+
log_to_console = False
212+
log_to_file = True
213+
_enabled = True
214+
[[Recent Files]]
215+
recent_files = ['/home2/helio/github/RIDE/utest/resources/robotdata/test_project/no_project_settings', '/home/helio/Test/Robot/test_empty', '/home/helio/Test/Robot/pyautogui', '/home2/helio/Test/Robot/optional_embedded_arg.robot']
216+
max_number_of_files = 4
217+
_enabled = True
218+
[[Spec Importer]]
219+
_enabled = True
220+
[[Editor]]
221+
_enabled = True
222+
[[Text Editor]]
223+
_enabled = True
224+
[[Keyword Search]]
225+
_enabled = True
226+
[[Test Search]]
227+
_enabled = True
228+
[[Shortcut]]
229+
desktop_shortcut_exists = False
230+
initial_project = None
231+
_enabled = True
232+
[[Parser Log]]
233+
log_to_console = False
234+
log_to_file = True
235+
_enabled = True

0 commit comments

Comments
 (0)