Subscribe to this thread
Home - General / All posts - Syntax check in Radian Studio
LCSYS5 post(s)
#18-Apr-17 12:32

Is there a way to get inside Radian Studio checks the syntax and provide suggestions as in Visual Studio?

Is there another way I can work with C # or Java and to check the syntax? How to configure Visual Studio to code scripts written in it, and it can automatically run a script and see the result in Radian Studio?

LCSys

adamw


10,447 post(s)
#19-Apr-17 06:56

Trying to run a script with syntax errors in Radian will produce a report from the script engine with error messages / line info. But there is no syntax autocompletion like in Visual Studio.

You can have autocompetion for Radian objects in Visual Studio if you create a project for an EXE or a DLL. An EXE would launch Radian by instantiating Manifold.Root and proceed from there. A DLL would be like a regular Manifold script with the Script class, the static Main method and the static Manifold object, just compiled. Put the compiled DLL into a Radian folder (either ~\Bin or ~\Bin64 depending on bitness, or perhaps ~\Shared if you are writing a bit-neutral assembly in .NET), then do Tools - Add-ins - Rescan and your script should show in the menu.

We will provide walkthroughs for both things above.

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.