Skip to content

Releases: oleg-shilo/cs-script.npp

Release v2.0.4.0

10 Feb 04:12
Compare
Choose a tag to compare
  • Fixed #74: Intellisense not working as expected.
    Added workaround for the ricent Scintilla changes around SciMsg.SCN_CHARADDED notifications.
  • The default of AutoSelectFirstSuggestion is changed to true. To make it consistent with VS. It can always be changed in the config file.

Release v2.0.3.0

22 Jan 00:49
00255cc
Compare
Choose a tag to compare
  • Npp compatibility checking (Issue #64) is disabled in favor of hard-codded compatibility for new Scintille.TextRange API.
    The checking algorithm became fragile in the latest releases of NPP when the editor restarts itself in Admin mode.
  • Updated CS-Script embedded engine to v4.6.4
  • Updated CS-Script.Syntaxer embedded executable to v3.1.2

Release v2.0.2.0

08 May 10:40
Compare
Choose a tag to compare

Release v2.0.1.0

27 Apr 13:51
Compare
Choose a tag to compare

Release v2.0.0.0

18 Apr 12:10
Compare
Choose a tag to compare

This is the first release of the plugin purely targeting .NET 6 and higher.

New features and changes:

  • The plugin requires .NET 6 or higher to be installed on the target system for scripts to be run.
  • It is possible now to integrate the plugin to use a custom version of CS-Script and syntax services (e.g. installed from Chocolaty).
    You can do it from the settings dialog.

New limitations:

  • If you need your scripts to target .NET Framework then you will need to install the older version.
    v1.7.29.0: https://github.com/oleg-shilo/cs-script.npp/releases/tag/v1.7.29.0
    If you only need to use .NET Framework assemblies from your script you can rely on .NET bridge mode available with .NET Core runtime (e.g. WPF under .NET Core).

Some plugin legacy features are no longer available:

  • All Debugger features are removed.
    This is because the .NET debugger available in previous releases does not support .NET Core runtime.
    Use external debuggers instead ("Debug" button on CS-Script toolbar)
  • The interception of the Debug output of the script is removed.
    This is because the .NET Core runtime no longer supports this technique.

Release v1.7.29.0

11 Mar 07:24
Compare
Choose a tag to compare

Release v1.7.29.0

The API workaround is not backwards compatible due to the technical limitations of Notepad++ plugin distribution model. Thus CS-Script enables/disables the workaround depending on the detected version of Notepad++. Meaning that the user experience is seamless, all versions of Notepad++ prior v8.3.0 disable the workaround, while v8.3.1 and higher enable it.

Please be aware that Notepad++ team does not coordinate their releases with the plugin authors so you may find that the future Notepad++ releases may become broken, thus if you see a specific future version of Notepad++ is crashing when you try to use CS-Script, please report it and a hotfix will become available very quickly.

You can always overwrite the auto-enabling API workaround algorithm by setting environment variable

  • CSSCRIPT_NPP_NEW_NPP_API= "true" - new API enabled
  • CSSCRIPT_NPP_NEW_NPP_API= "false" - new API disabled
  • CSSCRIPT_NPP_NEW_NPP_API=<not set> - new API will be enabled if Npp is v8.3.1 and higherd

Huge thank you to rdipardo for the investigation and the actual solution.

Note: this release has been tested on Notepad++ v8.2.1 and v8.3.1


Changes

v1.7.29

  • Added transparent switching to the new NPP API depending on the version: v8.2.1<->v8.3.0 (triggered by #64 and #65)
    Note: the trigger has been changed from v8.3.1 to v8.3.0 due to the N++ team decision to declare v8.3.0 as a current critical release.

v1.7.28
The major feature of this release is the workaround breaking API changes introduced in at least v8.3.1 of Notepad++.

  • Patched NppPluginNet: CharacterRange.cpMin and CharacterRange.cpMax changed from int to IntPtr
    This addresses the problems triggered by this the third-party component (NppPluginNet):
    • Issue #64: Creating a new script crashes latest 64-bit Notepad++ release
    • Issue #65: Intermittent crashes (and the culprit is CS-Script)
  • Added logging syntaxer internal errors to the plugin log dir.

Release v1.7.28.0

23 Feb 10:38
Compare
Choose a tag to compare

The major feature of this release is the workaround breaking API changes introduced in at least v8.3.1 of Notepad++.

The API workaround is not backwards compatible due to the technical limitations of Notepad++ plugin distribution model. Thus CS-Script enables/disables the workaround depending on the detected version of Notepad++. Meaning that the user experience is seamless, all versions of Notepad++ prior v8.3.1 disable the workaround, while v8.3.1 and higher enable it.

Please be aware that Notepad++ team does not coordinate their releases with the plugin authors so you may find that the future Notepad++ releases may become broken, thus if you see a specific future version of Notepad++ is crashing when you try to use CS-Script, please report it and a hotfix will become available very quickly.

You can always overwrite the auto-enabling API workaround algorithm by setting environment variable

  • CSSCRIPT_NPP_NEW_NPP_API= "true" - new API enabled
  • CSSCRIPT_NPP_NEW_NPP_API= "false" - new API disabled
  • CSSCRIPT_NPP_NEW_NPP_API=<not set> - new API will be enabled if Npp is v8.3.1 and higherd

Huge thank you to rdipardo for the investigation and the actual solution.

Note: this release has been tested on Notepad++ v8.2.1 and v8.3.1


Changes

  • Patched NppPluginNet: CharacterRange.cpMin and CharacterRange.cpMax changed from int to IntPtr
    This addresses the problems triggered by this the third-party component (NppPluginNet):
    • Issue #64: Creating a new script crashes latest 64-bit Notepad++ release
    • Issue #65: Intermittent crashes (and the culprit is CS-Script)
  • Added transparent switching to the new NPP API depending on the version: v8.2.1<->v8.3.1 (triggered by #64 and #65)
  • Added logging syntaxer internal errors to the plugin log dir.

Release 1.7.27.0

19 Feb 10:13
Compare
Choose a tag to compare
Release 1.7.27.0 Pre-release
Pre-release

This release is only compatible with Notepad++ v8.3.1 and higher.

Huge thank you to rdipardo for the investigation and the actual solution.

  • Patched NppPluginNet: CharacterRange.cpMin and CharacterRange.cpMax changed from int to IntPtr
    This addresses the problems triggered by this the third-party component (NppPluginNet):
    • Issue #64: Creating a new script crashes latest 64-bit Notepad++ release
    • Issue #65: Intermittent crashes (and the culprit is CS-Script)
  • Added logging syntaxer internal errors to the plugin log dir.

Release v1.7.26.0

25 Sep 04:42
Compare
Choose a tag to compare

v1.7.25-26

  • Fixed problem (inflicted by Scintilla update) with suggestion list not being updated on character removing
  • Added integration with .NET 5 edition of CS-Script.
    The script engine needs to be enabled from the settings dialog (see "Enable .NET 5/Core integration")
  • The process's TLS protocol is set to v1.2 to address "Check for updates" failures

To install/update this paste https://github.com/oleg-shilo/cs-script.npp/releases/download/v1.7.26/CSScriptNpp.1.7.26.0.x64.zip in the update source location field.
And then press "Update" button:

image

Release v1.7.25.1

18 Sep 11:56
Compare
Choose a tag to compare

v1.7.25

  • Added integration with .NET 5 edition of CS-Script.
    The script engine needs to be enabled from settings dialog (see "Enable .NET 5/Core integration")

v1.7.25.1

  • The process's TLS protocol is set to v1.2 to address "Check for updates" failures

To install/update this paste https://github.com/oleg-shilo/cs-script.npp/releases/download/1.7.25.1/CSScriptNpp.1.7.25.1.x64.zip in the update source location field.
And then press "Update" button:

image