How can I make global variables known?

SyntaxEditor for WPF Forum

The latest build of this product (v25.1.0) was released 2 months ago, which was before this thread was created.
Posted 16 hours ago by Manfred Rosskamp
Version: 25.1.0
Avatar

How can I make global variables known in c# syntax editor?

For Example to write:
var result = myGlobalVar + 10;

Comments (1)

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

Hello,

Global variables aren't really a supported feature in object oriented C#.  Is your editor just editing the interior of a method (via use of header/footer text like in our Code Fragments QuickStart) or full C# (namespace, class, etc.)?  If it's just the interior of a method, you could declare the variable in the HeaderText and it would be available in IntelliPrompt.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.