Oto jak zmienić kolory MySQL Workbench (W TYM KOLOR TŁA).
Otwórz plik XML o nazwie code_editor.xml
znajdujący się w folderze danych katalogu instalacyjnego MySQL Workbench (zwykle C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data
). Tutaj znajdziesz wiele stylów dla różnych elementów kodu, ale niektórych brakuje.
MySQL Workbench używa scintilla jako edytora kodu, a scintilla definiuje kilka innych stylów, których możesz użyć w code_editor.xml
pliku. Kolor tła jest używany jako styl o identyfikatorze 32 .
Oto pełna lista MySQL (scintilla ma tysiące stylów dla wielu języków) z moją konfiguracją:
<style id= "0" fore-color="#DDDDDD" back-color="#2A2A2A" bold="No" />
<style id= "1" fore-color="#999999" back-color="#2A2A2A" bold="No" />
<style id= "2" fore-color="#999999" back-color="#2A2A2A" bold="No" />
<style id= "3" fore-color="#DDDDDD" back-color="#2A2A2A" bold="No" />
<style id= "4" fore-color="#9B859D" back-color="#2A2A2A" bold="No" />
<style id= "5" fore-color="#9B859D" back-color="#2A2A2A" bold="No" />
<style id= "6" fore-color="#FF8080" back-color="#2A2A2A" bold="No" />
<style id= "7" fore-color="#7AAAD7" back-color="#2A2A2A" bold="No" />
<style id= "8" fore-color="#7AAAD7" back-color="#2A2A2A" bold="No" />
<style id= "9" fore-color="#9B859D" back-color="#2A2A2A" bold="No" />
<style id="10" fore-color="#DDDDDD" back-color="#2A2A2A" bold="No" />
<style id="11" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="12" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="13" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="14" fore-color="#FFBB80" back-color="#2A2A2A" bold="No" />
<style id="15" fore-color="#9B859D" back-color="#2A2A2A" bold="No" />
<style id="16" fore-color="#DDDDDD" back-color="#2A2A2A" bold="No" />
<style id="17" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="18" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="19" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="20" fore-color="#B9CB89" back-color="#2A2A2A" bold="No" />
<style id="21" fore-color="#FFBB80" back-color="#707070" bold="No" />
<style id="22" fore-color="#909090" back-color="#707070" bold="No" />
<style id="32" fore-color="#DDDDDD" back-color="#2A2A2A" bold="No" />
<style id="33" fore-color="#2A2A2A" back-color="#DDDDDD" bold="No" />
<style id="65" fore-color="#999999" back-color="#707070" bold="No" />
<style id="66" fore-color="#999999" back-color="#707070" bold="No" />
<style id="67" fore-color="#DDDDDD" back-color="#707070" bold="No" />
<style id="68" fore-color="#9B859D" back-color="#707070" bold="No" />
<style id="69" fore-color="#9B859D" back-color="#707070" bold="No" />
<style id="70" fore-color="#FF8080" back-color="#707070" bold="No" />
<style id="71" fore-color="#7AAAD7" back-color="#707070" bold="No" />
<style id="72" fore-color="#7AAAD7" back-color="#707070" bold="No" />
<style id="73" fore-color="#9B859D" back-color="#707070" bold="No" />
<style id="74" fore-color="#DDDDDD" back-color="#707070" bold="No" />
<style id="75" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="76" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="77" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="78" fore-color="#FFBB80" back-color="#707070" bold="No" />
<style id="79" fore-color="#9B859D" back-color="#707070" bold="No" />
<style id="80" fore-color="#DDDDDD" back-color="#707070" bold="No" />
<style id="81" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="82" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="83" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="84" fore-color="#B9CB89" back-color="#707070" bold="No" />
<style id="85" fore-color="#FFBB80" back-color="#909090" bold="No" />
<style id="86" fore-color="#AAAAAA" back-color="#909090" bold="No" />