What's new in CS-Script for Notepad++ 2.0.4.0

Feb 10, 2024
  • 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.

New in CS-Script for Notepad++ 2.0.3.0 (Jan 22, 2023)

  • 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

New in CS-Script for Notepad++ 2.0.2.0 (May 8, 2022)

  • Improved Npp compatibility checking (Issue #64)

New in CS-Script for Notepad++ 2.0.1.0 (Apr 27, 2022)

  • Improved Npp compatibility checking

New in CS-Script for Notepad++ 2.0.0.0 (Apr 21, 2022)

  • 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.

New in CS-Script for Notepad++ 2.0.0.0 Pre-release (Apr 18, 2022)

  • 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.
  • 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.

New in CS-Script for Notepad++ 1.7.289 (Mar 11, 2022)

  • 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.

New in CS-Script for Notepad++ 1.7.28.0 (Feb 23, 2022)

  • 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.

New in CS-Script for Notepad++ 1.7.27.0 Pre-release (Feb 19, 2022)

  • 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.

New in CS-Script for Notepad++ 1.7.26.0 (Sep 25, 2021)

  • 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

New in CS-Script for Notepad++ 1.7.25.1 (Sep 18, 2021)

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

New in CS-Script for Notepad++ 1.7.25 (Sep 18, 2021)

  • 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")

New in CS-Script for Notepad++ v1.7.24 (Jan 9, 2019)

  • Updated deployment algorithm to handle another set of breaking changes in Notepad++ v7.6 hosting model (PluginAdmin compatible).
  • Fixed script startup problem with '|' character in the DefaultRefAssemblies value.

New in CS-Script for Notepad++ 1.2.1.1-2 (RC) (Sep 16, 2016)

  • Issue#18: Class name auto-completion may fail.
  • Issue#17: Problem with Format-on-Save option
  • Added CodeMap support for C#6
  • CS-Script execution improvements
  • Defining SearchDirs from the settings file
  • Processing css_conig.xml if present
  • Added N++ settings compatibility checking/report

New in CS-Script for Notepad++ 1.2.1.0 (Sep 16, 2016)

  • Fixed 'competition' between N++ and CSScript.Npp auto-indentation
  • Added option ('on' by default) to auto-format code on saving document
  • Asynchronous starting Roslyn server at N++ startup is made a default behavior. The change dramatically improves UX by eliminating/hiding Roslyn startup delay. The change became justified after long testing over numerous releases didn't reveal any serious issues associated with Roslyn.
  • Implemented setting the custom host for script AsyncRun.

New in CS-Script for Notepad++ 1.2.0.0 (Sep 16, 2016)

  • Added CodeMap support for Python files
  • Added mouse controlled zoom for all output and project panels
  • Updated CS-Script engine (v3.14.0.0)
  • Added wild card support for includes (e.g. //cssinc helper*.cs)

New in CS-Script for Notepad++ 1.1.0.0 (Sep 16, 2016)

  • "Rename symbol at caret" completed
  • Added setting custom 'Scripts Directory' from the configuration panel.
  • Fixed problem with CodeMap not being auto-refreshed on tab/document switch.
  • Improved startup loading behaver (no more panels flickering)
  • Added synchronization of closing secondary output panels with project panel

New in CS-Script for Notepad++ 1.0.52.0 (Sep 16, 2016)

  • Full support for C# 6 (completed):
  • Auto-completion
  • Go To Definition (in source)
  • Go To Definition (in assembly)
  • Find References
  • info tooltip
  • parameters info
  • missing 'usings'
  • document
  • Added 'Go To Definition' on mouse Ctrl+LeftClick
  • Added context menu with C# Intellisense commands
  • Implemented auto-disabling C# 6 Intellisense if it fails to initialize (e.g. .NET v4.6 is missing). In this case Intellisense is configured back to C# 5 syntax.
  • Added option to enable/disable 'Restoring Panels At Startup'
  • C# 6 syntax support is based on Roslyn (requires .NET v4.6).
  • It isn't enabled by default but can be enabled from the settings dialog.
  • Roslyn is a MS technology that is constantly evolving. Please report any problems with Roslyn as your feedback is vital for improving C# 6 support

New in CS-Script for Notepad++ 1.0.51.2 (Sep 16, 2016)

  • After the initial feedback Roslyn Intellisense support has been disabled by default. You can still enable it from the Config panel. Please report any problems with Roslyn as your feedback is vital for improving C# 6 support

New in CS-Script for Notepad++ 1.0.51.0 (Sep 16, 2016)

  • Added support for "add event handler" scenario (Roslyn)
  • Added support for add member assignment
  • Added "AutoInsertSingeSuggestion" config option
  • Issue#14: Currently not compatible with Notepad++ v6.9.1.
  • NLog based logging replaced with more reliable custom logging (to address Issue#14).

New in CS-Script for Notepad++ 1.0.50.1-3 (Sep 16, 2016)

  • NLog based logging replaced with more reliable custom logging (to address Issue#14).
  • Added extra foll back custom logging at startup
  • Fixed problem for autocompletion at the very end of the code line.

New in CS-Script for Notepad++ 1.0.50.0 (Sep 16, 2016)

  • Added support for C# 6.0 Intellisense (auto-completion). Previously only formatting and script execution was available.
  • Updated embedded CS-Script engine to the latest v3.12.1.0 (NuGet and misc usability improvements)
  • It is a serious milestone, which opens the road for the gradual phasing out the NRefactory parsers in favor of Roslyn.

New in CS-Script for Notepad++ 1.0.49.0 (Sep 16, 2016)

  • Autocompletion focus/selection management brought inline with Visual Studio user experience.
  • Added CS-Script specific auto-completion for "//css_ref *" and "using *"
  • Added pre-loading Roslyn compilers on N++ startup and keep it loaded while N++ is active
  • Added support for updating to pre-release versions
  • Fixed CodeMap problem with delegates declarations breaking the parsing
  • Fixed problem with CssConsoleEncoding not being read correctly from the config file
  • Fixed inaccurate Up/Down key navigation in MethodInfo popup
  • Fixed accidental saving empty config values

New in CS-Script for Notepad++ 1.0.48.0 (Sep 16, 2016)

  • Added plugin error logging. It can be accessed from About box.
  • Added Roslyn server to keep Roslyn compilers loaded between script executions. Significantly improves Roslyn performance.
  • Updated CS-Script engine (v3.11.0.0)
  • Added support //css_nuget package dependency resolving.
  • Fixed problem with -force:delay switch colliding with other //css_nuget switches.
  • Added Intellisense support for all CS-Script directives
  • Added 'help' for all CS-Script directives

New in CS-Script for Notepad++ 1.0.47.0 (Sep 16, 2016)

  • ResolveMemberAtCaret (intellisense) now handles the NPP 'unorthodox' concept of caret position.
  • Fixed problem with referencing NuGet nested packages.
  • Migrated on latest CS-Script version (v3.9.19.0)
  • Fixed probelm with referencing nested NuGet packages (e.g. ServiceStack)
  • //css_searchdir extended to support multiple wildcards
  • Added support -force and -ver:; switch in //css_nuget

New in CS-Script for Notepad++ 1.0.46.0 (Sep 16, 2016)

  • Debugger extensions:
  • Implemented setting local variables and instance/static members in break mode.
  • Fixed accidental break points drifting within a document.
  • Usability improvements:
  • Added option for skipping the version on "update available" prompt
  • Improved ListView rendering on Win10 (to overcome Win10 rendering flaw)
  • Added config option for Key Interception exclusions for specific file types

New in CS-Script for Notepad++ 1.0.45.1 (Sep 16, 2016)

  • Added option for skipping the version on "update available" prompt
  • Added config option for Key Interception exclusions for specific file types
  • Improved ListView rendering on Win10
  • Improved error reporting on plugin initialization failure

New in CS-Script for Notepad++ 1.0.45.0 (Sep 16, 2016)

  • Added support for a comprehensive (Roslyn based) code formatter. If for whatever reason Roslyn doesn't work on your PC you can disable the formatter form settings dialog.
  • Added option for CS-Script engine custom location
  • Added automatic setting working directory to the script folder when opening in Visual Studio

New in CS-Script for Notepad++ 1.0.44.0 (Sep 16, 2016)

  • Added support for C# 6.0 via Roslyn provider. It is disabled by default. You can enable it from the Settings dialog.
  • Fixed collision between Npp and CSScript.Npp auto-indent
  • Improved "add missing 'usings'"
  • Implemented reliable KnownFolders.UserDownloads in response to discussions/637474

New in CS-Script for Notepad++ 1.0.43.0 (Sep 16, 2016)

  • Added auto-closing N++ on CSScript.Npp 'immediate' update
  • Preparation of the plugin for the integration with CS-Script from Chocolatey

New in CS-Script for Notepad++ 1.0.42.0 (Sep 16, 2016)

  • Implemented expression evaluation (funceval) in the QuickWatch panel
  • Reduced Toolip flickering in BreakPoint mode
  • Improved CodeMap for reflected types (does not fail on syntax errors)
  • Added formatting bracket-less if..else statements

New in CS-Script for Notepad++ 1.0.41.0 (Sep 16, 2016)

  • Updated CS-Script engine (v3.9.6.0)
  • Fixed "Add using" menu focus management
  • Improved 'add usings' autoresolving
  • Implemented cleaning of the plpugin temp directory
  • Improved formatting of the inline initializers (Dictionary)
  • Improved reliability of the current step marker rendering

New in CS-Script for Notepad++ 1.0.40.0 (Sep 16, 2016)

  • Migrated to CS-Script v3.9.4.0
  • Added 'Favorite Scripts' panel
  • Improved code formatting
  • Autocomplete list and MemberInfo is made focus-less
  • Plugin no longer try to save "new" file on compile/run
  • Extended "Auto-add missing usings" for class-less scripts

New in CS-Script for Notepad++ 1.0.39.0 (Sep 16, 2016)

  • Changed priority of the assembly probing steps. Now Namespaces are resolved the last.
  • Improved referenced assembly analysis in 'script project' and intellisense
  • Fixed Issue#11: Wrong path for scripts in search dirs
  • Added support for debugging surrogate hosting process (//css_host)

New in CS-Script for Notepad++ 1.0.38.0 (Sep 16, 2016)

  • Added "%CSSCRIPT_DIR%Lib" as a probing directory for project referenced assemblies.
  • Fixed problem with displaying project references by quoted assembly full name.

New in CS-Script for Notepad++ 1.0.37.0 (Sep 16, 2016)

  • F12 generated type definition cleared from inherited members.
  • Fixed F12 generation of XML documentation for 'nuget cs-script' assembly.
  • Improved auto-sizing of 'value column' of Debug Panel.
  • Improved 'Watch Object' tooltips and display values
  • Improved runtime code tooltips.

New in CS-Script for Notepad++ 1.0.36.0 (Sep 16, 2016)

  • Support for referencing NuGet packages from script
  • Added work around for windows painting artifact on N++ being deactivated
  • Improved F12 code reconstruction error handling
  • Implemented truncation of very large member info tooltips
  • Improved file naming algorithm for "new script" action
  • Fixed uncontrolled auto-scrolling to current Debug step on Tooltip request

New in CS-Script for Notepad++ 1.0.34.0 (Sep 16, 2016)

  • Added support for /r character for the intercepted StdOut content.

New in CS-Script for Notepad++ 1.0.33.0 (Sep 16, 2016)

  • Added config data for debugger step and breakpoint markers
  • Implemented background (on exit) update

New in CS-Script for Notepad++ 1.0.32.0 (Sep 16, 2016)

  • Improved handling "OpenInVS" by respecting default IDE for VS2012 projects.
  • Added option to prepare script for distribution as a WindowsApp as opposite to ConsoleApp
  • Fixed problem with faulty code formatting caused by the NPP ridiculous caret position model based on the byte (instead of char) count of the text.
  • Fixed problem with occasional 'GetWordAt' failures causing autocompletion ambiguities.

New in CS-Script for Notepad++ 1.0.31.0 (Sep 16, 2016)

  • Fixed problem with menu item 'Plugins->CS-SCript->Debug' invoking 'Run' instead of 'Debug'.

New in CS-Script for Notepad++ 1.0.30.0 (Sep 16, 2016)

  • Auto-updating project references and includes on script saving.
  • Auto-add missing 'usings' on Alt+U
  • Added collection visualizers to all Debug panels

New in CS-Script for Notepad++ 1.0.29.0 (Sep 16, 2016)

  • Added the option for non-debug tooltips (on-rollover members info) to be based on the native NPP calltip mechanism. (ShowQuickInfoAsNativeNppTooltip option in the config file)
  • Implemented collection visualization for the debugging tooltips.
  • Added handling globals and statics for expressions resolving (e.g. tooltip, Watch, QuickView).
  • Fix for the line number discrepancy problems when moving the lines with breakpoints.
  • Improved current debugging step visualization with automatic switch to the main thread on explicit 'break'.

New in CS-Script for Notepad++ 1.0.28.0 (Sep 16, 2016)

  • Implemented Debugger start/attach to external process. Just place a break point into the source code after you attached to the running process.
  • Added "Restart Notepad++ (Elevated)" button.
  • Implemented script manager buttons customization.
  • Implemented JIT debugger launcher (npp_jit.exe), which allows passing plugin specific command line arguments

New in CS-Script for Notepad++ 1.0.27.0 (Sep 16, 2016)

  • CodeMap now indicates the type name for all members
  • Implemented running scripts 'as administrator'. Just add '//css_npp asadmin' to the script and run it as usual.
  • 'Prepare script for distribution' now aggregates script dependency assemblies.
  • Various improvements in CodeSnipptet, Autcompletion and MethodInfo interactions with each other.
  • Added printing line number for the entries in CodeMap (subject of configuration value)
  • Improved debugging step indication for classless scripts and for Unicode content

New in CS-Script for Notepad++ 1.0.26.0 (Sep 16, 2016)

  • Added access to the Release Notes during 'Check for Updates...''
  • Debug panels:
  • Added support for generic types members
  • Members are grouped into 'Raw View' and 'Non-Public members' categories
  • Implemented dedicated (array-like) view for Lists and Dictionaries

New in CS-Script for Notepad++ 1.0.25.0 (Sep 16, 2016)

  • MemberInfo/MethodInfo popup is now positioned properly to fit the screen
  • In MethodInfo popup method signatures are word-wrapped
  • Implemented Debug text value visualizer
  • Pining sub-values from Watch Panel

New in CS-Script for Notepad++ 1.0.24.0 (Sep 16, 2016)

  • ShortcutMapping panel now allows direct modification of the shortcuts.
  • Custom updater dropped support for MSI installation but it still allows downloading of MSI

New in CS-Script for Notepad++ 1.0.23.0 (Sep 16, 2016)

  • Fixed ShowMethodInfo being ignored for methods with no arguments
  • Implemented plugin non-MSI updating for portable NPP installations

New in CS-Script for Notepad++ 1.0.22.0 (Apr 25, 2014)

  • All plugin shortcuts are made configurable from "Shortcuts Dialog"
  • 'Transparent' handling of breakpoints in auto-generated files
  • Breakpoints Panel

New in CS-Script for Notepad++ 1.0.21.0 (Apr 25, 2014)

  • Watch panel

New in CS-Script for Notepad++ 1.0.20.2 (Apr 25, 2014)

  • QuickWatch panel
  • Threads panel
  • Optional breaking on user Exceptions
  • Showing fields/properties values on mouse rollover
  • Breakpoints persistence

New in CS-Script for Notepad++ 1.0.19.0 (Apr 25, 2014)

  • Implemented Integrated Debugger
  • Step Over
  • Step In
  • Step Out
  • Set Next Statement
  • Toggle breakpoint
  • 'Call Stack' Panel
  • 'Locals' Panel

New in CS-Script for Notepad++ 1.0.18.0 (Feb 19, 2014)

  • Added support fro Code Snippets
  • Improved AutoUpdate
  • Formatting improvements
  • Assorted usability improvements

New in CS-Script for Notepad++ 1.0.17.3 Alpha (Feb 19, 2014)

  • Implemented checking for NPP non-system drive deployment from plugin update MSI.
  • Implemented Code Snippets.
  • MSI is rebuilt to handle x86 Target systems

New in CS-Script for Notepad++ 1.0.17.2 Beta (Feb 19, 2014)

  • CheckFoUpdates does not include version into the downloaded MSI file name
  • Load script from history also opens the file
  • Version in AboutBox now also reflect the version of cscs.exe
  • Fixed "Add missing usings" when no other usings present.
  • Script compilation errors are now in Unicode

New in CS-Script for Notepad++ 1.0.17.1 (Feb 8, 2014)

  • Removed dependency on .NET 4.5.1.

New in CS-Script for Notepad++ 1.0.17.0 (Jan 31, 2014)

  • Fixed problem with plugin popups comteting with NPP windows for the user input ('npp freeze' issue)

New in CS-Script for Notepad++ 1.0.16.0 (Jan 18, 2014)

  • Encoding for all "Console Interceptions" is set to UTF8.

New in CS-Script for Notepad++ 1.0.15.0 (Jan 6, 2014)

  • Improved focus management integration with Scintilla
  • Improved formatting algorithm
  • Implemented avoiding collisions with other plugin's shortcuts
  • Recent scripts history is fixed to allow saving more then 256 chars value

New in CS-Script for Notepad++ 1.0.12.0 (Dec 12, 2013)

  • Implemented checking for updates at startup

New in CS-Script for Notepad++ 1.0.11.0 (Dec 12, 2013)

  • Fixed typo in AboutBox tooltip
  • Fixed default docking problem

New in CS-Script for Notepad++ 1.0.10.0 (Dec 3, 2013)

  • Prevented switching to the primary script on F5/F7 if the secondary one is opened
  • All open files are saved on F5/F7
  • Improved 'Find references'

New in CS-Script for Notepad++ 1.0.9.2 (Nov 30, 2013)

  • Fixed localization problem for the process output of ConsoleIntercept and DdMon
  • Added refresh button to the CodeMap panel
  • Added UseTabToAccept auto-completion suggestion panel

New in CS-Script for Notepad++ 1.0.9.1 (Nov 22, 2013)

  • Added support for .csx file extensions
  • Implemented navigation to file reference from the exception message in output panel

New in CS-Script for Notepad++ 1.0.9.0 (Nov 5, 2013)

  • Implemented Recent Scripts list
  • Added checking for plugin updates from AboutBox
  • Multiple formatting improvements/fixes
  • Implemented selection of the CLR version when preparing distribution package
  • Added project panel button for showing plugin shortcuts list
  • Added 'What's New?' panel
  • Fixed auto-formatting scrolling artifact

New in CS-Script for Notepad++ 1.0.8.7 (Oct 26, 2013)

  • Implemented CodeMap panel

New in CS-Script for Notepad++ 1.0.8.5 (Oct 26, 2013)

  • Added various ProjectPanel buttons:
  • added preparing script distro package
  • show settings
  • show scripts directory
  • show shortcuts list for 'This' and 'Intellisense' plugin
  • Usability improvements:
  • shortcut for loading the script
  • new config for "format on fly" and close config dialog on editing file directly
  • auto-generated classes made readonly

New in CS-Script for Notepad++ 1.0.8.2 (Oct 15, 2013)

  • Solved scrolling problem after DocumentFormatting
  • Implemented "format as you type"

New in CS-Script for Notepad++ 1.0.8.0 (Oct 10, 2013)

  • fixed document formatting artifacts

New in CS-Script for Notepad++ 1.0.7.1 (Oct 3, 2013)

  • smart indentation
  • document formatting

New in CS-Script for Notepad++ 1.0.6.0 (Sep 30, 2013)

  • Added support for classless scripts

New in CS-Script for Notepad++ 1.0.5.0 (Sep 23, 2013)

  • Support for "Go To Definition" (F12)

New in CS-Script for Notepad++ 1.0.4.0 (Aug 21, 2013)

  • Merged with CSScriptIntellisense (CSScriptIntellisense is included now into the distro files)

New in CS-Script for Notepad++ 1.0.3.0 (Aug 21, 2013)

  • Integration with the latest CSSCriptLibrary.dll

New in CS-Script for Notepad++ 1.0.2.0 (Aug 21, 2013)

  • This release brings "Run Without Debugger Attached" and the final shortcut integration with Notepad++.