Git Product home page Git Product logo

Comments (13)

oscarlevin avatar oscarlevin commented on June 25, 2024 1

I can finally confirm that this is fixed and working for me. Thanks all for your work.

from lemminx.

angelozerr avatar angelozerr commented on June 25, 2024

@oscarlevin do you use binary on linux?

If it that I think it is the same problem than redhat-developer/vscode-xml#916

//cc @rgrunber

from lemminx.

vrubezhny avatar vrubezhny commented on June 25, 2024

In vscode itself, following your example, I get these commands:

Screenshot from 2023-07-12 16-44-29

And pretty the same command list I have in GitHub codespace with vscode-xml 0.2.6 installed:

Screenshot from 2023-07-12 16-54-15

Am I messing anything?

from lemminx.

vrubezhny avatar vrubezhny commented on June 25, 2024

@angelozerr @rgrunber Do you know if vscode-xml running on GitHub CodeSpaces uses any binaries?

from lemminx.

rgrunber avatar rgrunber commented on June 25, 2024

If there's no Java in the container then it would use the binary. If the underlying container environment uses a version of GLIBC < 2.34, then this would be redhat-developer/vscode-xml#916.

from lemminx.

vrubezhny avatar vrubezhny commented on June 25, 2024

In my case, the vscode-xml extension running on GitHub CodeSpaces has XML> Server: Prefer Binary option NOT selected:

Screenshot from 2023-07-12 17-40-03

from lemminx.

angelozerr avatar angelozerr commented on June 25, 2024

I suspect that the problem of @oscarlevin is with binary since 0.26.0 doesn't contain major changes.

from lemminx.

angelozerr avatar angelozerr commented on June 25, 2024

In my case, the vscode-xml extension running on GitHub CodeSpaces has XML> Server: Prefer Binary option NOT selected:

What about if you select it?

@oscarlevin could you deselect it in your side to check if it is working for you?

from lemminx.

oscarlevin avatar oscarlevin commented on June 25, 2024

from lemminx.

rgrunber avatar rgrunber commented on June 25, 2024

Just to be clear, at https://github.com/redhat-developer/vscode-xml/blob/f99df7e859c61256ebd05382f106fc0c5042d1e1/src/server/serverStarter.ts#L28 we do launch the binary even if the choice is not selected. The binary covers the case of not detecting Java on the system but wanting to give a seamless experience. The only time we wouldn't launch the binary is if we detect the current installation has extensions contributing to the LemMinX runtime (because those won't work with the binary mode).

https://github.com/redhat-developer/vscode-xml/blob/f99df7e859c61256ebd05382f106fc0c5042d1e1/src/server/serverStarter.ts#L28 .

@oscarlevin , If possible, you could try the following vsix : https://github.com/rgrunber/vscode-xml/releases/download/0.26.0/vscode-xml-linux-x64-0.26.0-284.vsix . I mentioned it in redhat-developer/vscode-xml#916 (comment) . It is basically 0.26.0 but the Linux binary was built on an older version of Ubuntu for better support of older Linux distros.

from lemminx.

vrubezhny avatar vrubezhny commented on June 25, 2024

@angelozerr Yes. I can confirm the issue. Turning on the XML> Server: Prefer Binary makes all the commands but the "Open XML Documentation" to disappear . So it looks like a binary problem.

from lemminx.

vrubezhny avatar vrubezhny commented on June 25, 2024

@oscarlevin @rgrunber For me the vscode-xml extension works fine when installed from https://github.com/rgrunber/vscode-xml/releases/download/0.26.0/vscode-xml-linux-x64-0.26.0-284.vsix :

Screenshot from 2023-07-12 19-24-43

from lemminx.

rgrunber avatar rgrunber commented on June 25, 2024

Great! Then it very likely will resolve the issue. We've just released 0.26.1 to the marketplaces, and it should contain the necessary fix.

This is mainly a vscode-xml / 3rd party packaging issue as nothing needed to change in lemminx itself.

from lemminx.

Related Issues (20)

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.