Code Monkey home page Code Monkey logo

siddhi-plugin-vscode's Introduction

Siddhi Extension for Visual Studio Code

A VSCode extension which provides rich Siddhi development capabilities, such as IntelliSence, diagnostics and syntax highlighting. This extension supports siddhi distribution version (>=5.1.2).

Quick Start

  1. Download Siddhi distribution (version 5.1.2 or higher should be available locally)
  1. Configure Siddhi Home

    Siddhi Home can be configured by either of the following methods,

    1. Configure Siddhi home in settings.json

      • Press Ctrl+Shift+P / Cmd+Shift+P and type Open settings.

      • Select Open Settings (JSON).

      • Add "siddhi.home":"<SIDDHI-HOME-DIRECTORY>" to settings.json file as below,

        siddhi-home-configuration-image
    2. Add SIDDHI_HOME as an environment variable.

Features

IntelliSence

  • Auto completion: Context based auto completions by Siddhi Language Server.
  • Snippets: Context based snippets by Siddhi Language Server.

Diagnostics

  • Semantic/Syntactic error reporting as code is typed

Syntax Highlighting

  • Lexical sub-elements are highlighted in various colors based on the theme that has been activated in your VSCode editor.
completion-image diagnostics-image
syntax-highlighting-image

Contributing

Contributing to Siddhi VSCode Extesnion

For instructions on how to build, debug and contribute to vscode extension go to The Siddhi Visual Studio Code Contribution Guide.

Support

You can reach out Siddhi Developers through Slack channel, Google mail group and etc. Please refer the community contribution site for more information.

Licence

Siddhi VS Code extension is licensed under Apache License 2.0.

siddhi-plugin-vscode's People

Contributors

anugayan avatar maheshika avatar malinthar avatar mohanvive avatar niveathika avatar pcnfernando avatar senthuran16 avatar suhothayan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

siddhi-plugin-vscode's Issues

Java classes are not loaded to the classpath on Windows

Description:
As I was trying the extension on Windows I got the following messages,

Error: Could not find or load main class StdioLauncher
[Info  - 8:11:00 AM] Connection to server got closed. Server will restart.
Error: Could not find or load main class StdioLauncher
[Info  - 8:11:00 AM] Connection to server got closed. Server will restart.
Error: Could not find or load main class StdioLauncher
[Info  - 8:11:01 AM] Connection to server got closed. Server will restart.
Error: Could not find or load main class StdioLauncher
[Info  - 8:11:02 AM] Connection to server got closed. Server will restart.
Error: Could not find or load main class StdioLauncher
[Error - 8:11:03 AM] Connection to server got closed. Server will not be restarted.

As I concern the reason for the issue is -cp command not correctly loading the class files into the classpath.

OS, DB, other environment details and versions:
OS- Windows 10

Steps to reproduce:
use the VSCode extension on Windows

Which dir should be set for siddhi.home?

I set siddhi.home in my vscode's settings.json:

"siddhi.home": "E:\\ws\\siddhi\\apps\\zh\\siddhi-runner-5.1.2"

But vscode says:

Failed to start Siddhi Language Server.

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.