ZeroBrane Studio - v0.60 Updated

General discussion of game creation, including ai, shaders, and other topics.

Moderators: naturally, ezraanderson

ZeroBrane Studio - v0.60 Updated

Postby naturally » Thu May 15, 2014 10:27 pm

This Lua-based code editor has really improved it's look and features and is now at v0.60.

http://studio.zerobrane.com/

I like it because I can get a good dark view, custom-layout, easy on my eyes: http://i.imgur.com/J5DkIhP.jpg
Recently bookmarks feature was added (F2, Ctrl+F2) which was must-have to me.

You can also clone it from git and run it instantly from command line (no compile!)
https://github.com/pkulchenko/ZeroBraneStudio

8-)
Image - Don't Be Patchman - a sneak-and-grow adventure!
User avatar
naturally
 
Posts: 689
Joined: Thu Aug 29, 2013 8:05 pm
Location: Canada

Re: ZeroBrane Studio - v0.60 Updated

Postby paulclinger » Fri May 16, 2014 9:01 am

@naturally, thank you for sharing. It looks great (says biased me)!
paulclinger
 
Posts: 18
Joined: Tue Aug 21, 2012 5:55 pm

Re: ZeroBrane Studio - v0.60 Updated

Postby naturally » Fri May 16, 2014 9:11 am

More info: Ubuntu 12.04, MATE Desktop with BlackMATE theme, TomorrowNightBright ZBS theme.

Here are my customizations to "user.lua". Also I've changed the line number to dark yellow now, not bright yellow.

Code: Select all
  1. ---[[

  2. local G = ...

  3. styles = G.loadfile('cfg/tomorrow.lua')('TomorrowNightBright')

  4. stylesoutshell = styles -- apply the same scheme to Output/Console windows

  5. styles.auxwindow = styles.text -- apply text colors to auxiliary windows

  6. styles.calltip = styles.text -- apply text colors to tooltips

  7. editor.fold = false

  8. editor.tabwidth = 4

  9. editor.usetabs = true

  10. editor.usewrap = false

  11. editor.showfncall = false

  12. editor.extraascent = nil

  13.  

  14. -- from <!-- m --><a class="postlink" href="https://gist.github.com/riidom/6001731">https://gist.github.com/riidom/6001731</a><!-- m -->

  15. styles.indicator.fncall = {fg = {204,147,147} } -- function calls just underlined

  16. styles.indicator.varlocal = nil -- for local vars no special marker

  17. styles.indicator.varglobal = nil -- global vars red underline

  18.  

  19. keymap[G.ID_VIEWFULLSCREEN] = "F11"

  20.  

  21. styles.linenumber.fg = {80,80,50}

  22.  

  23. styles.keywords0.b = false -- no bold keywords

  24. styles.keywords2.b = false -- - " -

  25. --]]

Image - Don't Be Patchman - a sneak-and-grow adventure!
User avatar
naturally
 
Posts: 689
Joined: Thu Aug 29, 2013 8:05 pm
Location: Canada

Re: ZeroBrane Studio - v0.60 Updated

Postby naturally » Thu Mar 19, 2015 1:14 pm

Slightly Updated. Hit QUOTE to copy the code easier.

Code: Select all
  1. ---[[

  2. local G = ...

  3. styles = G.loadfile('cfg/tomorrow.lua')('TomorrowNightBright')

  4. stylesoutshell = styles -- apply the same scheme to Output/Console windows

  5. styles.auxwindow = styles.text -- apply text colors to auxiliary windows

  6. styles.calltip = styles.text -- apply text colors to tooltips

  7. editor.fontname = "MonoSpace" -- default!  use it!

  8. editor.fold = false

  9. editor.tabwidth = 4

  10. editor.usetabs = true

  11. editor.usewrap = false

  12. editor.showfncall = false

  13. editor.extraascent = nil

  14.  

  15. styles.indicator.fncall = {fg = {204,147,147} } -- function calls just underlined

  16. styles.indicator.varlocal = nil -- for local vars no special marker

  17. styles.indicator.varglobal = nil -- global vars red underline

  18.  

  19. -- AUTOCOMPLETE = CTRK+K

  20. --autocomplete = false

  21.  

  22. keymap[G.ID_VIEWFULLSCREEN] = "F11"

  23. --keymap[G.ID_SAVEALL] = "Alt-S"

  24. --keymap[G.ID_BOOKMARKPREV] = "Shift-F2"

  25.  

  26. styles.linenumber.fg = {80,80,50} -- dark yellow line numbers

  27.  

  28. styles.keywords0.b = false -- no bold keywords

  29. styles.keywords2.b = false -- - " -

  30.  

  31. package {

  32.         onEditorNew = function(self, editor) editor:SetEndAtLastLine(false) end,

  33.         onEditorLoad = function(self, editor) editor:SetEndAtLastLine(false) end,

  34. }

  35. --]]

  36.  

Image - Don't Be Patchman - a sneak-and-grow adventure!
User avatar
naturally
 
Posts: 689
Joined: Thu Aug 29, 2013 8:05 pm
Location: Canada


Return to Game Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron

x