Jump to content
gossamersolid

Arma 3 Notepad++ Syntax Highlighting

Recommended Posts

Yup got it working there was a small update that I needed. Thanks again for the awesome codec!

Share this post


Link to post
Share on other sites

It says I'm updated - version 6.3

edit..

Ah yes, working now using the instructions in post 25.

Edited by Tankbuster

Share this post


Link to post
Share on other sites

Thanks for the confirmation that this method works (from post #25), I'll put that in the first post incase people need it.

Share this post


Link to post
Share on other sites

Yep, Upgrading to latest version fixed all my issues :P, now to get coding :P

Share this post


Link to post
Share on other sites

Awesome stuff. This will make working with SQF again a tad less torturous. :D

Share this post


Link to post
Share on other sites

quick question - does it support folding code ?

I use the old Armascript recoded plugin, which has some nifty features besides highlighting - one of em being folding, as well as showing function hints if you mark a function in your code.

Thx for a feedback

cheers

Sarge

Share this post


Link to post
Share on other sites

Ah, I was going to ask the same thing as Sarge.

Congrats on A3 addon #0001!

Share this post


Link to post
Share on other sites

hey heads up! I couldn't get this to work either but that was because the xml from armaholic is wrong!

I used your code in the first post and then it worked like a charm! so maybe let someone know to update it?

Share this post


Link to post
Share on other sites

Scripting commands added into list in last two days (I guess they are missing in syntax highlighting):

ctrlSetFontP

ctrlTextHeight

ctrlSetChecked

ctrlIDD

ctrlIDC

ctrlHTMLLoaded

ctrlChecked

buldozer_reloadOperMap

buldozer_LoadNewRoads

setWindForce

setHorizonParallaxCoef

setApertureNew

setLocalWindParams

setSystemOfUnits

setShadowDistance

setRandomLip

setObjectViewDistance

setObjectMaterial

setHUDMovementLevels

setDetailMapBlendPars

enableCaustics

Share this post


Link to post
Share on other sites
Scripting commands added into list in last two days (I guess they are missing in syntax highlighting):

ctrlSetFontP

ctrlTextHeight

ctrlSetChecked

ctrlIDD

ctrlIDC

ctrlHTMLLoaded

ctrlChecked

buldozer_reloadOperMap

buldozer_LoadNewRoads

setWindForce

setHorizonParallaxCoef

setApertureNew

setLocalWindParams

setSystemOfUnits

setShadowDistance

setRandomLip

setObjectViewDistance

setObjectMaterial

setHUDMovementLevels

setDetailMapBlendPars

enableCaustics

Thank you, I will update the list, will edit this the front page when I have completed the update.

EDIT: http://thegamewardens.net/arma3npplusplus/ArmA3Lang_03062013.xml

(I cannot paste the text into the first post, exceeded char limit, so I put it into a file instead)

Edited by GossamerSolid

Share this post


Link to post
Share on other sites

New version frontpaged on the Armaholic homepage.

No nice Arma 3 downloadlogo available yet



Notepad++ syntax highlight v03062013

required_addons.png

Notepad++

@BelgarionNL

Thanks for the report mate, I copied directly from the source so no idea why it did not work for you. I have now downloaded the source directly so I think now it should be good for everyone :)

Share this post


Link to post
Share on other sites

bump - any feedback on this ? Thx & cheers

quick question - does it support folding code ?

I use the old Armascript recoded plugin, which has some nifty features besides highlighting - one of em being folding, as well as showing function hints if you mark a function in your code.

Thx for a feedback

cheers

Sarge

Share this post


Link to post
Share on other sites
http://upload.wikimedia.org/wikipedia/commons/0/0f/Notepad%2B%2B_Logo.png

Hello fellow scripters!

I've been using the ArmA 2 Syntax Highlighting that Nicolas made back in 2009 (http://www.armaholic.com/page.php?id=8680). I've noticed that he hasn't updated it in a long time and that nobody else seems to want to take a crack at updating it, so I thought I would.

It's missing some commands that were added in the OA era, but it has all ArmA 2 and all known ArmA 3 commands now.

Please feel free to modify/contribute and I'll update this post.

Changelog

Install Instructions

Notepad++ Language XML

http://thegamewardens.net/arma3npplusplus/ArmA3Lang_03062013.xml

Originally Posted by StatusRed

Thank you for this, but it doesn't seem to be working for me at the moment.. Nothing is highlighted. How did you implement this with Notepad++?

Language -> Define your own Language -> Import

You have to copy and paste the code inside the spoiler I made in the first post and put it in an xml file on your computer (on the desktop for example).

This is your first post and I don't see any spoiler.

Share this post


Link to post
Share on other sites

^^ ignore the spoiler (not in use anymore) just download the xml file and do as instructed :)

@Gossamer i noticed 2 operators not reacting (divide and subtract), in the meanwhile we can just add them in the "Operators1" under "Operators & Delimiters" on User Defined Language dialog.

Share this post


Link to post
Share on other sites

Hi,

I did some improvements:

Have fun with it. Download: https://www.dropbox.com/s/x37r92umbpgxcx8/ArmA3.xml

It would be nice if you could link it in your initial post and update it on Armaholic etc. (Just additionally credit me please)

Share this post


Link to post
Share on other sites

Added your stuff to the credits, changelog and download:

http://thegamewardens.net/arma3npplusplus/ArmA3Lang_03142013.xml

^^ ignore the spoiler (not in use anymore) just download the xml file and do as instructed :)

@Gossamer i noticed 2 operators not reacting (divide and subtract), in the meanwhile we can just add them in the "Operators1" under "Operators & Delimiters" on User Defined Language dialog.

Sanjo has how fixed this, check the new version out.

Also I fixed the instructions to properly reflect how to install it

Edited by GossamerSolid

Share this post


Link to post
Share on other sites

Hey I tried to get this to work, but I've never had to import a custom language before because the languages I do know are already there. User defined does absolutely nothing in the languages drop down menu.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×