OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Resources Beta Testing & Submission => Topic started by: i0n0s on 12 Oct 2009, 00:50:04

Title: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 12 Oct 2009, 00:50:04
You may already know ArmA Script (http://www.ofpec.com/forum/index.php?topic=32806.0), a Notepad++ (http://notepad-plus.sourceforge.net/) plugin.

It adds styling support for SQF to Npp:
(http://s12.directupload.net/images/091012/temp/9xmr84ko.png) (http://s12.directupload.net/file/d/1945/9xmr84ko_png.htm)
And some other nice gimmicks ;)

Sadly the code was lost, so it's recoded. And here it is:
ArmA Script Recoded (http://www.ofpec.com/ed_depot/index.php?action=details&id=649) with support for the new ArmA II commands.

If someone is missing a feature: Just drop a note :)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: norrin on 12 Oct 2009, 01:45:17
Thank you very much for this i0n0s - I must fire up your old ArmA Notepad++ plug-in at least a 1000 times a week :)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 12 Oct 2009, 08:54:15
Thanks! Notepad++ is my weapon of choice as well.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Rommel92 on 12 Oct 2009, 14:17:35
Thank you very much for this i0n0s - I must fire up your old ArmA Notepad++ plug-in at least a 1000 times a week :)

As do I, an update is greatly appreciated.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 12 Oct 2009, 15:50:04
Hey i0n0s-

Great thanks for continuing to update this - it really is invaluable.

One issue I've discovered - I noticed that with certain commands, there is an arrow selection in the hint to look at different "definitions" or syntax.  GREAT idea.  But, it seems to crash my Npp.  Specifically, cutText in the init.sqf.

I've also noticed what appears to be new behavior.  When I have a hint up, then scroll or move my cursor off the command, the hint stays visible.  I have to click to get the hint to disappear.

Neither of these things are critical errors, though. :)  Still loving it.

Thanks,
T

Edit: Just checked with other commands, and it looks like the "up" arrow works fine, but the "down" arrow crashes.  I'm using 5.4.4, but will update to 5.5.1 to see if that fixes it. :)

Edit2:
Oops - that was a bad idea.  Now more crashing even to install.

Edit3:
Ok, sorted, sorta.  Complete reinstall of 5.5.1, update everything, restart as necessary, confirm stable.  (That wasn't as easy as it sounds.) ;)  Install the recoded version.  Looks like it works, even the arrows. :)

Now, it looks like the hint functionality has been taken out? Not a big deal, but I did kinda like it.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 12 Oct 2009, 17:13:30
I got that report too for 5.4.5.
But: I can't reproduce it...
With 5.4.5 I can let me show the calltip of cutText and use the arrows without problems.

But the latest version 5.5.1 doesn't have this problem.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 12 Oct 2009, 17:59:48
Just noticed that waitUntil is included as both an "operator" and "function"? :)

Oh, and in case you missed the edit above ;) the action to automatically hint a variable was removed? :)  My poor, aching, fingers will miss it (until I sort out how to record a macro of it). ;)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: ceeeb on 13 Oct 2009, 02:30:13
Hello, I've just installed the plugin in Notepad++ v5.5.1 (Unicode) as per the instructions in the readme file, but the plugin ArmAscript.dll crashes upon loading & closing Notepad++.  :(

edit: I'll do a clean & reinstall to see if that helps.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 13 Oct 2009, 02:40:39
Is there any error message? The only thing I can think of is the missing xml file. But in this case N++ complains and doesn't use ArmAScript.
Do you have any additional plugins installed?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: ceeeb on 13 Oct 2009, 03:00:56
I uninstalled NPP, then reinstalled, and all appears to be working fine now :)

My only guess is it may have been a conflict with my old home made SQF language definitions? It's been a while since I made them them so I can't remember...
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 13 Oct 2009, 03:52:00
Make sure that if you are using %APPDATA% (default) that the plugin goes into your user directory. For XP, Application Data\notepad++\plugins. On Vista, AppData\Roaming\notepad++\plugins.

If you check Don't use %APPDATA% while installing notepad++, you can put everything into in the install directory (Program Files\notepad++\plugins). However, if you have the old version in %APPDATA% then put the new version in the install directory, you'll get the error on startup and shutdown of notepad++. Obviously, that's what happened to me until I remembered where I put the plugin last time.

Also, all new version of notepad++ are unicode, so only use the files inside of that.

BTW, what does the different settings for Show Call Tips do?

