HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Notepad++ Syntax Highlighting

View previous topic View next topic Go down 
AuthorMessage
Nefadozone

avatar

Game username : Nefadozone
Server : Fucko McShitpo
Male Posts : 176
Join date : 2011-11-11
Age : 23
Location : Satan's Asshole

PostSubject: Notepad++ Syntax Highlighting   Mon Nov 30, 2015 1:21 pm

original ogrewiki page for mlg pros

full credit goes to all contributors of that wiki page

Supports material, overlay, particle, and cg files.

I don't know if this has already been made common knowledge here, It's been around for a few years. For most files we'll work with there's some user defined languages for n++ to make seeing what we're doing a whole lot easier. Surprised

The only con I've seen so far is that you /must/ use the default n++ theme, or it'll have a white background behind the letters. I'm sure somewhere in the .xml that can be configured, but for now I'll just try to explain where to put this simple file as easily as possible.



If you don't have Notepad++

Spoiler:
 



Next


Download the userDefineLang.xml from my sta.sh. It was placed in a zip so that deviantart didn't display the ENTIRE file.

Dark Version (optional):

*Choose either the normal or dark version.
DARK userDefineLang.xml

So, if you DO have Notepad++ already


If you followed the steps above to get and install Notepad++, see these two steps. You may or may not already have selected those same settings upon installing your copy even if you didn't use those simple instructions.

32 bit users who DIDN'T USE APPDATA:
Spoiler:
 

64 bit users who DIDN'T USE APPDATA:
Spoiler:
 




If you already have Notepad++, it most likely is set to read config files from APPDATA.

APPDATA location:

Spoiler:
 

NEW: Dark version enabling:

REQUIRED for use of the dark version. (For eye saving!)

Spoiler:
 




IF you can't figure out which setting you ticked upon installation of n++.. the contents of the folder look like this:


If you already have a userDefineLang.xml file, you'll want to use the original wiki page as reference and copy the code without the <NotepadPlus> tags - putting the ogre syntax information right before the end of the existing file, right above the last </NotepadPlus>.

But I really don't think many of you will, so ignore that.  bom




Screenshots of final product:
 

Post any questions below if you need help.

EDIT: I am currently working on posting my old xml that was compatible with darker notepad++ skins. The alternate one I put up will work with the Twilight theme, as those dull colors aren't migraine city. (Even white on black is too much sometimes, let's be real.)
Twilight theme color example:
 


EDIT: If there are other formats that server 'makers' would like (or just plain OGRE users) I would be more than happy to add to the .xml. Maybe.. .weather? Etc.?


Last edited by Nefadozone on Mon Nov 30, 2015 2:51 pm; edited 3 times in total
Back to top Go down
http://wildmidnight.boards.net/
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Notepad++ Syntax Highlighting   Mon Nov 30, 2015 2:02 pm

which file types have you made for?

________________________________
Retired
Back to top Go down
Nefadozone

avatar

Game username : Nefadozone
Server : Fucko McShitpo
Male Posts : 176
Join date : 2011-11-11
Age : 23
Location : Satan's Asshole

PostSubject: Re: Notepad++ Syntax Highlighting   Mon Nov 30, 2015 2:38 pm

By default this only supports materials, particles, cg programs, and .overlay files.

I did not make this, it was put together by multiple OGRE contributors. If it is not enabled after immediately installing it, you can choose the corresponding option in the Language tab. (or restart notepad++)



If there are requests for other files used in servers to have syntax highlighting, then I'd be more than happy to add some more support.
Back to top Go down
http://wildmidnight.boards.net/
Nefadozone

avatar

Game username : Nefadozone
Server : Fucko McShitpo
Male Posts : 176
Join date : 2011-11-11
Age : 23
Location : Satan's Asshole

PostSubject: Re: Notepad++ Syntax Highlighting   Tue Dec 08, 2015 1:54 pm

Bump, doublepost, sue me.

There's an alternative as well, with Intellisense inclusion. (intellisense to those who don't know, consider it autocomplete for programming and scripting) I prefer using Notepad++ since I don't need the extras, but this may prove to be more than useful for others. Surprised

http://www.ogre3d.org/tikiwiki/Yaose
http://veniogames.com/downloads/yaose/3.0.0.0/win32
Back to top Go down
http://wildmidnight.boards.net/
Sponsored content




PostSubject: Re: Notepad++ Syntax Highlighting   

Back to top Go down
 
Notepad++ Syntax Highlighting
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: START HERE :: Helpful Programs-
Jump to: