Git Product home page Git Product logo

ls4p's Introduction

Processing Language Server

LS4P Port

What's Processing Language Server

Processing Language Server is a Language Server Protocol (LSP) implementation for Processing Programming Language. All the language specific features of Processing can now be extended to most the generic editors like VSCode, Atom, Sublime text and so on, by extending this Language Server. LS4P contains both Processing Language Server and a VSCode client. Refer SETUP.md to setup Processing Language Server locally and NEWCLIENT.md to create your own Processing Language Client.

  • Pre-note:

    • Save the sketch with the extension .pde to initiate the Processing Language Server.

  • Activation Event:

    • Processing should appear in the status bar of vscode - indicates Processing Language Server is active.

Current Capabilities of LS4P

  • Auto-completion:

    • Gives you context-aware suggestions to help you code faster.
    • Autocompletion will function as you enter your code in the workspace and can be explicitly triggered using the character . after an instance of a class.

  • Diagnostics:

    • Automatically detects the errors in your code in real-time.
    • Represented using squiggly lines.
    • Hover over the word that has squiggly lines to find out the cause of the error.

  • Go-to definition:

    • cmd+click on a variable, will move the cursor to the variable declaration.
    • This also works for method and class declarations
    • An alternate way of invocation: right-click on the variable name and click Go to Definition.

  • Hover Insights:

    • Hover mouse pointer over a keyword - this brings up a pop-up containing what that keyword means.

  • Finding References:

    • Helps you find all the references of a variable, class or a function used.
    • Can be invoked by clicking on the n References link that appears over all the Variable, Class or Method Declarations.
    • An alternate way of invocation: Right-click on a Variable, Class or Method name and click Peek References.

  • Running sketch:

    • cmd+shift+P to bring up the run console and type Run Processing sketch, press enter - runs the processing sketch.


ls4p's People

Contributors

syamsundarkirubakaran 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.