Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a *very* lightweight IDE for .net? [closed]

Tags:

.net

ide

Check out Snippet Compiler. I use it often, it's very small and minimizes to the system tray until you need it.

Screenshot of SnippetCompiler in action on i.stack.imgur


Personally, I've run into a lot of friction using Snippet Compiler.

So, I tend to use LINQPad to test snippets. It's pretty convenient for testing individual lines of code, or most "full" program snippets, as well as evaluating LINQ statements against a database.

It features a really awesome view of results, so that complex types are displayed in an easy-to-read structure.

From their site:

  • LINQPad reports the execution time in the status bar, so you won't have to manually create a Stopwatch class for performance testing.
  • Want to test a variation of your snippet? Ctrl+Shift+C instantly clones your snippet so you can run another version side-by-side.
  • You can return to saved queries in single click, thanks to the My Queries treeview. Some people are using LINQPad as a scripting tool!

The only real snag that run into with LINQPad is in the "full program" mode (where you're defining methods, instead of just calling individual statements) you can't create extension methods, because everything happens inside of a the context of a hidden type (and extension methods can't be defined in a nested type).This has since been addressed, and LINQPad supports defining extension methods now.


By using the vsvars32.bat file provided by Microsoft, it only takes a minimal amount of configuration to run the C# csc.exe compiler from the command line.

So in general, any editor that can run a third party tool could be configured to run the C# compiler from within the editor.


If you are not stick with C#, I'd recommend you to use F# interactive or IronPython console.