Lamda formatting and interpolated strings

SyntaxEditor for Windows Forms Forum

The latest build of this product (v24.1.1) was released 6 months ago, which was before this thread was created.
Posted 1 month ago by Darren
Version: 24.1.1
Avatar

This image shows a Visual studio code snippet on top with the SyntaxEditor version below.

https://app.screencast.com/UMsVZHZ04rVon

Is there a way to align the expression in the same way as VS so that Function and End Function are aligned.

This also shows that interpolated strings are not recognised and therefore lose their intellisense and formatting. Is this an option that I have yet to find?

Comments (3)

Posted 1 month ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Darren,

I'm sorry but we don't have anything that will format the function that way.

We are aware of interpolated strings being treated as regular strings, and it is on the TODO list to investigate ways to improve syntax highlighting and IntelliPrompt features.  I'll log your request for it as well.  Interpolated strings are difficult to lex/parse due to those two needing to work in tandem and in our product, they are separate language services.


Actipro Software Support

Posted 1 month ago by Darren
Avatar

OK Thanks. No problem. I figured it was worth asking.

Answer - Posted 8 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hello,
 
I wanted to let you know that our upcoming Actipro WPF Controls v25.1 release should be out in the next few weeks.
 
We are making some huge updates to the SyntaxEditor .NET Languages Add-on, bringing it up from C# 9 syntax all the way to current C# 13 syntax.  And one of the best new features is syntax highlighting within interpolated strings and even IntelliPrompt within interpolated string expressions.
 
Please keep an eye on our blog for the v25.1 release announcement.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.