Manage NetLogics in Q StudioΒΆ

Introduction

The code contained in a NetLogic is changed using an editor external to Q Studio to benefit from all the code development assistance functions like IntelliSense, refactoring and automatic completion.

Q Studio supports Microsoft Visual Studio 2017, 2019 and Microsoft Visual Studio Code. If these are not available, another code editor can be used as desired, but the above-listed functions will not be available.

To install Visual Studio or Visual Studio Code, please refer to the Microsoft website.

Set the predefined code editor

In Q Studio, click image1 and in Preferred Code editor choose the desired editor, then restart Q Studio.

Note

if set to automatic, Visual Studio 2017 is the predefined editor. If not available, Visual Studio Code is used.

Create a NetLogic

In any node of the project, inside the Project panel, click image2, then on the desired NetLogic template (see What is a NetLogic).

Modify a NetLogic

  1. In the Project panel, double click the desired NetLogic object: the predefined code editor opens.

  2. Make the changes desired and save the file in the editor.

Execute a design time NetLogic

In the Project panel, right-click the design time NetLogic to execute, then click the name of the method to execute.

Open the Visual Studio project of the Q Studio project

In Q Studio click image3: the Visual Studio project opens in the editor set as default.

See also

Related concepts

NetLogic

Related procedures

NetLogic debugging

Runtime NetLogic remote debugging