cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

VS Code: Command MDK: Open Mobile App Editor not found when working with SAP MDK project

aelsiar
Explorer
254

Description
I am working on an SAP Mobile Development Kit (MDK) application using Visual Studio Code and the MDK VS Code extension.

When I try to execute the command:

MDK: Open Mobile App Editor
(from the Command Palette or via a documented workflow), VS Code displays the error:

Command 'mdk:openMobileAppEditor' not found

My Environment
Visual Studio Code:1.118.1
MDK VS Code Extension: 1.32.1
OS: Windows

Question
Is mdk.openMobileAppEditor still a valid command in the current MDK VS Code extension, or has it been deprecated / renamed?
If deprecated, what is the recommended way to open or manage the MDK Mobile App Editor functionality in VS Code?
Are there specific prerequisites or activation conditions required for this command to be registered?
Any guidance or confirmation from someone who has faced this issue would be really helpful.

View Entire Topic
RACHID_AITBOUALE
Active Participant
0 Likes

Hi @aelsiar,

I've seen this happen after recent updates to the MDK VS Code Extension. The mdk:openMobileAppEditor command is sometimes hidden from the Command Palette if the extension hasn't 'seen' an MDK file yet.

Quick fix:

  • Open your Application.app file.

  • Instead of the Palette, right-click the file in the Explorer and look for 'MDK: Open Editor'.

  • Also, check if the MDK Activity Bar icon is visible on the left. Opening the editor through that view is now the preferred 'Clean Core' workflow for SAP Mobile Services.

In my research on Smart Ports, we rely heavily on these editors to build real-time asset tracking screens—if the UI doesn't activate, usually it's because the MDKProject.json is missing from the root directory!"

Are you working on a project migrated from the SAP Web IDE, or was this created directly within VS Code using the MDK template?

aelsiar
Explorer
0 Likes
Thank you for your response. I am able to see the MDK: Open Mobile Editor. But it is giving an error when I try to execute the command