Go Down

Topic: Arduino Theme Editor (Read 13342 times) previous topic - next topic

Jeffmx

Oct 05, 2013, 09:24 am Last Edit: Oct 05, 2013, 07:09 pm by Jeffmx Reason: 1
Hi guys !!!
I take advantage of my free time and made this program. It is useful to change the regular arduino theme. Try it and say what do you think about it.




taz8du29

great job !

i think you have to add only one thing and it's perfect : adding our own buttons images and a small pixel by pixel image editor  ;)

Jeffmx

#2
Oct 07, 2013, 11:23 pm Last Edit: Oct 08, 2013, 09:22 pm by Jeffmx Reason: 1
I continue working in this project. I recently added some features like:

- The application is able to install "Fonts" from the "THEME_RES\Theme Font\Font" Folder
- The application is able to identify the version of Arduino
- The application is able to copy the "preferences.txt" file
- The application is able to Edit the "preferences.txt" file. (Change the editorĀ“s font)
- The application detect Folders inside of "THEME_RES"  (Maximun 10 Themes)
- Based on: http://forum.arduino.cc/index.php?PHPSESSID=52pn9frosl5fis58s2bhhnpt73&topic=134198.0  I added the Solarized Theme.  Thanks to "loglow" for the Icons   :)



Download Arduino_Theme_Editor_V1.1:

All comments are welcome even the language advices

robtillaart

Au, those colours really hurt my eyes :)

- If I have multiple editors open, can they be colored differently?
- does the serial monitor also follow the colour scheme?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

robtillaart

Please do not crosspost and merge this post with the other thread that is already responded to .

Cross-posting costs a lot of time ...
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Coding Badly


Jeffmx

#6
Oct 08, 2013, 09:21 pm Last Edit: Oct 08, 2013, 09:47 pm by Jeffmx Reason: 1
Thanks and sorry for the spam  :smiley-roll-sweat:

- If I have multiple editors open, can they be colored differently?
The application uses directly the Arduino files (theme.txt and preferences.txt). So Arduino only can have one configuration or Theme. But you can have multiple Arduino folders and change the theme for each one. Arduino1 (theme1.txt, preferences1.txt) , Arduino2 (theme2.txt, preferences2.txt) , ArduinoN (themeN.txt, preferencesN.txt)

- does the serial monitor also follow the colour scheme?
The serial monitor is not affected.

taz8du29

Ow sh** !!!

This last theme is just beautiful !! Continue like this, it's a great job ! and and big thanks for the syntax highlighting !

graynomad

Error, see attached.

From Edit>Editor Font

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Jeffmx

Graynomad sorry for the delay !!!

About your question this program was tested under Arduino IDE version 1.0.1 , 1.0.5 and 1.5.4 probably if you are using a differente version it does not work because the path is different.

Switch (Get_Arduino_Version())
            Case "1.0.1" Or "1.0.5"
              $Preferences_File_Path = @AppDataDir&"\Arduino\preferences.txt"
            Case "1.5.4"
              $Preferences_File_Path = @AppDataDir&"\Arduino15\preferences.txt"
            Case Else
              MsgBox (16,"Error","Arduino preferences file was not found.")
         EndSwitch

So, what version of Arduino IDE are you using ?

frankygoop

Hello Jeffmx,
I am using the latest Arduino 1.6.8 and this version of the editor does not works as you explained above, is there any new version?
Thanks

llaves

Graynomad sorry for the delay !!!

About your question this program was tested under Arduino IDE version 1.0.1 , 1.0.5 and 1.5.4 probably if you are using a differente version it does not work because the path is different.

Switch (Get_Arduino_Version())
   Case "1.0.1" Or "1.0.5"
  $Preferences_File_Path = @AppDataDir&"\Arduino\preferences.txt"
   Case "1.5.4"
  $Preferences_File_Path = @AppDataDir&"\Arduino15\preferences.txt"
   Case Else
  MsgBox (16,"Error","Arduino preferences file was not found.")
 EndSwitch

So, what version of Arduino IDE are you using ?
If this is what the code currently contains, then the editor will fail on the current version of the IDE. Is the source code available for those who want to fix it?
Thanks

Go Up