cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Tools - XML Annotation Language Server not working in VSCode

jaroslav_hrbacek
Participant
0 Kudos

Hi all,

I installed the extension in VSCode but it doesn´t work. After CTRL+space there are no suggestions. In rutnime status there is an error:

this.p2c.asDiagnostics(...).then(...).finally is not a function. See the pisture:

any suggestions?

thank you.

Jarda

Accepted Solutions (1)

Accepted Solutions (1)

jaroslav_hrbacek
Participant
0 Kudos

Hi Vinay,

I have it!!!

I went through all extensions for xml and uninstalled all of them.

One caught my atention:

2023-08-30-08-31-58-window.png

After uninstalling it, your extension is working now.

Thank you for your help and guidance.

Best regards.

Jarda

Answers (4)

Answers (4)

vinayhospete
Explorer
0 Kudos

Hi Jarda,

Glad to know, solution worked for you !!!

After investigating issue further, we figured out issue was caused by outdated extension "XML tools" (Open source).

So, i have raised bug on Open source repository and also requested to update node modules in thier project.

https://github.com/danschultequb/qub-typescript-xml-vscode/issues/28

Best regards,

Vinay

jaroslav_hrbacek
Participant
0 Kudos

Hi Vinay,

I did as you said. After uninstalling extension there were no folders "sapse.sap-ux-annotation-modeler-extension.." in the folder C:\Users\<computeruser>\.vscode\extensions.

See the picture:

2023-08-30-08-09-14-window.png

I reinstalled xml lsp extension and the problem remains...

Any othner ideas?

Thank you

Jarda

vinayhospete
Explorer
0 Kudos

Hi Jarda,

I have checked the project. looks good to me and xml lsp code completion works on my machine.

Please try following steps and let us know if this works.

1. uninstall extension and also manually delete its copy in below folder

C:\Users\<computeruser>\.vscode\extensions

"sapse.sap-ux-annotation-modeler-extension-1.10.5" (delete this folder)

"sapse.sap-ux-annotation-modeler-extension-1.9.0" (delete any older version folders).

2. Reinstall xml lsp extension

Best regards

Vinay

vinayhospete
Explorer
0 Kudos

Hi Jarda,

Could you please share below information to investigate the issue.

1. vs code version

2. operating system: windows/mac

3. attach the project (without nodemodules)

Best regards,

Vinay

Annotation LSP team

jaroslav_hrbacek
Participant
0 Kudos

Hi Vinay,

here you are:

1. 1.81.1

2. Windows 10

3. dashboard-fe-c.xml . After download, please rename it to *.zip. There is the whole project without nodemodules.

Thank you in advance.

Jarda