Page 1 of 1

PR:BF2 syntax files for text editors (Notepad++, etc.)

Posted: 2011-11-29 11:44
by AfterDune
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:
Image



How to install for Notepad++:
http://docs.notepad-plus-plus.org/index ... uage_files

Downloads:
http://files.realitymod.com/resources/B ... 20Dark.xml
http://files.realitymod.com/resources/BF2%20Dark.xml

Re: EditPlus syntax file for BF2

Posted: 2011-11-29 14:00
by Rhino
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.

Re: EditPlus syntax file for BF2

Posted: 2011-11-29 14:21
by AfterDune
It's for whoever uses it. And I've been using it for like 10 years or so.

Re: EditPlus syntax file for BF2

Posted: 2011-11-29 21:19
by temexter
[R-DEV]Rhino wrote: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?

Re: EditPlus syntax file for BF2

Posted: 2011-12-07 21:39
by Senshi
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.

Re: EditPlus syntax file for BF2

Posted: 2011-12-08 10:02
by pr|Zer0
Im using notepad++ on which i added .con and .tweak extensions to python language coloring...works like a charm.

Re: EditPlus syntax file for BF2

Posted: 2011-12-08 10:12
by pr|Zer0
temexter wrote: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.
Image

Uploaded with ImageShack.us

Re: EditPlus syntax file for BF2

Posted: 2011-12-08 11:11
by AncientMan
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++\userDefineLang.xml"

http://dl.dropbox.com/u/33586919/Notepa ... Syntax.zip

Re: EditPlus syntax file for BF2

Posted: 2011-12-08 11:40
by temexter
'[R-DEV wrote:AncientMan;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++\userDefineLang.xml"

http://dl.dropbox.com/u/33586919/Notepa ... Syntax.zip
Cheers m8, works like a charm...

Re: PR:BF2 syntax files for text editors (EditPlus, Notepad++, etc.)

Posted: 2019-03-20 20:25
by Mineral
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.

Re: PR:BF2 syntax files for text editors (Notepad++, etc.)

Posted: 2019-03-20 20:56
by AfterDune
Visual Studio Code anyone? ;)

Re: PR:BF2 syntax files for text editors (Notepad++, etc.)

Posted: 2019-03-21 03:10
by ALADE3N
any Sublime Text?