Skip to content

jaroborovsky/vscode-netdata

Repository files navigation

Net.Data for Visual Studio Code

An extension for VS Code which provides support for the Net.Data language. Net.Data is a server-side scripting language that extends web servers by enabling the dynamic generation of web pages using data from a variety of data sources. The data sources can include relational and non-relational database management systems such as DB2, DRDA-enabled databases, flat-file data, and native applications written in programming languages such as RPG, Cobol, Java, C, C++, and REXX. https://www.ibm.com/support/pages/netdata-ibm-i

What is new in 1.0.9

  • Go To Definition for V_columnName variables in SQL block

What is new in 1.0.8

  • Go To References, Peak References

Functionality

This extension works for netdata file. It has the following language features:

  • Syntax highlighting includes SQL and javascript
  • Snippets for frequently used commands
  • Definition of Net.Data Language
  • Simple Language Client
  • Go To Definition for %FUNCTION, %MACRO_FUNCTION, variables in %DEFINE
  • Go To References, Peak References
  • Outline structure of functions, report and html block

Syntax highlighting

Syntax highlighting

Go To Definition

You can press F12 on function call or ctrl-click. Go To Definition

Go To references in current file

You can press Shift-F12 or Peek References.

Outline

Easy navigation to main important block of your code. Outline

Snippets

More than 30 snippets

Structure

.
├── client // Language Client
│   ├── src
│       └── extension.ts // Language Client entry point
├── syntaxes
│   └── netdata.tmLanguage.json   // syntax
└── package.json          // The extension manifest.
    snippets.netdata.json // Snippets.
    language-configuration.json  // Configuration of language

Issues

https://github.com/jaroborovsky/vscode-netdata/issues

Contribution

  • Download from github
  • Run npm install
  • Open VS Code on this folder.
  • Press Ctrl+Shift+B to compile the client.
  • Switch to the Debug viewlet.
  • Select Launch Client from the drop down.
  • Run the launch config.
  • In the [Extension Development Host] instance of VSCode, open a document in 'netdata' language mode.
    • Type html or funct to see @HTML and FUNCTION snippet completion.

Publish extension

  • vsce publish

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published