Replies: 4 comments
-
You want to manage custom features for some specific file?
Which problem do you have?
Sorry I don't understand what you mean? vscode-xml delegate all XML features (completion, rename, etc) to the XML language server https://github.com/eclipse-lemminx/lemminx written in Java |
Beta Was this translation helpful? Give feedback.
-
Yes.
Modders are using your extension to edit these files, and in common - it is really good.
I'm understand, but always better to have some real example of working functionality in addition to documentation, |
Beta Was this translation helpful? Give feedback.
-
Ok if I understand correctly your problem, you have a vscode extension which contribute to RenameProvider which works very good without vscode-xml and if you install vscode-xml, your rename provider doesn't work because vscode-xml get the priority to your rename provider. First we don't add directly our own rename provider, it is the vscode-languageclient which add this rename provider (see https://github.com/microsoft/vscode-languageserver-node/blob/df05883f34b39255d40d68cef55caf2e93cff35f/client/src/common/client.ts#L1982). I wonder if we could override that here vscode-xml/src/client/xmlClient.ts Line 167 in 6c495fa We could try first if the rename (from the XML language server) return a result and if not execute some custom rename provider registered for xml. I have no time to investigate, but if you wish to try it, you are welcome! |
Beta Was this translation helpful? Give feedback.
-
Ok. Thanks for the ide. will look on it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm interested in the development of some extensions, for some specific xml files.
The reason is simple - the rename provider of this extension is blocking the other ... due to specifics of the realization of this feature in vscode...
That's why I am curious about the real extensions, not only documented possibility ...
Beta Was this translation helpful? Give feedback.
All reactions