GithubHelp home page GithubHelp logo

Test with Lite XL about objeck-lsp HOT 5 CLOSED

objeck avatar objeck commented on August 25, 2024
Test with Lite XL

from objeck-lsp.

Comments (5)

 avatar commented on August 25, 2024

Do it yourself!

Download and extract https://github.com/lite-xl/lite-xl/releases/download/v2.1.1/lite-xl-v2.1.1-addons-windows-x86_64.zip

Download https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/continuous/lpm.x86_64-windows.exe and rename it to lpm.exe

Open lite-xl/lite-xl.exe and open Windows Command Prompt on the directory contains lpm.exe

Run lpm install lsp and proceed to install any dependencies needed. After that setting up lsp is done. Close lite-xl.exe.

Now configure lite-xl. Your init.lua is on %userprofile%/.config/lite-xl. Open it and paste these lines into it:

local lspconfig = require "plugins.lsp.config"

---# objeck
--- __Status__: Currently not working
--- __Site__: https://github.com/objeck/objeck-lsp
--- __Installation__: See official website for instructions
lspconfig.objeck = add_lsp {
  name = "objeck-lsp",
  language = "objeck",
  file_patterns = { "%.obs$" },
  command = { "obr", "C:/objeck-lsp/objeck_lsp.obe", "C:/objeck-lsp/objk_apis.json", "stdio" },
  verbose = true
}

-- Activate objeck-lsp
lspconfig.objeck.setup()

Remember to modify the paths to objeck-lsp. Open lite-xl.exe, use ctrl+shift+c to change to the folder containing your .obs source files. Then open a .obs source file, the server will be started automatically.

p/s: to have syntax highlighting for Objeck source, download language_objeck.lua from https://github.com/iqskpduswupkcjqg/lite-xl-objeck-lexer/blob/main/language_objeck.lua and put it on lite-xl/data/plugins

from objeck-lsp.

objeck avatar objeck commented on August 25, 2024

Thanks, is it working now? If not, do you have debug output from the client console or Objeck server log?

from objeck-lsp.

 avatar commented on August 25, 2024

Thanks, is it working now? If not, do you have debug output from the client console or Objeck server log?

I don't want to touch this text editor again! If you want to test objeck-lsp with it please do it yourself!

from objeck-lsp.

objeck avatar objeck commented on August 25, 2024

Me neither

from objeck-lsp.

 avatar commented on August 25, 2024

Thanks to objeck/objeck-lang#240 we no longer have to set the OBJECK_STDIO environment variable.

from objeck-lsp.

Related Issues (14)

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.