go to post John Murray · Jun 30, 2023 I tried to set this up for my https://github.com/gjsjohnmurray/oex-vscode-snippets-template repo, and though the workflow ran I didn't see any results. Nor does my OEx app report that it's connected. Am I doing something wrong? Or is the structure of my code repo unsuitable? It has a cls subfolder under the src folder, for example.
go to post John Murray · Jun 30, 2023 Maybe try again after using InterSystems Portal to change the Source Control Class setting for the namespace to "NONE".
go to post John Murray · Jun 30, 2023 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.
go to post John Murray · Jun 24, 2023 I just published 0.0.5 which supports that platform. Thanks for your interest in the extension. I look forward to your feedback.
go to post John Murray · Jun 23, 2023 Did you find this when you searched for "epoch" here on DC? https://community.intersystems.com/post/how-convert-current-date-and-tim...
go to post John Murray · Jun 16, 2023 I'm glad to hear that. Don't know how it could have happened, unless you'd been editing the JSON directly. I have opened https://github.com/intersystems-community/intersystems-servermanager/iss... to capture the issue about the error message not being a template literal.
go to post John Murray · Jun 16, 2023 @Eduard Lebedyuk the presence of '$(name)' in that message is misleading because of a small SM bug. If @Michael Gosselin had tried entering exactly that when adding the definition he would have seen this:
go to post John Murray · Jun 15, 2023 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.
go to post John Murray · Jun 15, 2023 Readers of this thread may be interested in this discussion I just started about the export/import topic: https://community.intersystems.com/post/studio-vs-code-migration-address...
go to post John Murray · Jun 15, 2023 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.
go to post John Murray · Jun 14, 2023 Impressive, and I have some UI ideas. But your example doesn't use IRIS in any way, right?
go to post John Murray · Jun 14, 2023 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.
go to post John Murray · Jun 12, 2023 I think they might be MSM remnants. On that implementation of M(UMPS) $ZU() was the abbreviation for $ZUCI() The term UCI was short for User Class Identifier.
go to post John Murray · Jun 8, 2023 Thanks for confirming the fix. I'm publishing 0.2.1 now. Please post enhancement ideas on the repo, for better tracking.
go to post John Murray · Jun 8, 2023 Please change this to a relative path (no leading slash). Also, there was a bug in how it handled a "docker-compose" type of configuration. Please try this dev build by downloading the zip, extracting the VSIX and dropping it into VS Code's Extensions view. If it works for you I will publish a new version to Marketplace.
go to post John Murray · Jun 6, 2023 That's one of the things the new extension is designed to achieve.
go to post John Murray · Jun 6, 2023 Great article, thanks! But is the first paragraph of the section titled "Insert con archivo" a test that we read carefully? Or intended to prove it wasn't written by a chatbot (which of course it wasn't)?!