So far its looking good. It doesn't have all the BIS_func_* functions in its autocompletion and if/while etc get a {} if typed, but not the trailing ; to really finish it off. Other than that it is a mighty fine editor. :)
Automatically, no since you don't always need private vars but a function is in progress. The goal is simple, catch and privatize all local vars of a given file. But remember, until you use a var, you don't need to privatize it because it doesn't exit until you assign it something ;) About Arma development, make it always: pretty, simple, commented AND optimized :)
Cool, looking forward to that function. :) Thanks for your continued development! I was using Squint2 for most of my file checking and writing, but the development has halted on it and none of the new commands are in there.
WoW, that looks extremely useful.
Maybe it'll replace notepad++ for me.
ps.: Feint, until the function for private vars is included, you can use a little web-tool that I made back in ArmA1.: http://rising.at/projekte/ArmA/private.html
(paste your code there, send and it generates the private-array)
This is a brilliant tool. Thanks for making it and sharing it.
Total comments : 14, displayed on page: 14
Poseidon Tools
by
Tom_48_97
Description:
This is a complete script tool suite Bohemia Interactive's game engine used in ARMA II and ARMA 3. Poseidon Tools supports all text files (Scripts & configs) used by the Real Virtuality. It includes:
Poseidon Tools
FSM Editor
TexView 2
TM4 Indenter
Tail for Win32
Initially, this project was named "BI PTE" (BI Plain Text Editor) and was renamed Poseidon Tools when it was publicly released, in august 2013. So, the name, Poseidon Tools, is a tribute to the very first version of the Real Virtuality engine, "Poseidon", which is the base of all the Arma series.
Latest announcement: Update 0.90 (17. August)
Features:
Project management
Instant Project Switch
Distraction Free Mode and full screen
Split Editing (Can display up to four file on the same screen)
Auto Completion (based on commands and existing text in the file)
Current and parent brackets highlight
Persistent sessions
Snippets (eg: file header, control structures, game functions etc…)
Syntax highlighter (for SQF (from ofp to arma 3), SQM, HPP, CPP, EXT…)
Full support of SQF & SQS, XML, Cpp, CFG, RPT
Can open RPT from the menu (Arma 3, Arma 3 diagnostic, Arma 2…)
Can open SQM, BIEDI with Arma 3
Magic key F8
File diff
Support of Mikero Tools
Support of Arma 3 Tools
Refresh the opened files everytime you get back to it
Macro creation
Documentation link
and so on…
[1] Try to open multiple files, just click the red cross to close the window and reopen Poseidon, your files will be automatically opened
[2] Wanna to write a switch statement or a new file?
[3] Put the caret a command or a word or why not a function name, right click, view online doc, select your language (or simply press ALT+E) and it's magic. (UI, result)
Installation, configuration & maintenance:
When updating a fresh install is highly recommended!
- Download the file
- Copy and paste the folder named "Poseidon" where you want into your computer
- (optional) Run edit_file_assoc.bat if you want to open every sqm, sqf, sqs, ext, hpp with Poseidon
Configuration
- Run edit_pereference.bat to edit your preferences (username, email address, ofpectag... essentially for snippets)
configuration OR edit the following file Poseidon\Data\Packages\BI Tools\options\Default.tmPreferences
Known issues:
TM4_indenter: indentation if and while statement can be doubled in some cases (unidentified for the moment)
The installer will mark the version to install to 0.80, just ignore it.
Notes:
Some features require Arma 3 Tools installed;
Every new release require a full clean install;
Some other features require Mikero Tools installed;
This is not an official tool, use at your own risks;
Documentation is here: http://tom4897.info/projects/poseidon-tools/
I urge you to read the documentation and especially the shortcuts list
Credits & Thanks:
Author
Tom_48_97
Thanks
Sublime Text devs, JonBons, Yourry, RawLine, Arma3.fr, Bohemia Interactive, The community, Arma2-wiki.fr, Armaholic, Arto, Tigerforce, Colin T.A. Gray, Will Bond, Lord, Noubernou, Mikero, Nelson…
Changelog:
v0.994.211
Added: SQF definitions for Arma 3 1.73+
v0.994.209
Added: SQF definitions for Arma 3 1.71+
v0.994.205
Added: SQF definitions for Arma 3 1.69+
v0.994.199
Added: SQF definitions for Arma 3 1.67+
Tweaked: Various things
v0.994.198
Added: SQF definitions for Arma 3 1.65+
Tweaked: Various things
v0.993.193
Added: SQF definitions for Arma 3 1.63+
Tweaked: Various things
v0.992.187
Added: SQF definitions for Arma 3 1.60+
Added: Utility to refresh the installation (Preferences > Refresh registry)
Added: Utility to browse and edit the snippets (Preferences > Explore snippets)
Changed: The snippet Param now used the correct scripting command
Fixed: Default indentation for internal build
Fixed: RPT file type configuration
Fixed: Wrong indentation of some file types
Tweaked: Simplifies status bar
Tweaked: init process
Removed: The community update is now removed, awaiting to have a reliable update process
v0.99.1
Added: Updated commands (Arma3 157 134994)
Added: Updated vanilla functions (Arma3 157 134994)
Changed: a lot of minor and trivial improvements, even new bugs
v0.91.2
Added: Updated commands (Arma3 1.55 133085)
Added: Updated vanilla functions (Arma3 1.55 133085)
Added: New color scheme "RnD" #BlameSho
Changed: The background of the default theme is now slightly darker
Fixed: Support for nested arrays in .hpp files
Fixed: Pink touch on the config paths
v0.90
Added: Updated commands (Arma3 RC 150)
Added: Updated vanilla functions (Arma3 RC 150)
Changed: When Arma 3 is started from Poseidon, -filePatching parameter is used
Changed: FSM Editor has been updated (version 1.3.3.17)
Changed: Margin left increased
Fixed: Wrong behavior of the indentation system with SQF files
Fixed: Various minor issues
Removed: Installer (will be rewrite later)
v0.88
Added: Auto trim trailing white-spaces for config files
Added: Auto trim white space on save
Added: New commands (Arma3 147 131253)
Added: New vanilla functions (Arma3 147 131253)
Changed: Auto indentation has been switched off for SQF files
Changed: CPP, HPP, HXX, H are now opened as Arma config file
Changed: exitWith has been added to the control structures instructions #BlameNelson
Changed: File headers (scripts and functions) now include properly the scriptName
Changed: FSM Editor has been updated (version 1.3.3.16)
Changed: FSM Editor is now run from Arma 3 Tools if it's installed
Changed: It will first try to run Arma 3 Diagnostics Exe when using F8 from a SQM file
Changed: JPG, PNG, TGA, PAA, PAC are not considered as binary files, so, they can be found with a search
Changed: Sidebar layout
Changed: Some snippets have been reworked and fixed
Changed: TexView is now run from Arma 3 Tools if it's installed
Changed: The snippets now use the full extended syntax
Fixed: Fail-safe on SQF string definitions
Fixed: Issue with highlighting of Arma 3 functions
Fixed: Some content was out of the sidebar
Fixed: SQF Function header is now correct
Fixed: The parameters were not read as expected (invalid config file)
Fixed: The SQF language definition was badly defined (some commands may have been added during the process)
Fixed: Vanilla functions were not defined in the appropriate group
Fixed: Various issues with external programs
Tweaked: cleaned SQF definitions for FSM Editor
Tweaked: Improved external dependencies
Tweaked: The setting dependencies have been cleaned up
v0.82.3
Added: some data have been move to "%userprofile%\Documents\Poseidon Tools\", called PTDocs
Added: Hot backup feature (ALT+SHIFT+B). It creats a copy of the current file into PTDocs\Exports\ (each backup is unique)
Added: Export to HTML (ALT+SHIFT+P). The exported file is stored into PTDocs\Exports
Added: Properties for Arma configs (Sea, weather, latest additions etc...)
Added: Arma 3 new commands (version 1.39.129031)
Added: Arma 3 new functions (version 1.39.129031)
Added: Placeholder for user defined snippets
Changed: Recent Projects menu now contains the 15 last opened projects
Changed: Default syntax for .hpp files is now "CPP Arma" (instead of "ext format")
Changed: Updated version of FSM editor
Changed: Updated TexView 2 compiler
Tweaked: Regulare expression used for Arma 3 Functions
Tweaked: Loading of some modules
Tweaked: Status bar information
Fixed: Missing "Do" in the ForSpec snippet
Fixed: Some snippets had an incorrect format
Fixed: "Step" in the ForVar snippet
Fixed: Some snippets were available from wrong file-types (e.g. basic CfgSounds from config files)
Removed: Links to the french documentation (because it's no longer available)
v0.80.0
Added: Config properties needed for animations
Added: Config properties needed for sounds
Added: Config properties required to implement the FFV feature
Added: Most of the properties needed for interfaces
Changed: "class" keyword is case sensitive and must be in lowercase
Changed: Scrollbar aspect
Changed: Scroll speed increased (+20%)
Changed: Binary files are now openned as Hexa file (temporarly)
Changed: Minimap, improved view of the current view
Changed: Status bar is more thin than before
Changed: Color of the inactives tabs
Fixed: typeOf was missing from the Arma 3 script commands
v0.78.7
WARNING: A fresh install is required because of some issues from the previous release.
Added: Ability to open Arma 3 log directory (Top menu >> Logs)
Added: Shortcut to open the current file into a new tab (ctrl+shift+c)
Fixed: Installer dependencies
Fixed: Bad definitions in SQF language configuration
Fixed: Installed version was incorrect
Fixed: Mikero tools were not working on some OS (with very specific conditions)
KNOWN ISSUES
The installer will mark the version to install to 0.78.6, just ignore it.
0.78.1 => 0.78.6 – Release Candidates – Hot fixes
v0.78
WARNING: A fresh install is needed.
Added: “CPP Arma” syntax checker, highlight missing token: {1,2,3,};
Added: mission config syntax checker, highlight missing token: {1,2,3,};
Added: GameType Sandbox
Added: A few mission config stuff
Added: Arma 3 new commands (version 1.35.128152)
Added: Arma 3 new functions (version 1.35.128152)
Changed: Updated dependencies & librairies
Changed: Issue highlighting must be in a comment to be handled
Fixed: Bad dependency for TM4_Indenter
Fixed: GameType (in mission config) was case sensitive
Fixed: Auto-completion for SQF files
Fixed: A load of stuff…
v0.74
WARNING: A fresh install is needed.
Changed: New script commands for Arma 3 1.33.127.690
Changed: New functions for Arma 3 1.33.127.690
Changed: Poseidon.dll methods
Changed: Recompiled structure files
Fixed: Auto-completion on SQF content
v0.72
Added: Settings manager ("preferences" >> "Options")
Added: Community Tools Updater (0.14.10.0) ("preferences" >> "Options")
Added: Functions for latest Arma 3 (1.27.126.833)
Added: New commands for Arma 3 (1.27.126.833)
Added: Shortcut CTRL+F5 to open a CMD with file current directory as working dir (cd & pushd)
Added: Shortcut to run Arma 3 in "External programs/tools". Note: If the current file is a sqm, it will open the editor and load the mission, whatever the file path.
Changed: "Open CMD here" is not in its final version (Menu >> External programs)
Changed: Auto complete box is now shown after 50ms (+10)
Changed: Indent method for SQF files
Changed: _target, _name, _leader and _destination have been removed from magic variables, they can now be used with "Make private Statment (ctrl+e, ctrl+p)" (http://forums.bistudio.com/showthrea...=1#post2730388)
Changed: Improved bracket highlighter (performances)
Changed: ...too many things to be listed
Changed: Location of snippets... to prepare the future
Fixed: Very low performances on very large file (20MB+)
Fixed: Low performances with XML Files
Fixed: restoreDefault could crash at the end of the process because it was searching for MacOX files
Fixed: respawnOnStart was not regognized by the ext parser (http://forums.bistudio.com/showthrea...=1#post2730388)
Fixed: File stream was laggy because of a bad defined event handler (http://forums.bistudio.com/showthrea...=1#post2729710)
Fixed: Poseidon installer was not working on some x86 workstation
Fixed: FSMEditor was not working on some x86 workstation
Fixed: Texview 2 was not working on some x86 workstation
Fixed: RestoreDefault was not working on some x86 workstation
0.70.1449
• Added: Function to find all local variables in the selection and privatize them. (ctrl+e, ctrl+p)
• Added: <experimental> tm4_indenter, simple program to auto indent files (ctrl+e, ctrl+i)
• Added: Command to indent the current file in mode Quick’n Dirty (ctrl+alt+e, ctrl+alt+i)
• Added: Detection of uncomplete array (e.g. _array = [item2, item2, itemN, ]
• Added: //note,//todo,//check,//issue keywords are now supported in missionConfigFile and configFile
• Added: New Commands for Arma 3 1.25.125903
• Added: New Functions for Arma 3 1.25.125903
• Added: Shortcut to convert indentation to TAB (ctrl+e, ctrl+tab)
• Added: Shortcut to convert indentation to space (ctrl+e, ctrl+space)
• Changed: Updated Command Palette (ctrl+shift+p)
• Changed: When open a SQM with Arma 3, it will try to start it with arma3diag.exe first (will use arma3.exe if arma3diag fails)
• Changed: Smallest text size is now 6 (was 8)
• Changed: Icon for installer
• Changed: Bracket highlighter, removed threshold
• Fixed: Poseidon was unable to run Addon Builder (missing registry key from AB)
• Fixed: Working directory of OpenCMD (“External tools” >> “Open CMD here”) was wrong
You are using our website as a guest. Guest have the lowest downloadspeeds and will download from our public file servers. If you would like to know how you can download with higher speeds and have to wait less while downloading check out the Armaholic subscription system. When you have already subscribed and your account is not upgraded within 24 hours it means you probably forgot to include your username. If that is the case please contact us as soon as possible!
Tom, just wanted to say that this program is FANTASTIC.... easy to read and I love the easy error log and modules/functions viewer...
This is THE tool for anyone scripting in arma!!
Great job and I hope you keep this up!.
Yak
Well done Tom !!!
Many thx for this apps !
This is incredible.
Downright incredible.
Thank you sir!
EDIT: Personally I use the ability to open and close folds a lot, would it be possible to add something of that sort?
Thanks :)
Next update will come tomorrow (if I've enough time). More info here:
http://forums.bistudio.com/showthread.php?161717-Poseidon-advanced-text-editor-for-Scipts-amp-Configs&p=2474563&viewfull=1#post2474563
About folding/unfolding statements, you already can, just put your mouse over the gutter ;)
So far its looking good. It doesn't have all the BIS_func_* functions in its autocompletion and if/while etc get a {} if typed, but not the trailing ; to really finish it off. Other than that it is a mighty fine editor. :)
thanks so much for your hard work man, your programs been a real life saver!
Awesome stuff here!! gonna try it out. Using notepad++ with the SQF plugin right now
Excellent job! Is there a way to automatically add local variables to "private" when they are created?
Automatically, no since you don't always need private vars but a function is in progress. The goal is simple, catch and privatize all local vars of a given file. But remember, until you use a var, you don't need to privatize it because it doesn't exit until you assign it something ;) About Arma development, make it always: pretty, simple, commented AND optimized :)
Cool, looking forward to that function. :) Thanks for your continued development! I was using Squint2 for most of my file checking and writing, but the development has halted on it and none of the new commands are in there.
WoW, that looks extremely useful.
Maybe it'll replace notepad++ for me.
ps.: Feint, until the function for private vars is included, you can use a little web-tool that I made back in ArmA1.:
http://rising.at/projekte/ArmA/private.html
(paste your code there, send and it generates the private-array)
This makes writing config files so much easier! Thanks!
I'd just like to say that this is the best tool. I'm still using it for all of my Arma editing. Thank you for continuing to work on this.
This is a brilliant tool. Thanks for making it and sharing it.
Total comments : 14, displayed on page: 14