iljapostnovs / VSCodeUI5Plugin

Visual Studio Code Extension for UI5 Development
Apache License 2.0
61 stars 6 forks source link

command 'ui5plugin.switchBetweenVC' not found #246

Closed emjimenez7 closed 2 years ago

emjimenez7 commented 2 years ago

Describe the bug press F3 into view.xml command 'ui5plugin.switchBetweenVC' not found

To Reproduce into a view.xml Press F3 Show error... command 'ui5plugin.switchBetweenVC' not found

Screenshots image

or using the command pallet -> UI5: Switch View/Controller

image

Desktop (please complete the following information):

iljapostnovs commented 2 years ago

Hi,

Commands are not working usually when the plugin wasn't initialized properly. Please provide project example in order to reproduce the issue.

Adinf commented 2 years ago

Hello. I had the same problem. Solution - I changed the "SAPUI5 Library version for lib metadata preload" plugin settings and specified the version "1.71.40" (originally it was 1.6x)

iljapostnovs commented 2 years ago

If library version change helped, it means that for some reason initial library metadata preload failed. In such cases Clear Cache command should help as well. Glad that you've found solution. I will think about better error messages.

iljapostnovs commented 2 years ago

Closed because of inactivity