Skip to content

Releases: Sarrus1/sourcepawn-studio

v2.1.3

16 Aug 13:06
6317f0b
Compare
Choose a tag to compare

Fixed

  • Remove images from package.

v2.1.2

16 Aug 09:38
a4aba28
Compare
Choose a tag to compare

Added

  • Add proper highlighting inside enums.
  • Add support for the :: identifier.

Fixed

  • Fixed defines and enum members being highlighted in strings and block comments.

v2.1.1

15 Aug 10:25
cef8306
Compare
Choose a tag to compare

Fixed

  • Fixed logic error in enum struct parsing.

v2.1.0

15 Aug 10:02
7393276
Compare
Choose a tag to compare

Added

  • Added this support inside enum structs.
  • Added GoToDefinition support inside enum structs' methods.

Fixed

  • Fixed parsing error for <keyword>[] <variablename> variable declarations.
  • Fixed parsing of enum struct methods, where the last one would be considered like a global function.

v2.0.3

15 Aug 08:15
a73ea95
Compare
Choose a tag to compare

Fixed

  • Fixed parsing error for <keyword>[] <variablename> variable declarations.
  • Fixed parsing of enum struct methods, where the last one would be considered like a global function.

v2.0.2

14 Aug 12:50
a0c4f25
Compare
Choose a tag to compare

Fixed

  • Improved functions parsing.
  • Fixed // in doc comments.
  • Fixed defines and enum members being highlighted in comments.

v2.0.1

12 Aug 13:51
0b15046
Compare
Choose a tag to compare

Added

  • Added proper highlighting support for undef, function, typedef and typeset.
  • Added highlighting support for FormatTime placeholders.

Fixed

  • Fixed an issue where global methodmap variables wouldn't get method/property autocompletion.
  • Method/Property completions won't suggest the constructor if the new keyword isn't detected.
  • Fixed incorrect parsing for function descriptions containing < and >.
  • Improved support for Intellisense for projects containing multiple .sp files. If MainPath is properly configured, Intellisens will work correctly.

v2.0.0

07 Aug 09:40
eee9c67
Compare
Choose a tag to compare

Added

  • Completion now only suggest methods and properties that belong to the methodmap or the enum struct of the variable.
  • MethodMap completions now suggest inherited properties and methods.
  • MethodMap and enum structs' completions are now suggested even for arrays elements and function calls.
  • Added support for autocompletion for nested enum structs' properties and methods.
  • Added support for the new keyword. Suggestions will only suggest constructors and the extension will provide signatures accordingly.
  • Function and method signatures now work even if there is no JSDoc comment right above.
  • Added an option to specify a path relative to the workspace when creating a new project.
  • Implemented scopped completions for variables. A variable won't be suggested if the user is typing outside of the variable's scope.
  • Extension is now bundled, this will improve performances.
  • Complete refactoring of the GoToDefinition system, which now updates the location of an item every parsing.
  • Added support for signatures help in multi-line function calls.
  • Added escaped characters highlighting.
  • Added dynamic syntax highlighting for defines and enum Members.

Fixed

  • Improved overall performances by over 50% in some cases (completions were sometimes iterated over twice, which caused delays in large files).
  • Made #include, #pragma, etc statements highlighting closer to C/C++ highlighting.
  • Fixed an issue for include files not inside an include folder.
  • Fixed an error where function signatures would get confused if a , was in a string or an array.
  • Fixed unprompted autocompletion when typing misc characters like \ or ".
  • Fixed an issue where signatures helpers wouldn't work properly on secondary .sp files.
  • Improved syntax highlighting for function return types.
  • GoToDefinition, Hover, and Signatures are now less random.

v1.12.7

17 Jun 13:53
e3d123b
Compare
Choose a tag to compare

Added

  • Added support for .ini files syntax highlighting. Thanks to HolyHender for suggesting this.
  • Added a setting for choosing whether to always compile the MainPath file (if it's set) or to always compile the currently opened file.
  • Added support for .kv files.

Fixed

  • Fixed issue #54 where a compiled folder would be generated even if the output directory was configured to something else. Thanks to DRAN1X for reporting this.
  • Compile button is now more persistent in the menu.
  • Fixed issue #58 regarding syntax highlighting for .cfg files.
  • Fixed issue #56 regarding syntax highlighting for multiline strings and ' inside double quoted strings and vice-versa.

v1.12.6

16 Jun 08:32
ec302de
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where the installer wouldn't add paths to the settings after installing sourcemod.