VMware Aria Automation Orchestrator

 View Only

 Command Palette Entry Start Linked Editing - What does this mean and how can it be configured?

Stefan Schnell's profile image
Stefan Schnell posted Oct 24, 2024 12:45 AM

In the Command Palette of the Aria Automation Orchestrator editor is an entry Start Linked Editing.

What does this entry mean or what action does it trigger?
Is it possible to call an external editor with the open source code? If so, how can this be configured?

Thanks for hints and tips.

WhiteForEver's profile image
WhiteForEver

I might be mistaken, but I believe this could be a feature that enables multiple developers to collaborate on the same code simultaneously. If both developers enable this feature, it becomes possible to visualize the changes made by each other in real time.

Stefan Schnell's profile image
Stefan Schnell

Hello @WhiteForEver,

thanks for your message.

After hours of analyzing I realized that the UI of the embedded Orchestrator bases on Google's Angular, a TypeScript-based web application framework. The editor for the actions respectively for the scriptable tasks is Microsoft Visual Studio Code for web. When F1 is pressed, the command palette opens. This made it easy to find out what linked editing really is. It is an editing feature that automatically updates the closing tag of an HTML or XML element when the opening tag is changed. I tried that with https://vscode.dev and it work only with this types. With a JavaScript file for example it did not work. I was not able to use this feature in the Orchestrator editor. Somehow it doesn't really make sense with JavaScript, Python or PowerShell source code. At first I assumed an external editor could be linked here. But now is the secret revealed. 😊

One hint: If the Orchestrator UI is opened in a Citrix Workspace window, the key combination Shift+F2 and Ctrl+Shift+F2 on the desktop toggles between full-screen and windowed mode. In this case the command is not executed by the Orchestrator editor.

Best regards
Stefan

Addendum 2024-10-27:

It is not Visual Studio Code for web, it is the Monaco web editor which is used here. Monaco web editor is the same that powers Visual Studio Code.

----------------------------------------

More interesting information at https://blog.stschnell.de

----------------------------------------

xian's profile image
xian

I really hate this editor, it autocompletes with ES6 syntax which is not understood by the Rhino ES5 engine. String functions, for example.