/plang.vscodeextension

Visual Code Extension

Primary LanguageTypeScriptGNU Lesser General Public License v2.1LGPL-2.1

PLang Extension

Overview

This extension enhances the development experience in plang by providing an improved overview and debugging capabilities. As this is the initial version, we appreciate your understanding regarding its current quality. Our goal is to eventually transition the entire IDE to be developed in plang.

Get the extension at the VS Code Marketplace

plang logo

Features

Sidebar in .goal Files

When you open a .goal file in Visual Studio Code, a dedicated sidebar will be available, offering the following features:

If you cannot see the sidebar, go to "View" -> "Open View..." -> "PLang"

  • Documentation Link: Quick access to plang documentation.
  • Module Information: Displays the module used in the current step.
  • .pr File: Option to view the .pr file for deeper insights into the step's operations.
  • Function Details: Name of the function within the module.
  • Parameter Insights: Details about parameters sent to the method.
  • Return Values: Information on the return values, if any.
  • Step Rebuild: Facility to rebuild the current step.
  • Step Documentation: Specific documentation related to the step.
  • Generated Source Code: View the source code for generated C# code, applicable only to CodeModule and ConditionModule.

Screenshot of the VS Code plang extension

Debugging .goal Files

  • Start Debugging: Press F5 to initiate debug mode.
  • Parameter Input: VS Code may prompt for parameters; this step is optional.
  • C# Debugging: Add --csdebug to enable debugging of the C# code. Refer to the debug manual for guidance.

View of the VS Code plang extension in debug mode

Visit us