Advertisement

Author Topic: ArmA Script Recoded - A notepad++ plugin  (Read 16861 times)

0 Members and 1 Guest are viewing this topic.

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #30 on: 20 Oct 2009, 16:13:17 »
Oh they seem to work only when there are no embedded quotes.

Offline i0n0s

  • Moderator
  • *****
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #31 on: 20 Oct 2009, 16:57:59 »
Can you give me a example code?

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #32 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.

Offline twisted

  • Members
  • *
  • I'm a llama!
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #33 on: 21 Oct 2009, 02:53:10 »


using unicode version np5.5.1. portable version and installing in c:\ program directory
« Last Edit: 21 Oct 2009, 02:58:25 by twisted »

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #34 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.

Offline i0n0s

  • Moderator
  • *****
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #35 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:
  • 1:
  • 2:
  • 3:
  • 4:
  • 5:
  • 6:
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.

Offline Rommel92

  • Members
  • *
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #36 on: 22 Oct 2009, 04:16:02 »
No.2; but what is this for?

Offline i0n0s

  • Moderator
  • *****
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #37 on: 22 Oct 2009, 11:13:48 »
As an icon for N++s toolbar:

(just made by 'shopping', not actually implemented yet)

Offline Rommel92

  • Members
  • *
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #38 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?

Offline Shuko

  • Members
  • *
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #39 on: 22 Oct 2009, 15:29:41 »
I have just the menu bar (file/edit/search/etc) and the file tabs.

Offline i0n0s

  • Moderator
  • *****
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #40 on: 22 Oct 2009, 16:40:22 »
Ok, I'll disable this option for you two.
If you don't need it  :P

Offline Shuko

  • Members
  • *
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #41 on: 22 Oct 2009, 16:45:25 »
Now now... don't be like that. ;)

Offline tcp

  • Members
  • *
    • Violator Gaming
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #42 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?

Offline i0n0s

  • Moderator
  • *****
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #43 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:

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

Edit:
1.31:
Fixed a small bug in project manager which was discovered by xeno.
« Last Edit: 25 Oct 2009, 23:58:57 by i0n0s »

Offline Trexian

  • Members
  • *
Re: ArmA Script Recoded - A notepad++ plugin
« Reply #44 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. :)
« Last Edit: 26 Oct 2009, 20:12:53 by Trexian »
Sic semper tyrannosauro.