How to support C# Scripting Syntax (like in Roslyn)

SyntaxEditor .NET Languages Add-on for WPF Forum

Posted 9 years ago by PlasmaSoft - PlasmaSoft
Version: 13.2.0591

I would like to support this kind of syntax


#load "script.csx"
#r "System.Linq"

using System;

public void Log(string s)

var a = 10;


 How can i do ?

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA


We don't have support for third-party (that aren't part of the C# spec) pre-processor directives at this time.  We will log the suggestion to add as a possibility in the future.

In the meantime, another option is for you to get the source code of the add-on and change it so that it supports the additional pre-processor directives.

Actipro Software Support

Posted 9 years ago by Cory Foley

I too would like to have this feature. Seems simple enough to implement as an option. I think K&R style indenting is probably more popular for .NET. 

The latest build of this product (v22.1.3) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.