GithubHelp home page GithubHelp logo

objeck / objeck-lsp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1.09 MB

LSP server for Objeck

Home Page: https://github.com/objeck/objeck-lang-server

License: Other

JavaScript 7.92% TypeScript 16.99% Batchfile 36.87% Shell 38.22%
ecode kate language-server language-server-protocol linter lsp objeck sublime vscode

objeck-lsp's People

Contributors

dependabot[bot] avatar objeck avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gmh5225

objeck-lsp's Issues

Pack `objeck-lsp` using `obb`

Instead of having to run a long obr command, only have to use objeck-lsp-standalone.exe.

For example, objeck-lsp-standalone.exe stdio or objeck-lsp-standalone.exe 6013 debug.

The point is to skip the obr --OBJECK_STDIO=binary objeck_lsp.obe objk_apis.json part.

[Tutorial] Setup Kate to use objeck-lsp

Settings -> Configure Kate... -> LSP Client -> User Sever Settings

Create a new settings file with the content:

{
    "servers": {
        "objeck": {
            "command": [
                "<objeck_path>/obr.exe",
                "<objeck_server_path>/objeck_lsp.obe",
                "<objeck_server_path>/objk_apis.json",
                "stdio"
            ],
            "url": "https://github.com/objeck/objeck-lsp",
            "highlightingModeRegex": "^Objeck$"
        }
    }
}

Note: Kate doesn't support define environment variables like Sublime so the environment variables OBJECK_LIB_PATH and OBJECK_STDIO must be set on Windows.

Objeck-lsp failed to work with Zeus IDE

Download the trial version from zeusedit.com. Note: It's not yet support Objeck syntax highlighting.

Options -> Document Types... -> New

Extension: obs

Description: Objeck

Go to Language Server tab:

Program: obr

Arguments:

First textbox: C:/objeck-lsp/objeck_lsp.obe

Second textbox: C:/objeck-lsp/objk_apis.json

Third textbox: stdio

Remember to change the paths to objeck-lsp.

After clicking OK, Zeus IDE is ready to test with objeck-lsp. Open a .obs source file and the language server will be auto started.

Add wrapper for Linux

I added a simple wrapper for Windows: #11

I don't know Linux shell scripting (even though I have used Linux for a while, I mostly used the graphical interface).

Support stdio

It turned out not only TextAdept and Lite XL (which I believe also use TextAdept's implementation of LSP Client) but also KDE's Kate editor, all of them, only support LSP over stdio. To use Objeck LSP server now, one either has to buy Sublime Text or go with VSCode.

Code symbols

When showing code symbols for a file that starts source with "class" the hierarchy show "/"Default{}"/methods" incorrectly.

Is objeck-lsp working fine with Vim?

I want to advertise Objeck to some Vim users. But first, I think I should make sure that objeck-lsp is working fine with Vim. The problem is, I personally don't use Vim and know nothing about it other than how to quit it.

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.