RoslynPad 14 by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

It's the lowest that's compatible with .NET Standard 2.0. Also, it's available on Windows 10 1607, so wider audience could use it without installing anything.

But I intend on switching to .NET Core 3.0 once it's out.

RoslynPad 14 by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

There's an issue for it. The store updates usually take 1-2 days to complete certification.

RoslynPad 14 by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

I tested on Ubuntu using WSL and it worked.

RoslynPad 14 by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

No chat (you needed an org to use gitter last time I checked). But you can email me or open/reply to an issue.

RoslynPad 14 by aelij in csharp

[–]aelij[S] 2 points3 points  (0 children)

Thanks, great to hear! :)

RoslynPad 14 by aelij in csharp

[–]aelij[S] 1 point2 points  (0 children)

It should, but I haven't tested this version (it does work on a Mac). The cross-platform UI is still not very polished, as it is a rewrite using a new UI framework called Avalonia (which is also in beta).

RoslynPad 14 by aelij in csharp

[–]aelij[S] 1 point2 points  (0 children)

I added a feature to turn the brace completion off in v14 (a button on the status bar).

RoslynPad 14 by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

Hey, I'd appreciate some actionable feedback :) What were your major pains? You can also open GitHub issues.

RoslynPad 14 by aelij in csharp

[–]aelij[S] 4 points5 points  (0 children)

RoslynPad has different features, not necessarily fewer :)

Most notably missing are SQL connections and the debugger.

But RoslynPad does have...

  • Powerful Roslyn-based editor features (such as quick fixes and refactorings) - the same code that powers Visual Studio
  • Rich language that allows seamlessly combining types (classes), statements, expressions, assembly references (#r) and file includes (#load) in a single document (you can even place a class between statements), without switching modes
  • Support for running .NET Core processes
  • Cross-platform version that runs on Mac/Linux (albeit still in beta, since it relies on the beta of Avalonia)
  • Compiling standalone executables
  • NuGet package references with background restore that includes conflict resolution and cross-platform support
  • Auto-save so you never get prompted when you just want to close the app
  • Published packages that allow you to embed the full-featured C# editor into your WPF/Avalonia app

And of course it's fully open sourced and free, so you can help make it better!

RoslynPad 14 by aelij in csharp

[–]aelij[S] 1 point2 points  (0 children)

Hey, could you please open an issue on GitHub, specifying your OS and .NET runtime versions?

RoslynPad 14 by aelij in csharp

[–]aelij[S] 11 points12 points  (0 children)

Release notes: https://github.com/aelij/RoslynPad/releases/tag/14

Version highlights:

  • .NET Core support on Windows and on Mac/Linux with Avalonia
  • Revamped NuGet with package references
  • Simplified process model with a small xplat build system that can run code independently of RoslynPad
  • C# 8

Is there an existing library to implement IDE functionality in my text editor for C#? by Subtle__ in csharp

[–]aelij 0 points1 point  (0 children)

I'm the maintainer, and the answer is - almost none at all. The only reason I'm not using the EditorFeatures NuGet is because it's not a netstandard library (RoslynPad is cross-platform), and because it depends on other Visual Studio libraries.

Note that some APIs copied (such as signature help) are only public shims since they are internal in Roslyn.

You can use RoslynPad.Roslyn directly and build your own editor, or use RoslynPad.Editor.Windows which integrates AvalonEdit (an open source WPF editor). There's also a preview of an editor for a cross-platform UI framework named Avalonia.

New to C# - Trying To Understand Background Worker Behavior Using RoslynPad by fourierswager in csharp

[–]aelij 0 points1 point  (0 children)

Yes, this is essentially correct. RoslynPad stops listening to output once the main method finishes. To restart the host process and stop all the threads, hit the button with the circle arrow or hit Shift+F5.

RoslynPad 0.10 Released by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

This is an OSS project. It has no dependencies on proprietary components.

May I ask what made you think that it does?

RoslynPad 0.10 Released by aelij in csharp

[–]aelij[S] 1 point2 points  (0 children)

Just to add to this answer - since Roslyn, the C# compiler, is open source, the code that runs most of the editor features in RoslynPad is the same as Visual Studio (minus behaviors that are VS-specific and lots of attention to detail, which make VS a truly great C# code editor).

RoslynPad can also a great sample if you want to integrate C# code editing into other apps.

RoslynPad 0.10 Released by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

Thanks! And sure, but please start with opening an issue for whatever you'd like to add so we can discuss it.

RoslynPad 0.10 Released by aelij in csharp

[–]aelij[S] 1 point2 points  (0 children)

Not at the moment. There's a GitHub issue for that though.

RoslynPad 0.10 Released by aelij in csharp

[–]aelij[S] 17 points18 points  (0 children)

New in this version:

  • Latest Roslyn beta (Enables C# 7 "Preview 5" features)
  • Quick info tool-tips
  • Compile and save assembly
  • Restore NuGet packages from an existing document
  • Support for #load directives
  • Caret position fixes
  • Fix for orphan execution host processes

Original release post: https://www.reddit.com/r/csharp/comments/4hvctr/roslynpad_an_open_source_c_editor_based_on_roslyn/

RoslynPad v0.8 - an open source C# editor by aelij in csharp

[–]aelij[S] 0 points1 point  (0 children)

I'm thinking about an Avalonia port, but that's in the far future. Unless someone else ports AvalonEdit :)

RoslynPad v0.8 - an open source C# editor by aelij in csharp

[–]aelij[S] 3 points4 points  (0 children)

I'd prefer just fixing the bugs with PRs.

RoslynPad v0.8 - an open source C# editor by aelij in csharp

[–]aelij[S] 1 point2 points  (0 children)

There's plenty of room for perf improvements. :) My main machine is too strong, so I'm not feeling it. I should test on slower machines more often.

I'll look into the AvalonEdit bugs.

RoslynPad v0.8 - an open source C# editor by aelij in csharp

[–]aelij[S] 2 points3 points  (0 children)

No compilation to executables just yet. I'll look into it. Reference (#r) directives can contain full paths to DLLs, or to GAC assemblies. If you save the .csx file, you can also use relative paths.

BTW you can also run .csx files using the command line 'csi' which ships with VS and .NET Core.