Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Matthew Hadfield
    @matt_had_twitter
    Thanks for the help, I'll investigate using xml catalogs.
    of XML catalog and vscode
    Matthew Hadfield
    @matt_had_twitter
    Thanks
    OldCat
    @fvakiliev
    Hi, I have a problem with install МЫ Code XML extension
    JDK is installed, but the extension does not work
    Anybody home? Who can help me?
    Angelo
    @angelozerr
    What do you mean with "does not work" ? Have you simple validation for this XML which is not valid '<root '
    Have you configured correctly your xml.java.home settings?
    Kees Duvekot
    @kduvekot
    question: it looks like the vscode-xml extension stops working on my machine after being active/used/working for a while. What would be the best way to get some additional details/logging etc to figure out what is actually happening?
    I am using VSCode in Linux under ChromeOS (Crostini)
    Nikolas Komonen
    @NikolasKomonen
    @kduvekot One thing you could try is changing the preference 'xml.trace.server' to 'verbose'. Then in the View tab select Output. At the top right of that window select 'XML Support' from the dropdown menu.
    This will show the communication between the 'server'/extension and vscode. If you type you should see requests and responses (look for didChange requests that contain the character you typed to see if information is still being sent). Finally you can try running the 'jps' command in your terminal which will show the running java processes and look for 'org.eclipse.lsp4xml-uber.jar'. There are some cases where an old 'org.eclipse.lsp4xml-uber.jar' is still running that you will have to kill manually and then restart vscode. Let me know if you need anything else.
    Kees Duvekot
    @kduvekot

    okee ... the xml.trace.server was already set to verbose.
    when I run jps .. I see the following:

    19939 org.eclipse.lsp4xml-uber.jar
    4132 org.eclipse.lsp4xml-uber.jar
    20052 Jps

    so does that mean there are two lsp4xml processes up and running?

    apparently yes .. when closing vscode the process 4132 remained active in the system .. so I kill -9 it :-)
    lets see what will happen next ... hopefully it doesn't come back
    Angelo
    @angelozerr
    @kduvekot I suggest you that you create an issue at https://github.com/redhat-developer/vscode-xml/issues and you attach a zip with your vscode folder (settings, XML, XSD files, etc). It will help us to try to reproduce your problem. Thanks!
    joshua jared
    @joshuajared007_gitlab

    Hello there,

    my name is Joshua I work for Atsec. We have made a few changes to your XML Language Support Plugin, from our Perspective we would say Improvements, as it is now easier to read the XML. This Format is similar to Oxygen, which we used before to edit XML Files.

    I hope we can find a solution together.

    Best regards,
    Joshua Roach

    Angelo
    @angelozerr
    Hi Joshua, thank(s for your feedback, let's continue to discuss about this feature in angelozerr/lsp4xml#594
    depascalis
    @depascalis
    Is it possible to display information available in plugin.xmlof a plugin? For example, when configuring the exec-maven-plugin and if I hover over <mainClass> there's no description shown.
    In the example above it looks like all the necessary data is available in exec-maven-plugin-1.6.0.jar\META-INF\maven\
    Fred Bricon
    @fbricon
    @depascalis not yet, but eventually
    depascalis
    @depascalis
    @fbricon ok thank you
    @fbricon One other thing, is this the right channel to ask about autocompletion for the css vendor prefix "-fx"? If so, what's the status on that?
    Fred Bricon
    @fbricon
    css completion is, AFAIK, provided by the html language server, which is a stock vscode extension. So no, we're not involved in that, you'll have better luck asking on https://github.com/microsoft/vscode/issues
    depascalis
    @depascalis
    Ok thanks. I think it will be quicker to solve with emmet than doing a feature request ;) I'm just a bit surprised that I can't find anyone that has looked in to this yet.
    oh wait I was a bit unclear, I'm talking about JavaFX
    andrewnottaviano
    @andrewnottaviano
    Hey I've got a quick question. I installed the xml extension in vscode and set the path in my settings.json for xml.java.home and set my xml.fileAssociations to point to my xsd schema and I have Java 11 installed, yet the plugin does not seem to be working, even after reloading the window. Am I missing something?
    Fred Bricon
    @fbricon
    @andrewnottaviano nothing works or just file association?
    @depascalis I have no idea what you expect from vscode-xml in the context of JavaFX (never used it). You need to be more specific
    depascalis
    @depascalis
    @fbricon I'm sorry, I saw your name and thought I was in the channel for Java Language Support, my bad.
    andrewnottaviano
    @andrewnottaviano
    @fbricon, I'm honestly not familiar with all of the features of vscode-xml (as opposed to what comes with vscode by default) other than that the xsd validation isn't working. I replaced one of the nodes that is in the schema file and put a phony node name in there and there weren't any errors or warnings. So I assume that that probably isn't working.
    I was thinking that maybe I needed to install the java language server or restart vscode, but none of that was mentioned in the requirements on the pageso idk.
    Fred Bricon
    @fbricon
    @andrewnottaviano it should just work. vscode-xml is independant of vscode-java, each runs its own language server, that happen to run with Java
    @andrewnottaviano opening a Maven pom.xml is a good way to check if it works, since it has xsd validation and completion
    andrewnottaviano
    @andrewnottaviano
    @fbricon ok thanks for getting back with me! If I get a chance, I'll give that a shot
    andrewnottaviano
    @andrewnottaviano
    Well opening a maven pom file worked. I was able to test the validation.
    So my question is did I set it up wrong? I have a custom xsd file saved and put the file path in the fileAssociations settings key. Is that the right place?
    Angelo
    @angelozerr
    Have you configured correctly your xml.java.home settings?
    You dont nées fileassociation since tout pom.xml should reference the maven xsd
    andrewnottaviano
    @andrewnottaviano
    The maven xsd worked fine. I was trying to use a custom xsd
    Angelo
    @angelozerr
    I suggest you you create an issue in vscode-xml and you attach your project (vscode settings, XML, XSD file)
    John Zabroski
    @jzabroski
    Hi... cant figure out how to get an xsd validation working with a sample xml file. The user settings arent super clear. Am I supposed to put all my XSD files in xml.server.workDir - seems a bit limited
    Mousing over the root element in my xml file, it seems to be loking for a sample.xml file in my workDir directory, which is weird. I would expect it to pick up a xsd file not a xml file?
    Angelo
    @angelozerr
    I suggest you that you create an issue in vscode XML and you attach the sample that you are trying
    chrmos
    @chrmos
    Hi all! Everything working well except somehow I can't import external entities
    ```xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE entity SYSTEM "../xsd/zwbr.ent">
    <letter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/zwbr.xsd">
    results in "MSG_ELEMENT_NOT_DECLARED" Element type "XYZ" must be declared. for every element
    John Zabroski
    @jzabroski

    I suggest you that you create an issue in vscode XML and you attach the sample that you are trying

    I ended up using VIsual Studio Big Brother instead.

    That said, I was expecting to hear back, "xml.server.workDir user setting is used for xyz. What could we do to improve the wording so you understand how it's used?" Just my 2 cents.
    Fred Bricon
    @fbricon
    @jzabroski "xml.server.workDir: location where lsp4xml automatically caches remote XML schemas." is that better?
    John Zabroski
    @jzabroski
    Yes, much better, thank you.