Jump to content

Recommended Posts

I have one more suggestion: Mark brackets wich belong together like notepad ++ does it.

For example

 

if (whatever) then {

script;

more_script;

};

Share this post


Link to post
Share on other sites
7 minutes ago, MasterPuffin said:

I have one more suggestion: Mark brackets wich belong together like notepad ++ does it.

For example

 

if (whatever) then {

script;

more_script;

};

 

even better to also draw and arrow-line on the left to show where the scope is.

  • Like 2

Share this post


Link to post
Share on other sites

If anyone of you create templates and themes that you think should be in the distribution package, please send them to me so I can include them. It would be nice to have more themes and good file templates to chose from. I'm not at all certain that the themes and templates are generally good enough. Everything about them is mostly my own personal preference.

 

And tanks for all suggestions! I'll look into solutions and put them in relation to other things that will be included.

Share this post


Link to post
Share on other sites

A note on CTDs:

 

I would like to report that I have done a lot i the latest versions (up to 0.48) to prevent crasches to desktop. The code analyzer is build on a lot of advanced recursions, and it has been really hard to find all places that can cause crasches, and a common one I beleave is the stack overflow exception. My aim has always been to reach vesion 1.0, that should be as good and stable editor that one can expect, but I think myself that there has been way to much crasches this far, and all of you who have read the changelog has noticed that the "stability issues" as been addressed in the latest ten (for sure) updates.

 

For the moment I beleave that the editor is good regarding crasches. So please let me know if you still encounter them, and of course you can hopefully also give me information of how to re-create the eventual still existing crasch scenario.

Share this post


Link to post
Share on other sites

I have found a bug: Every time the editor crashes, it resets the selected theme.

Share this post


Link to post
Share on other sites

You mean you found two bugs... ;)

 

Actually, there might be bugs in the Beta Content, and in that case it's almost certainly the SQX compiler.

 

The bug you mention is i think is because the settings file is saved when editor is closing. If you restart the editor it should preserve the settings until next start and in case there is a crasch (which shouldn't be any more).

 

I will fix that.

Share this post


Link to post
Share on other sites

New version:

 

Version 0.49
-Added syntax highlighting for .ext and .cpp files.
-Separated syntax highlighting for .sqx and .sqf files.
-Fixed: Missing Warnings about unsaved files when closing separate tabs.
-Fixed: Stability issues (CTD when saving files without having a project).
-SQX: Fixed: Keyword 'classNull' compiled incorrectly

Share this post


Link to post
Share on other sites

New version released.

 

Version 0.50

-Added all script commands in Arma 3 version 1.68.

-Significant CPU and memory performance optimizations.

-Change the default value for setting "Enable foldigs" to false (it may cause lags - use it if it is worth it).

-Added syntax highlighting for .sqm files.

-Analyzer improvements and bugfixes.

-SQX: Fixed: Analyzer reporting all kinds of errors if compiled file (.sqx.sqf) is added to the project.

Share this post


Link to post
Share on other sites
1 hour ago, engima said:

-Added all script commands in Arma 3 version 1.68.

:rthumb: 

Share this post


Link to post
Share on other sites
Guest

Hello @engima,

Is there any performance differences between sqx syntax and sqf (Functions as files) syntax. I guess not but I want to have you say it Lol.

Btw, could you extend the themes to include the whole interface and icons ?

Thanks for your hard work !

Share this post


Link to post
Share on other sites
1 hour ago, harmdhast said:

Hello @engima,

Is there any performance differences between sqx syntax and sqf (Functions as files) syntax. I guess not but I want to have you say it Lol.

Btw, could you extend the themes to include the whole interface and icons ?

Thanks for your hard work !

 

The SXQ classes have methods that are directly compiled into global functions.

 

The fields and properties are stored in an array. So when you do:


a = myVar.Value;

You actually do:


a = (myVar select valueIndex);

 

So in theory there is a small performance drop that may be measurable in some circumstances.

 

Thanks for more ideas to improve on themes! I cannot say when it will be implemented though. I'd like to have it stable enough to release version 1.0 first.

Share this post


Link to post
Share on other sites

New version:

 

Version 0.51
-Added all script commands in Arma 3 version 1.70.
-Analyzer can now handle commands following a preprocessor #include on the first line.
-SQX: Fixed: Minor bugs in the SQX analyzer.

Share this post


Link to post
Share on other sites

Woah, just saw the vid in the main post which showcased SQX! Bringing OOD to ArmA! :O

 

Nice! Great work!

  • Like 1

Share this post


Link to post
Share on other sites

New version!

 

Version 0.52

-Logical operators 'and' and 'or' now supports alternative syntax with signature "Boolean and Code".

-Fixed: Files installed by CPack dependencies are not added to project file explorer.

-Fixed: Error when installing CPacks with dependencies to same package but different version.

-Fixed: Minor issues and improvements in analyzer.

-SQX: Added interfaces.

-SQX: Changed name of data type Number to Scalar (the same name as in SQF).

-SQX: Added interface templates (you will need to reset templates for them to regenerate).

  • Like 1

Share this post


Link to post
Share on other sites

New version released.

 

Version 0.53

-Fixed: Error when updating CPacks and files need to be overwritten.

-Fixed: Improved checks for declared, non declared, used and not used variables.

-SQX: Added static methods.

-SQX: Made it possible to specify type on iteration variable in a forEach statement. Like "{ hint _x } forEach as String;".

-SQX: Made it possible to specify type on iteration variable in a count statement. Like "_count = { _x.IsActive } count as MyClass;".

-SQX: Fixed: Analyzer do not recognize interface types for method return values.

-SQX: Fixed: Minor issues in analyzer.

Share this post


Link to post
Share on other sites

New version.

 

Version 0.54

-Added all script commands in Arma 3 version 1.72.
-Revealed SQX content (it was previously "beta content").
-SQX: Added enums.
-SQX: Added code completion for static methods.
-SQX: Added code completion for custom types (classes and interfaces).
-SQX: Minor fixes in the analyzer.

Share this post


Link to post
Share on other sites

New version.

 

Version 0.55

-New and better installer (uninstall the old version before installing this).

-Variables declared in mission.sqm now included in editor (mission.sqm must not be binarized).

-Items in the file explorer now gets selected on right click.

-SQX: Minor analyzer improvements.

Share this post


Link to post
Share on other sites

New version and a new video:

 

 

Version 0.56

-Enabled support for alternative variable declaration syntax. Like { private _myVar = 10; }.

-Analyzer improvements.

-SQX: Syntax Highlighting improvements.

-SQX: Analyzer improvements

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

×