Should we warn the users who haven't let go of SQS syntax that support is taken out for it?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Rommel92 on 13 Oct 2009, 03:58:02
Confirm Stable in 5.5.1, Unstable in 5.3.1. Just update the program and your good.  :P
Thanks i0n0s!
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 13 Oct 2009, 16:35:31
Ok, now I've lost the tool tips.  But, I think this is more a 5.5.1 issue, but I'll raise it here, just to see if there's a solution.  :good:

I updated one of the other addons with the auto updater.  That was a mistake.  It got caught in a loop where I would need to restart, it would restart and work fine for one session, then when I closed and re-started manually, it would think it needed to restart again.  Fiddlefucked with that for too long, then just reinstalled.  Made sure it was stable, not updated.

Then installed the recoded.  I did realize that I had to put the .xml into the right config area.  If I put it in plugins\config it would get deleted along with some other temporary files.  But I found the appdata\plugins\config and that seems to work better.

I did some customization with the style in terms of colors and such, then realized I wasn't getting the tool tip popup.  Can't figure it out.

Edit: also, it seems to run slower....

Edit3:
'Nuther reinstall.  I put the .xml in BOTH config places.  If I only put it in one place, the first time it started up, it couldn't find it, so wouldn't start.  Now, everything seems to work fine.   :cool2:

Sorry to keep editing and have you hunting bugs, i0n0s!
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 13 Oct 2009, 16:46:58
Those "hint variable" may be added.

About the call tips:
You can select none which disables them ( @ Trexian ;) )
Minimal, which shows the syntax, the parameter and the return value.
Normal adds the description.
Maximum also shows the required version and the locality of the effect and the parameter.

I'll check about 5.3.1
Edit: Works well  ???
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 13 Oct 2009, 18:25:57
I think it runs great. My only issue as stated previously by Trexian is that hints don't disappear without clicking. Also they pop up too quickly on mouseover.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 13 Oct 2009, 22:05:14
Ok, I0n0s, I may have a "real" bugreport. :)  I've been looking at the skill and setSkill commands.  When I pull them up, and see the arrow buttons, pushing the arrows causes N++ to crash.  For other commands, it works just fine.  So far, just those commands are causing issues.

Thanks!
T
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 13 Oct 2009, 23:18:25
I get the same thing as Trexian. skill and setSkill causes npp to stop responding when selecting arrows.
Also, typeName stops responding before hint even appears.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 15 Oct 2009, 16:55:37
Update to 1.1:

