Project Reality Forums

Project Reality Forums (https://www.realitymod.com/forum/index.php)
-   PR:BF2 Community Modding (https://www.realitymod.com/forum/forumdisplay.php?f=388)
-   -   PR:BF2 syntax files for text editors (Notepad++, etc.) (https://www.realitymod.com/forum/showthread.php?t=105162)

AfterDune 2011-11-29 11:44

PR:BF2 syntax files for text editors (Notepad++, etc.)
 
For those that use Notepad++ and others to edit .tweak and .con files, we've created a little syntax file that enables syntax coloring. It is much easier to read through lines of code that way.

The same can be achieved with other text editors of course.

Examples:
https://i.imgur.com/3NRuJfV.png



How to install for Notepad++:
http://docs.notepad-plus-plus.org/in...language_files

Downloads:
https://files.realitymod.com/resource...las%20Dark.xml
https://files.realitymod.com/resources/BF2%20Dark.xml

Rhino 2011-11-29 14:00

Re: EditPlus syntax file for BF2
 
Who uses editplus? :p

I personally use the Crimson editor which has had BF2 syntax for years although AM uses notepad++ which he made Syntaxes for.

AfterDune 2011-11-29 14:21

Re: EditPlus syntax file for BF2
 
It's for whoever uses it. And I've been using it for like 10 years or so.

temexter 2011-11-29 21:19

Re: EditPlus syntax file for BF2
 
Quote:

Originally Posted by [R-DEV]Rhino (Post 1700835)
I personally use the Crimson editor which has had BF2 syntax for years although AM uses notepad++ which he made Syntaxes for.

I like np++, also used pfe for some time in history. And of course the awesome vi when in *nix shell, it's always there :)

Any links for working npp+ syntax file? Or is this one still valid: http://jg28senshi.jg.funpic.de/NPPlusBF42language.rar?

Senshi 2011-12-07 21:39

Re: EditPlus syntax file for BF2
 
Where did you find a link to THAT old file?

As it states in the filename, even, this is only syntax for BF42 and was created by me some years ago...it can be used for BF2 as well, but a lot of the added syntax is missing (and thus won't be highlighted), obviously.

Thanks to AfterDune for creating and offering this syntax. Text editors mostly are a matter of personal gusto, so it's good to have support for several of them.

pr|Zer0 2011-12-08 10:02

Re: EditPlus syntax file for BF2
 
Im using notepad++ on which i added .con and .tweak extensions to python language coloring...works like a charm.

pr|Zer0 2011-12-08 10:12

Re: EditPlus syntax file for BF2
 
Quote:

Originally Posted by temexter (Post 1701060)
I like np++, also used pfe for some time in history. And of course the awesome vi when in *nix shell, it's always there :)

Any links for working npp+ syntax file? Or is this one still valid: http://jg28senshi.jg.funpic.de/NPPlusBF42language.rar?

in Notepad++ go to preferences -> style configurator, click on python to select it and on the bottom line of the window, add extensions you want to associate with python style, separated by spaces.
http://img600.imageshack.us/img600/3163/56737505.jpg

Uploaded with ImageShack.us

AncientMan 2011-12-08 11:11

Re: EditPlus syntax file for BF2
 
I've had this syntax rolling on Notepad++ for a fair long while, works fine if anyone else wants it. Just extract it to (or merge it with the existing file) in "C:\Users\<user>\AppData\Roaming\Notepad++\userDef ineLang.xml"

http://dl.dropbox.com/u/33586919/Not...BBF2Syntax.zip

temexter 2011-12-08 11:40

Re: EditPlus syntax file for BF2
 
Quote:

Originally Posted by [R-DEV]AncientMan (Post 1704837)
I've had this syntax rolling on Notepad++ for a fair long while, works fine if anyone else wants it. Just extract it to (or merge it with the existing file) in "C:\Users\<user>\AppData\Roaming\Notepad++\userDef ineLang.xml"

http://dl.dropbox.com/u/33586919/Not...BBF2Syntax.zip

Cheers m8, works like a charm...

Mineral 2019-03-20 20:25

Re: PR:BF2 syntax files for text editors (EditPlus, Notepad++, etc.)
 
Given I needed this again but links were down, I extracted what I had on my PC and re-uploaded those. I think they were AM's :) Updated OP.


All times are GMT. The time now is 14:58.

Powered by: vBulletin. ©vBulletin Solutions, Inc.
All Content Copyright ©2004 - 2021, Project Reality