Code Monkey home page Code Monkey logo

Comments (4)

sogaiu avatar sogaiu commented on July 16, 2024

Not Windows, but seemingly similar issue for a non-root install of janet on a linux box:

import-spork-vscode-janet-lsp

from janet-lsp.

CFiggers avatar CFiggers commented on July 16, 2024

@sogaiu I just published a pre-release version of Janet++ that bundles Janet LSP as a .jimage rather than a compiled executable. This means that when the Language Server starts up, it will be running on the user's locally-installed copy of Janet (assuming janet is on the user's path, which it ought to be). In my preliminary testing, this seems to fix the module import issue, since the Language Server is running as the user's own install which means it should discover modules the same way any other invocation of janet on their system would.

Would you like to test this on your non-root Void Linux install? You can do so by switching to the Pre-release version on the extension page in VS Code:

image

from janet-lsp.

sogaiu avatar sogaiu commented on July 16, 2024

@CFiggers Thanks for the heads up.

I gave it a try and it seems to be working better 👍

from janet-lsp.

CFiggers avatar CFiggers commented on July 16, 2024

Fixed in Janet++ by running the LSP from a .jimage rather than a compiled executable. May need to revisit in the future if Janet LSP will be a stand-alone CLI tool in addition to editor integration.

from janet-lsp.

Related Issues (10)

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.