- Fix server crash
- Added new functions and operators
- Fixed slow workspace indexing
- Added new functions and operators
- Fixed missing presentation
- Added new functions and operators (#60)
- Fixed support for
then ARRAY
(#71, #44) - Fixed
includePrefixes
in HPP files (#45)
- Fixed some issues with description.ext parser (#56)
- Workspace indexing now displays status in statusbar
- Workspace indexing no longer displays undefined warnings on first pass
- Fixed autocompletion not working (#52)
- Fixed
description.ext
parser being older version
- Added new functions and operators
- Fixed parser getting stuck in infinite loop under certain conditions (#49) (thanks billw2012)
- Small fixes
- Fixed macros with arguments (#43)
- Debugger now uses line numbers to determine new messages
- Debugger now informs about filers if there are any
- Fixed macros in macros not being properly parsed (#41)
- Fixed
or
not acceptingnot
as right argument (#24)
- Fixed multi-line macros breaking locations of messages
- Fixed defines with more than 1 whitespaces being ignored (#40)
- Fixed some issues with context separation (#37)
- Fixed
mission.sqm
scanner not loading logics
- Added
mission.sqm
scanner, which will discover objects and markers defined in editor. (only works on debinarized missions)
- Added ACE3 functions
- Fixed issues with multiline macros
- Fixed issues with macros that could lead to infinite loop
- Fixed GoTo not working on #include paths
- Added new sqf functions
- Fixed some issues with hpp parser (allowed classnames beginning with numbers, allowed inner array definiton with [], allowed decimal number definition without 0 (ex .5))
- Fixed local variables not showing in autocomplete
- Added context separation, that can detect undefined variables in different contexts in same file (can have false positives, can be disabled)
- Ignored variables array now accepts wildcards (#31)
- More robust callable check (#25, #35)
- Fixed links in hover docs for functions (#34)
- Fixed hover docs for some functions and operators
- Switched order of hover docs to display syntax first (to be in line with other vscode extension)
- Fixed issue with empty classes in hpp files (#32)
- Fixed macro support in hpp files (thanks veteran29)
- Added support for
#
operator (#30)
description.ext
files in subfolders of workspace will now be properly loaded- Added
discoverDescriptionFiles
options, which allows user to enable/disable automatic searching fordescription.ext
files - Added
descriptionFiles
option, allowing user to specify list of paths to additional description files - cfgFunctions parser now supports docstring in both BIS and CBA formats
- Migrated debugger to newer vscode version
- Added
messageFilter
anderrorFilter
to debugger configuration allowing basic filtering of output
- Fixed issue with
with
command (#18) __FILE__
and__LINE__
are on longer recognized as variables
- Added new commands and functions
#include
path can now be opened (#15)- Fixed incorrect macro expansion (#14)
- Fixed empty statements causing errors
- Fixed comments in HPP files missing style
- Fixed path normalization in
includePrefixes
(issue #13) - Fixed preprocessor not recognizing multiline comments (issue #13)
- Incorrect path in
#include
now throws warning about invalid paths whencheckPaths
option is enabled
- Added
includePrefixes
option, using this option, you can map prefix used in#include
to different path. For example, you can map\A3\
toC:\UnpackedArma\
, so#include "\A3\hpp.inc"
will be mapped to#include "C:\UnpackedArma\hpp.inc"
- Macros now show their definition in hover
- Fixed descriptions for some commands
- Fixed
params
raising undefined property in some cases - Fixed hover not working when file with definition of variable was deleted/moved
- Fixed
if
sometimes throwing errors in console - Fixed wrong error offsets for HPP files
- Fixed HPP parser using older file contents
- Added basic coloring for EXT/HPP files
- Added code completion for description.ext
- Hovering over variable will now display its definiton(s)
- Update hover format to match default vscode style
- Fixed hover documentation for some BIS functions
- Removed debug output (sorry)
- Fixed HPP parser not working in same cases (switched to different parser generator)
- Macros with arguments are now properly handled
switch
andtry
results can now be assigned to variable- Fixed parser not woring at all (don't kill me pls)
- Fixed empty files throwing errors
- Workspace indexing optimization, SQFLint can now parse multiple files in one process, which greatly incerases performance (this means we have language server behind language server, which is sad)
- Fixed some issues with preprocessor
- Fixed more HPP parser issues
- Fixed hover not vorking
- Fixed some HPP parser issues
- Added basic description.ext parser, which will try to parse cfgFunctions and load user defined functions (issue #5)
- Added new functions and operators
- Fixed double indexing
- Variables used before being defined are now correctly marked as undefined
- Added option to ignore specific variables when checking for definition (
ignoredVariables
option)
- Fixed
if
result not being assignable to variable (issue #4) - Fixed faulty string being accepted (issue #8)
- Macros and includes are now parsed and processed, but include only loads preprocessor commands for now (issue #6)
- Part of the grammar was rewritten to support more complex structures and analytics (assignable
switch
should be in next release) - Added new operators / functions
- Fixed variables declared in
params
orfor
being suggested with string quotations
- Added double indexing to resolve global variables (
indexWorkspaceTwice
option) - Added option to exclude files from indexing (
exclude
option) - Marcos and includes are now correctly parsed
- Fixed incorrect operator parsing (issue #3)
- Fixed incorrect parsing of
try
,catch
andthrow
(issue #2)
- Better variable definition detection (now correctly detects variables in
for
andparams
) - Added CBA functions
- Added completion and hover info for UI/units events
- Added global variables to autocompletion
- Added workspace indexing
- Added options to: disable warnings, disable workspace indexing
- Added experimental debugger, which currently just watches for changes in lastest rpt file
- SQFLint jar is now bundled with extension, so you now only need java installed
- Actual variable name is now used for warnings and autocompletion (only lowercase version was used previously)
- Fixed exec error crashing language server
- Fixed autocompletion for BIS functions
- Optimization: Limited number of sqflint calls when writing code
- previously, sqflint was called on every change, which caused high CPU usage
- Some little optimizations
- Fixed signature help