Thread Tools Display Modes
04-05-13, 06:49 AM   #1
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
How to edit styles in Sublime 2

Originally Posted by zork View Post
Regarding editors. I'm currently using SublimeText 2. It is avalable for Mac OS and PC.
http://www.sublimetext.com/

UltraEdit is one of the best editors you can get for Windows.
I really like this editor, shame i get used to notepad++ way too much.
  Reply With Quote
04-05-13, 09:26 AM   #2
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
Originally Posted by Resike View Post
I really like this editor, shame i get used to notepad++ way too much.
Yeah, Sublime is a sexy beast. Just wish there was Lua-WoW support for it, but definitely not a deal breaker.
  Reply With Quote
04-05-13, 09:36 AM   #3
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Nibelheim View Post
Yeah, Sublime is a sexy beast. Just wish there was Lua-WoW support for it, but definitely not a deal breaker.
Or if you could edit the styles like in Notepad++ that would be good too.
  Reply With Quote
04-05-13, 09:42 AM   #4
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Define "styles". Sublime has a textfile configuration, so I'm betting it has what you're wanting.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
04-05-13, 09:58 AM   #5
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
Originally Posted by Torhal View Post
Define "styles". Sublime has a textfile configuration, so I'm betting it has what you're wanting.
Nah, not that kind of style. Lua-WoW's a modified Lua language with syntax highlighting for WoW and Ace functions and global variables. Supports a lot of editors, just not Sublime atm (which uses textmate language files).
  Reply With Quote
04-05-13, 12:04 PM   #6
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Torhal View Post
Define "styles". Sublime has a textfile configuration, so I'm betting it has what you're wanting.
For "styles" i mean editable just like in notapad++, like if you want "function, end, else, if, elseif" or pretty much any syntax, with a different color or font or size, you can fully edit it.

I found built in color schemes in Sublime too, but you can't really edit them, unless you want to mess around in their encrypted xml files for hours. But i'm like using the program since like 1 hour, so i couldn't really reveal all of it's functions.
  Reply With Quote
04-05-13, 12:39 PM   #7
Sharparam
A Flamescale Wyrmkin
 
Sharparam's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 102
SublimeText's styling files are not encrypted, they are located under %APPDATA%\Sublime Text 2\ under windows and can be edited with any text editor.
  Reply With Quote
04-05-13, 12:46 PM   #8
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by F16Gaming View Post
SublimeText's styling files are not encrypted, they are located under %APPDATA%\Sublime Text 2\ under windows and can be edited with any text editor.
Aw, awsum. I can create custom schemes, tho not as easy as in notepad++.

Last edited by Resike : 04-05-13 at 12:49 PM.
  Reply With Quote
04-05-13, 03:40 PM   #9
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
(I split this discussion off of the sticky thread. Please reserve that thread for actual links and resources.)
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-06-13, 07:14 AM   #10
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
There's a textmate bundle for wow lua over here: http://www.wowace.com/addons/wow-textmate/. You can use textmate bundles in sublime text 2 by dropping the bundle in the packages folder.

Interesting enough, there's also a bundle for the toc format:
  1. In sublime text 2, open up package control with ⌘-⇧-p or ctrl-shift- p on windows.
  2. Type "Ins" to search for "Package Control: Install Package" and hit enter.
  3. Search for "wow", the first item in the list should be the one.
  Reply With Quote

WoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » How to edit styles in Sublime 2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off