编写和执行C#代码的插件:CS-Script for Notepad++

时间:2023-03-08 21:22:54

这个插件可以方便得让您在Notepad++编辑器中编辑和执行C#代码(脚本)。它具备通用的C#智能感知和项目任务管理功能,方式非常类似于MS Visual Studio。除了这一点,它提供了通用的调试功能(带集成的托管调试器),以及c#编写脚本的部署包(脚本+引擎或独立可执行文件)的能力。

特性

  • 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 namesspaces into assemblies
  • Explicit assembly referencing via CS-Script directives
  • Debug output interception
  • Console output interception
  • Conventional build/execution error reporting
  • Debugging
    - 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++.

编写和执行C#代码的插件:CS-Script for Notepad++

项目主页:http://csscriptnpp.codeplex.com/