ArmA Script Recoded 1.1 (http://www.ofpec.com/ed_depot/index.php?action=details&id=649)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 15 Oct 2009, 18:15:35
Excellent!

Confirm the skill/setSkill issue fixed, and the 2 second delay before it shows.   :good:

A slight personal preference would be that the box disappeared about a second after the cursor is no longer over the word, without having to click in the file.  IOW, have it check every second or so whether the cursor is still hovering over the call tip box word, and if not, close the call tip (without clicking on something else).

'Tis a VERY minor thing, though, and unlikely to be worth the effort at coding it. :)

Great work!

T
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 15 Oct 2009, 19:54:30
Multi line strings dont get colored right (and folding gets messed up).

Example:

Code: [Select]
call compile format ["
  something;
  something else;
",_var,_var2];
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Rommel92 on 16 Oct 2009, 01:18:57
Thanks!

Confirm typeName bug fixed (didn't know of the other two). Almost lost my colour scheme, made sure to back it up  :P. Especially since it can't be done in the style configuration in the program itself (doesn't save correctly, is overwritten by default on shut down).
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 16 Oct 2009, 01:23:11
I can confirm on the multiple lines and strings. Will be changed.

I'll try about the check for calltips. Have to look if it is possible.

Oh and about the style: Found it...
N++ and me are saving into the same file. But I'm not checking for changes of N++.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 18 Oct 2009, 18:48:30
Updated to 5.5.1 and now everytime I start it, It gives this message.

Code: [Select]
ArmAScript.dll just crash in
notify(SCNotification *notification)

Clicking ok will make it go away and everything (I think) works as usual.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 18 Oct 2009, 20:23:24
shuko, i got that error when I had two different version of the plugin loaded. I put it in the install dir\plugins and forgot that the old one was actually in APPDATA.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 19 Oct 2009, 05:57:50
Only had one copy of them, in dir/plugins. Error went away when I moved them to appdata.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 20 Oct 2009, 03:33:14
Update to 1.2:

Downloadlink (http://www.ofpec.com/ed_depot/index.php?action=details&id=649)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 20 Oct 2009, 05:40:27
Great work. However, multi-line strings don't seem to work at all. Also I get a FixAddon Something Wrong error when I try the create cfgPatches and nothing happens when I check for errors. I have depbo.dll in system32 under winxp32
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 20 Oct 2009, 07:48:35
Multi-line strings work fine:
(http://s8.directupload.net/images/091020/temp/jjvh2gdb.png) (http://s8.directupload.net/file/d/1953/jjvh2gdb_png.htm)

'Updated' to 1.21:
Replaced mikero's tools to a older version. He had released a new version today, but I've only tested the old one. And the new one doesn't give the line numbers from where errors occur.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 20 Oct 2009, 10:19:52
Strings work. Thanks for the update i0n0s!
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 20 Oct 2009, 14:11:56
FanTASTic on the cfg stuff!  :clap:  (And the display variable thingy... although I never considered the wear and tear on my mouse.....) :doh: :D
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 20 Oct 2009, 16:13:17
Oh they seem to work only when there are no embedded quotes.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 20 Oct 2009, 16:57:59
Can you give me a example code?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 20 Oct 2009, 18:57:25
Sorry, I'm an idiot, I think all my problems with multi-line quotes were due to editing config.cpp but not selecting SQF syntax.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: twisted on 21 Oct 2009, 02:53:10
(http://img9.imageshack.us/img9/3330/noteerror.jpg)

using unicode version np5.5.1. portable version and installing in c:\ program directory
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 21 Oct 2009, 03:16:00
As has been mentioned already, default plugins/user settings are stored in %APPDATA% folder unless you change it during installation of npp to use install directory to store settings.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 22 Oct 2009, 04:02:31
*sig*
The latest version should have a check so that this crash shouldn't occur anymore...
To reproduce: You have installed N++ in default settings (it will use %APPDATA%), but moved all the files into the N++ directory?

Then I need you to vote:
Vote your favourite one which matches the best ArmA II. Or place your own creative work. But be aware that I require 16x16 pixel only.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Rommel92 on 22 Oct 2009, 04:16:02
No.2; but what is this for?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 22 Oct 2009, 11:13:48
As an icon for N++s toolbar:
(http://www.jonasscholz.de/temp/ArmAScript7.png)
(just made by 'shopping', not actually implemented yet)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Rommel92 on 22 Oct 2009, 15:00:08
Not really needed then IMO, I don't even use the tool bar. Ctrl C, Ctrl X, Ctrl V,Ctrl S, Ctrl F and sometimes the ArmA Script Introduce Private statement macro are all that I use. Everything is hidden cept the top bar.

I imagine some others might be similar?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 22 Oct 2009, 15:29:41
I have just the menu bar (file/edit/search/etc) and the file tabs.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 22 Oct 2009, 16:40:22
Ok, I'll disable this (http://www.jonasscholz.de/temp/ArmAScript.png) option for you two.
If you don't need it  :P
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Shuko on 22 Oct 2009, 16:45:25
Now now... don't be like that. ;)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 22 Oct 2009, 18:45:19
Keep the features coming. I don't know if this is the case with the recoded version, but for some reason, some SQM files get syntax highlighted and some don't. Is there a way to turn on SQF highlighting for SQM files?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 25 Oct 2009, 23:06:45
Updated to 1.3:

The ArmAScript.xml was updated to the latest change in the Biki.
For updater who want to keep their styles: Don't overwrite the old ArmAScript.xml.
Copy the new ArmAScript.xml to a different place, then continue to update.
After the update run XMLUpdater.exe from Plugin\Config\ArmAScript. After pressing 'update' select the new ArmAScript.xml and it will add the changes to the old one without overwriting the styles.

I've also added a Project Manager:
(http://s6.directupload.net/images/091025/temp/88oapf8g.png) (http://s6.directupload.net/file/d/1958/88oapf8g_png.htm)
It will search for a config.cpp or a mission.sqm in the files folder and up, then display the project.

Supporting this feature I added a method to global rename a (global) variable. It is just a normal "Search in Files" dialogue, but the right search path will be set to the projects directory ;)


The crash when the ArmAScript.xml is still there, but at least it will now complain that ArmAScript.xml is in the wrong folder, so that I left it in for this version  :whistle:

@tcp:
You can add custom extensions to a language so that they will get highlighted if a file with that extension occurs.
Works under settings->style

Download (http://www.ofpec.com/ed_depot/index.php?action=details&id=649)

Edit:
1.31:
Fixed a small bug in project manager which was discovered by xeno.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 26 Oct 2009, 15:09:28
 :o  :o  :o

Pardon me while I achieve something very near to sexual ecstasy..... sorry about the mess.... :D

Edit:
Kinda like after sex with a supermodel, afterwards you still think there's something you'd like to change. ;)

I really like the project manager.  But, there are some folders I have that either consist solely of scripts, or have a mix of scripts and generic text files that I use for notes.  I completely understand why you check for an sqm or cpp in order to fill the project manager window, and that you may be reluctant to change that.  But, just offering that there may be times that window would be handy, even though there isn't one of those files. :)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Rommel92 on 27 Oct 2009, 06:25:27
Code: [Select]
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="NUMBER" styleID="4" fgColor="334257" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="STRING" styleID="6" fgColor="9BB4C8" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="STRING" styleID="7" fgColor="9BB4C8" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="OPERATOR" styleID="10" fgColor="334257" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="0"/>
<WordsStyle name="FUNCTION" styleID="11" fgColor="334257" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="1"/>
<WordsStyle name="FUNCTION WITH LOCAL ARGUMENT" styleID="20" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="2"/>
<WordsStyle name="FUNCTION WITH GLOBAL EFFECT" styleID="21" fgColor="377342" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="3"/>
<WordsStyle name="FUNCTION WITH LOCAL ARGUMENT AND GLOBAL EFFECT" styleID="22" fgColor="438774" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="4"/>
<WordsStyle name="LOCAL VARIABLE" styleID="23"fgColor="E93001" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>
<WordsStyle name="GLOBAL VARIABLE" styleID="24" fgColor="456AAF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize=""/>

Default Style Works.
Doing my style through the configurator again works.
Changing the colours manually in the xml file does not work (causes CTD).
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: DTM2801 on 27 Oct 2009, 18:43:36
Thank you for the update, cant imagine NP++ without this plug-in  :good:
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 31 Oct 2009, 03:34:51
Introduce private doesn't work for _truck_near (embedded underscore).
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 01 Nov 2009, 16:37:22
Inofficial release:

Be aware that this is only the unicode version!
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: mikey on 02 Nov 2009, 13:38:08
I recently upgraded to a new version, and i'm loving this project pane. Good job on this plugin  :good:


btw, is there a way to change the delay on the command info pop-ups?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 02 Nov 2009, 19:36:17
Not yet implemented
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: tcp on 17 Nov 2009, 07:59:27
The unofficial release is not downloadable: attachment not found
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 17 Nov 2009, 12:27:58
Reuploaded.
Thanks for the hint.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: anessen on 01 Dec 2009, 19:23:28
Hey
I just downloaded version 1.33 off Armaholic and installed it into my application data\Notepad++ folder.

I can start Notepad++ and see the plugin in the plugins list and I can see SQF in the languages list. But the calltips do not display. I have them turned on maximum through the menu but they don't show.

When I type "call" or "setPos" or something I see nothing.

I'm running version 5.4.5 of Notepad++.

Why is this happening?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 02 Dec 2009, 02:01:22
Hmm, should work without problems.
Are you sure to got the recoded version?

And: Is SQF activated for the current file?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: anessen on 06 Dec 2009, 00:45:31
Yep, I clicked SQF in the Language dropdown.

So, if I type in for example "call" and then press space, should the calltip just show?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 06 Dec 2009, 15:18:45
No, the calltip only shows up when you hover over a word for two seconds.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: ArMaTeC on 15 Dec 2009, 19:32:55
Hey mate a few things
1st
When i hit "shift + {" i get the following (might be NP++ though)
Code: [Select]
{


}
}
2nd
When in the menu there is a second menu that seams to have all settings expanded
(http://i193.photobucket.com/albums/z232/ArMaTeC/th_Errorindialog.png) (http://s193.photobucket.com/albums/z232/ArMaTeC/?action=view&current=Errorindialog.png)

3rd
Can you add indentation for *.cfg, *.cpp, *.h, *.hpp
would be cool to have then highlighted also
A customizable auto header insert option
Something like:
Code: [Select]
/************************************************************
(C) MOD Team 2009, project@mail.com;
Created by [MoD Name] RPG http://yoursite.com
File: filename.sqf/cpp/sqs
Author:
Description:
Parameter(s):
************************************************************/
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 18 Dec 2009, 01:46:45
Hi,
thanks for your feedback:

to 1):
I can't press Shift + { since I require ALT + 7 for the {. So I can't reproduce it. But seems to be N++ which does indentation and ArmA Script.

to 2):
Can't reproduce. Does it happens every time you use it? Do you have only one ArmAScript.dll in your folder? (Could be a sideeffect of multiple dlls)

to 3):
I'll take a look.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 05 Feb 2010, 15:46:41
Minor thing on this that I just noticed: the tip for addAction is huge. :)  It isn't completely displayed.  I have a 2 monitor display, and even if I move N++ to the far left, the tip still takes up all the right monitor and even over the edge. :)

Not a huge thing.  Well, the tip screen is huge, but the issue isn't. :)

Also, I didn't download the last beta, as I figured it would be released fairly quickly. ;)  Have run into the issue of having two underscores in the variable name.  Any plan to do a "release" release with that fix?

Thanks for everything, though!
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 06 Feb 2010, 16:26:00
Which issue with two underscores?
Don't know about such an issue.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 08 Feb 2010, 16:20:27
Introduce private doesn't work for _truck_near (embedded underscore).

Inofficial release:
  • Found now local variable which uses _ within the name

That thing. :)

Basically, just wondering if the unofficial release is official, or will be. :D

Edit:

Also, just realized that there's no tip box for "say3D" or "say2D". :)

Edit2:
Also, the openMap command isn't in the syntax hilighting.  Of course, it is rather new. :)
http://community.bistudio.com/wiki/openMap
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Tobbs on 07 Mar 2010, 16:43:43
Having some trouble using this with NPP 5.6.6. Crashes after about 1 minute even if I don't touch it.

Error message:
**************
just crash in
ArmAScript.dd just crash in
notify()SCNotification *notification) :
 notification->nmhdr.code == 2016
 notification->nmhdr.hwndFrom == 852998
 notification->nmhdr.idFrom == 0
**************
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 21 Sep 2010, 20:57:03
Sorry to play thread necromancer, but have happened upon an odd problem. In the Project Manager pane, the files are displayed by last save date.  Would really like to get them back to alphabetical order.... :)
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 21 Sep 2010, 22:32:16
WTF?
Have you set the order in the folder using the explorer?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 23 Sep 2010, 15:31:57
hehe

No, at least not intentionally. :)  And this is the "project manager" pane, not the "light explorer" pane, if that makes a difference.

