Coder Social home page Coder Social logo

morganing / vscode-psl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ing-bank/vscode-psl

0.0 1.0 0.0 357 KB

For distributing plugins to the community and foster further developments with the community going forward.

License: MIT License

TypeScript 100.00%

vscode-psl's Introduction

vscode-psl

Build Status

Profile Scripting Language functionality for Visual Studio Code.

Dependencies

  • Visual Studio Code version 1.17 (October 2017) or higher

Configuration

Locate the button at the bottom-right corner titled Configure Environments. If the button is not visible, use the Command Pallete (F1 or Ctrl+Shift+P) to find the PSL: Configure Environment command. A JSON object of the following form will appear:

{
	"environments": [
		{
			"name": "",
			"host": "",
			"port": 0,
			"user": "",
			"password": "",
			"sshLogin": ""
		}
	]
}

Here you can store a global array of configurations. Any project can read from this configuration. Use auto-complete and hover suggestions for hints about using the configuration file.

Once the global configuration is saved, environments can be activated by using the Configure Environments button at the bottom. Multiple environments can be selected, allowing for simultaneous interactions with hosts.

Features

The extension is able to communicate with Host via MRPC121 to do the following:

  • Get/Refresh elements and entire tables from Host
  • Send elements and entire tables to Host
  • Test Compile .PROC and .PSL files
  • Compile and Link .PROC and .PSL files
  • Run .PROC and .PSL files

These commands can be executed via the Command Pallette (F1 or Ctrl+Shift+P), icons at the top-right corner of the document, right-clicking the document, or right-clicking the file in the Side Bar Explorer.

Please note that the Host Commands are executed asynchronously, meaning that vscode will not require you to wait to finish one action before you start another. This may have unintended consequences if you do not wait. For example, you must wait for sending to finish before you compile and link.

Basic language features also exist for files written in PSL, data configuration, and table files.

These features include:

  • Syntax coloring
  • Property and Label outline for PSL files (access by Ctrl+Shift+O or with this extension)
  • Auto-complete for Record objects in PSL (activated by the . operator or by Ctrl+Space)
  • Highlighting and Hover information for editing data configuration files

Development

If you would like to join the development of this extension, you will need to install node.js (with NPM) in order to install the dependencies.

Once you clone the project, from the command line in the root of this project, run npm install.

For ideas on features to implement, visit the below link:

https://code.visualstudio.com/docs/extensions/language-support

vscode-psl's People

Contributors

atiplea avatar c4xuxo avatar cjprieb avatar morganing avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.