Replies: 4 comments 3 replies
-
I am always confused by the editor dependent solutions for locating the XSD or RNG files. I believe your line 11 in the screenshot above (using the XML catalogs are my favourite way of specifying the location, independent of the file. I know that the RedHat XML mode (using the lemminx server) is capable of using catalogs, so I never use the file-local setup. (You know the catalog file, but for future reference, here it is: https://github.com/speedata/publisher/blob/develop/schema/catalog-schema-en.xml) |
Beta Was this translation helpful? Give feedback.
-
Is there a simple way to try that myself? I have installed Geany, but cannot find a way to install this LSP. Is there a tutorial on how to install the plugins? |
Beta Was this translation helpful? Give feedback.
-
Hi @pgundlach We are going better:
This is pretty cool cause VSCode was getting frozen on my aarch64 board, as you already noted I work across several machines, this SBC is one of them and perhaps the one where I am connected the most... 😅 Geany with LSP will give me an editor with a human-friendly GUI like VSCode, truly multiplatform and extremely light and fast. I look forward to test it extensively on FreeBSD as well! |
Beta Was this translation helpful? Give feedback.
-
Further changes where made, now it works like charm, and now I can work even on my aarch64 SBC, it is amazing! Here a recap about the settings: lsp.conf
xml_init_conf.json{
"settings": {
"xml": {
"trace": {
"server": "verbose"
},
"catalogs": [
"/your/path/schema/catalog-schema-en.xml"
],
"logs": {
"client": true,
"file": "/your/path/lsp4xml.log"
},
"format": {
"splitAttributes": true,
"joinCDATALines": false,
"joinContentLines": false,
"joinCommentLines": false,
"spaceBeforeEmptyCloseTag": true,
"enabled": true
}
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Hi @pgundlach,
I am trying to let the brand-new Geany LSP plugin working with
schema
, and for now with the javalemminx
server onaarch64
. We aren't there yet, one of the reasons is because I think I am not assign properly the schema to the XML file; I believe I found two strategies to be most effective even though everything is still a mess.You are the expert in XML and I hope you can lead us toward the right direction. 🙏
Discussion here: techee/geany-lsp#41 (reply in thread)
Method 1
Method 2
This is on of the method recommended by the documentation but I get this error:
The path looks correct to me...
======================
The reason is that VSCode doesn't work very well on low-end hardware, aarch64 and BSD because being an electron app, on the contrary Geany is full featured, light & blazing fast and it would be another amazing alternative for working with Publisher.
Beta Was this translation helpful? Give feedback.
All reactions