John Murray · Sep 12, 2023 go to post

I guess you are looking for a way to launch the XML Schema Wizard add-in that Studio offers.

Try adapting the advice at https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cl… for adding a custom entry to the Server Actions menu. In this case the entry in the "links" object within "objectscript.conn" should be:

"Open XML Schema Wizard": "${serverUrl}/isc/studio/templates/%25ZEN.Template.AddInWizard.XMLSchemaWizard.cls?$NAMESPACE=${ns}"
John Murray · Aug 30, 2023 go to post

I recommend you contact WRC for help. They should be able to investigate this with you. Then if it looks like there's an issue with the InterSystems ObjectScript extension or the Server Manager one (or just possibly the Language Server) they can help you log it on the corresponding GitHub repository, or can do that on your behalf.

John Murray · Aug 11, 2023 go to post

If you're using 2023.2 there's a built-in WebSocket Terminal feature, with a convenient way to launch these terminals from the Namespaces tree of Server Manager:

John Murray · Aug 10, 2023 go to post

However it's only the :+1: 👍that counts towards moving from Backlog Candidate to Backlog.

John Murray · Aug 9, 2023 go to post

The updated VSIX here now only launches the Portal's namespace-scoped System Explorer tools in an external browser. This avoids all the issues that arise if Portal pages are run in VS Code's Simple Browser tab.

John Murray · Jul 28, 2023 go to post

Thanks for adopting/adapting my recent suggestion for a new Global Masters Reward. Not all of us are citizens of the Apple universe.

Read more about these headphones here.

John Murray · Jul 28, 2023 go to post

I'd argue this breaks rule #2 by switching language (it says "including but not limited to").

John Murray · Jul 27, 2023 go to post

I confirmed that the Community Edition containers (at least, the one I checked) still include a PWS 👍

John Murray · Jul 7, 2023 go to post

Was there a problem with the voting earlier this week? I know of two people who voted on Monday but when they re-checked yesterday or today found that their votes were no longer registered, so they had to vote again. 

I think something similar happened during a previous contest. 

John Murray · Jul 6, 2023 go to post

What I mean is, Package Manager acts on the file system of the IRIS instance (aka server) in which you run it. 

Yes, you can install a snippets package using that approach, but you will probably want to arrange that the code-snippets files end up where VS Code needs them when operating in the client-side editing paradigm. 

John Murray · Jun 30, 2023 go to post

Thanks @Evgeny Shvarov

Since Package Manager is server-centric this puts the package author's _OEX_*.code-snippets files on the filesystem of the IRIS server you install the package into. But if you also / instead want to use them for client-centric VS Code editing you can copy them somewhere else. There's a note about this at the end of the README.

To make the contents of a .code-snippets file available to all of your folders / workspaces, put it into the snippets subfolder of the folder that contains your settings.json file. One way to locate that folder is to run the command "Preferences: Open User Settings (JSON)", then use the context menu of its editor tab to reveal the file in Finder / File Explorer. You should see a snippets subfolder there.

Alternatively, use the "Snippets: Configure User Snippets" command, choose to create a new Global Snippets file, enter a name for it (file extension doesn't need to be entered), then paste the snippets into it.

John Murray · Jun 24, 2023 go to post

I just published 0.0.5 which supports that platform. Thanks for your interest in the extension. I look forward to your feedback.

John Murray · Jun 15, 2023 go to post

Please use Command Palette to run "Preferences: Open User Settings (JSON)", then review the contents for any syntax errors. My hunch is the file contains an invalid JSON structure, so the extension's call to update the "intersystems.servers" object in it is failing.

John Murray · Jun 15, 2023 go to post

Thanks for the suggestions. The solution I came up with can be seen at https://github.com/intersystems-community/vscode-per-namespace-settings

It installs a class, runs a method in it to create the web app so it uses the correct namespace, then deletes the class. Actually, it deletes a whole package which I named %Z.IPM.Bootstraps with the idea that this could be by convention a package reserved for exactly this purpose.

I had to devise a little hack to prevent the deletion from happening during packaging, otherwise the web-app-creating class wouldn't actually be in the package, meaning end-user installation would fail.

Maybe there's already a better way of achieving the effect I wanted.

John Murray · Jun 14, 2023 go to post

Impressive, and I have some UI ideas. But your example doesn't use IRIS in any way, right?

John Murray · Jun 14, 2023 go to post

Laurel is out this week after Global Summit. Once she's back at her desk next week I expect she'll post more. You're also welcome to email info@georgejames.com and she'll reply directly to you.