Also, with ver. 5.8 of N++, I'm getting an "unknown exception" error and it won't start.  Not a big deal, just reverted.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: PartyHead on 01 Oct 2010, 08:43:20
Hello,
Im wondering if anyone can help me ? ive just updated to Windows 7 from XP and installed the latest npp++ and installed the ArmA Script Recoded files, but i dont get any text colouring now when i open an SQF file ? also the source file that comes with the ArmA Script Recoded download, i cant remember were it goes, or if its used at all, which im thinking is why im geting no text colouring ? could anyone please help.

EDIT:
Seems its a problem with the current version of npp++ which is, npp.5.8.1.
Ive reverted back to version npp.5.7 and everything is working properly again. :good:
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: ArMaTeC on 16 Nov 2010, 09:54:15
is there any chance of an updated version that will work with current version of NP++
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: ViperMaul on 16 Nov 2010, 18:36:17
There are many arma developers looking for a hero for this plugin.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 30 Dec 2010, 15:49:43
A note on this plugin:
Notepad++ switched over to Scintilla 2.0 which changed their model requiring a lexer interface.
And my implementation doesn't work. It won't call the lex and fold functions.
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Trexian on 03 Jan 2011, 16:49:15
Do you have a recommendation? :)  Or is it just best to use an older version of NP++?
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: i0n0s on 03 Jan 2011, 17:19:56
Current recommendation is to use notepad++ 5.7, you can simple download their zip-folder and use it as an addition to an up to date version.

On long time I will take a look at the C++ templates and will try to convert it. The last try failed due to stupid compiler errors from hell...
Title: Re: ArmA Script Recoded - A notepad++ plugin
Post by: Psychobastard on 23 Feb 2016, 08:40:32
Hello,

cause i use this plugin till today and like it realy much i had spend some time to update it. Syntax-Highlight is supported for all functions till Arma 3 version 1.56. Calltips for new commands are not supported. (to much work for add it by manually...) Also i had changed a little bit the style for comments and for global variables.

For the people who like ArmaScript like me -  i wanna share it with you. The Download includes N++ in version 5.6.8 to support the project manager.


Source: http://dev.withsix.com/projects/a3/files


regards