• Stars
    star
    247
  • Rank 164,117 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created over 7 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CS-Script (C# Intellisense) plugin for Notepad++ (x86/x64)

stand with Ukraine

CS-Script Plugin (CSScript.Npp)

paypal

Github All Releases

Download latest release

This Notepad++ plugin requires .NET v4.0 or higher.


.NET Framework -> .NET transition

The current release of CS-Script targets .NET Core family runtime (.NET 6).
CS-Script started targeting .NET 5+ about a year ago as .NET Framework further development has been effectively cancelled by the .NET team.

Since the plugin is shipped with the engine targeting by default .NET Core, some users who are still relying on .NET Framework will need to use older versions of the plugin. Unfortunatelly Notepad++ has introduced recently some breaking changes so you will need to downgrade both Notepadd++ and the plugin (see this Issue to find out the compatible combination).


Total downloads via Notepad++ Plugin Manager: Total Downloads Count:
Downloads Statistics

* statistics does not include x64 downloads nor downloads after Notepad++ discontinued shiping editor with the x86 plugin manager included

Starting from v1.3 plugin delivers full support for VB.NET syntax. More reading...

You can also run scripts targeting .NET 5/Core runtime.


This plugin allows convenient editing and execution of the C# code (scripts). It also allows the usual C# intellisense and project management tasks to be performed in a way very similar to the MS Visual Studio.

Older versions of plugin that targer .NET Framework provide generic debugging functionality (with the integrated Managed Debugger) as well as the ability to prepare C# scripts for the deployment packages (script+engine or self-contained executable). Debugging is not supported on the .NET Core editions.

Typically user opens the C# file with Notepad++ and after presses 'Load' button on the CS-Script toolbar the all features can be accessed through two Notepad++ dockable panels Project and Output panel.

Debugger is only available for older versions of plugin that targer .NET Framework but not .NET Core. For .NET Core use Visual studio to debug your scripts.

Features

Note: the default compiler engine of the plugin is Roslyn. The engine fully supports both C# and VB.NET syntax but there is some usability information for these syntaxes that you may need to be aware of. See C# 7 support for and VB.NET support details.

  • Intellisense

    • CLR type members auto-complete (Ctrl+Space or type '.')
    • Add missing 'using' (Ctrl+.)
    • Show CLR type quick info. (Hover mouse over the type member)
    • Show Method Overloads popup. (F6 or type '(')
    • Go to definition (F12)
      • in the source code
      • in the reconstructed referenced assembly API interface (including XML documentation)
    • Smart Indentation
    • Formatting C# source code
    • CodeMap - panel with the class members of the current .cs document
  • Based on 'plain vanilla' ECMA-compliant C# code

  • Inclusion of the dependency scripts via CS-Script directives

  • Implicit assembly referencing via automatic resolving namespaces into assemblies

  • Explicit assembly referencing via CS-Script directives

  • Debug output interception

  • Console output interception

  • Conventional build/execution error reporting

  • Debugging (.NET Framework only)

    • Step Over
    • Step In
    • Step Out
    • Set Next Statement
    • Toggle breakpoint
    • 'Call Stack'
    • 'Locals' Preparing the script deployment package so it can be executed outside of Notepad++.
      The plugin is a part of CS-Script tools for Notepad++ suite. All details on the system requirements, installation and usage can be found on CS-Script.Npp home page.

Usage

After the installation start Notepad++ and click "Project Panel" button on the toolbar (or "Project Panel" menu item in the Plugins->CS-Script menu).

Then Click 'New Script' button. The script is ready. Just press F5 and see the script being executed.

More Repositories

1

cs-script

C# scripting platform
C#
1,620
star
2

wixsharp

Framework for building a complete MSI or WiX source code by using script files written with C# syntax.
C#
1,110
star
3

shell-x

Dynamic context menu manager for Windows.
C#
144
star
4

cs-script.core

.NET Core port of CS-Script
C#
100
star
5

codemap.vscode

Code map (syntax tree) of the active document
TypeScript
85
star
6

sublime-codemap

CodeMap - is a ST3 plugin for showing the code tree representing the code structure of the active view/document
Python
41
star
7

cs-script.vscode

VSCode extension for CS-Script
TypeScript
40
star
8

cs-script.net-framework

A mirror of the oleg-shilo/cs-script repository of CS-Script for .NET Framework. A copy of the repo before the product migration on .NET 5migrat
C#
30
star
9

Favorites.vscode

VSCode extension for managing Favorites
TypeScript
23
star
10

PyMap.VSIX

CodeMap extension for Visual Studio 2017-2022
C#
18
star
11

CodeMaidPlus

A simple extension that attempts to address some shortcomings of rather excellent CodeMaid.
C#
16
star
12

DocPreview.VSIX

C#
14
star
13

scripts.npp

C#
13
star
14

sublime-favorites

Favorites list for Sublime Text 3
Python
13
star
15

MoveTypeToFile.VSIX

"Move Type To File" Visual Studio 2017/2019 extension
HTML
10
star
16

multiclip

MultiClip
C#
10
star
17

Retired-VSIX

Repository of legacy Visual Studio extensions
10
star
18

cs-script-sublime

Sublime Text 3 plugin for CS-Script
Python
9
star
19

win-sudo

C#
8
star
20

GC-Menu

C#
7
star
21

LineMan.VSIX

Line manipulation extension for Visual Studio 2017
C#
6
star
22

CS-Script.VSIX

C#
5
star
23

StartApp

Instant launcher for heavy UI applications
C#
3
star
24

PropMan.VSIX

Property Manipulation Utilities for encapsulating fields, converting auto-properties to full properties and back.
C#
3
star
25

syntaxer.core

C#
3
star
26

mkshim

C#
3
star
27

syntaxer

C#
2
star
28

TailRecursion

C#
1
star
29

cs-script.sublime.dev

Python
1
star
30

CodeSnippets

C#
1
star
31

Stack-Analyser

A playground for dealing with call stack and assembly metadata
C#
1
star
32

ruta

C#
1
star
33

vscode-issue-reporting

TypeScript
1
star
34

CopyRefs.VSIX

C#
1
star
35

AsyncIt

C# code-generator analyzer for building Async/Sync API
C#
1
star