Open gcharters opened 9 months ago
Just tried this on Windows 10 and VSCode with LT 23.0.9 and this scenario works fine for me.
@gcharters can you share the listing of your target/.libertyls directory when the problem occurs?
I just used the OL starter and it results in liberty-maven-plugin v3.9. Guessing you're using the same version?
Hi @scottkurz, the tartget/.libertyls
directory does not exists and never does.
I don't know if it is relevant, but wanted to mention that our plugins do not support Java 21 yet. That is coming in the next release.
@gcharters If you could include the contents of the logging from the language server, that would be helpful. You need to open the OUTPUT
tab and select XML Support
for the drop down.
I also followed the steps to reproduce, but was not able to. I still see feature suggestions in my environment.
Windows 11 VS Code 1.84.2 Liberty Tools 23.0.9 Liberty Maven Plugin 3.9
Maven and Java info:
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: C:\Maven\apache-maven-3.9.5
Java version: 17.0.5, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-17.0.5.8-hotspot
Default locale: en_CA, platform encoding: Cp1252
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"
The suggestions for feature in the element in server.xml stop appearing after a maven build. They start working again after maven clean.
Environment:
MacOS version 14.1.1
I hadn't noticed the Java 21 for maven. I suspect brew pulled that down. I don't know if it's significant.
code -v 1.84.2 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e arm64
Liberty Tools version 23.0.9
Steps to reproduce:
Go to https://start.openliberty.io and generate a project with the following config:
Open the project in VS Code and edit the server.xml. Adding features should work fine, and show options
Start the server in dev mode so the maven build runs
Edit the features and you should see that there are no longer suggestions: