Robot Framework中RIDE那點(diǎn)點(diǎn)小的字和一片黑,感覺眼睛都要看得瞎掉了,一不小心輸錯(cuò)一個(gè)字母調(diào)試的時(shí)候就出現(xiàn)了問(wèn)題。
萬(wàn)能的google告訴了我答案,原來(lái)它也是可以調(diào)的,嘻嘻~
在使用robot的時(shí)候,在Text Edit模式下,代碼和其他編輯器一樣可以區(qū)分代碼顏色。
1、安裝控件Pygments
F:\Python27\Scripts>pip show pygments
F:\Python27\Scripts>pip install pygments
Collecting pygments
Using cached Pygments-2.2.0-py2.py3-none-any.whl
Installing collected packages: pygments
Successfully installed pygments-2.2.0
F:\Python27\Scripts>pip show pygments
Name: Pygments
Version: 2.2.0
Summary: Pygments is a syntax highlighting package written in Python.
Home-page: http://pygments.org/
Author: Georg Brandl
Author-email: georg@python.org
License: BSD License
Location: f:\python27\lib\site-packages
Requires:
2、打開RIDE
安裝完成后可以在robot的IDE菜單欄 Tools > Preferences > Text Editor
然后設(shè)置你平時(shí)適應(yīng)的顏色和字體啦

image.png

image.png