go to post John Murray · 1 hr ago Are you using the client-side editing paradigm, where the files on your VS Code workstation are managed with, say, Git, and imported to an IRIS server for execution? Or are you using the server-side editing paradigm, which is equivalent to the IRIS Studio way of working? Also, please explain why you don't want the storage information in the class file.
go to post John Murray · 23 hr ago when I want to do something that I know that a predefined function already does, how can I get inspiration from its code When the product isn't Open Source, you probably can't.
go to post John Murray · Apr 19 I just logged https://github.com/intersystems/language-server/issues/325 about the incorrect promotion of the `"%%OID`* entries.
go to post John Murray · Apr 19 A clever way of getting what you want! The controlling logic for this is in https://github.com/intersystems/language-server/blob/master/server/src/p... so I suggest you open an issue at https://github.com/intersystems/language-server/issues for @Brett Saviano to consider.
go to post John Murray · Apr 16 Have you already found the resources at https://docs.intersystems.com/ens201817/csp/docbook/DocBook.UI.Page.cls?...?
go to post John Murray · Apr 12 So the section titled For users with IRIS Versions Prior to 2023.2 working on their local machine should suit you.
go to post John Murray · Apr 11 The set of snippets was recently reduced. Please see https://github.com/intersystems-community/vscode-objectscript/issues/1234 for an explanation.
go to post John Murray · Apr 10 As @Joel Solon pointed out, there's already a setting to achieve this. It's called files.autoSaveWhenNoErrors
go to post John Murray · Apr 5 Maybe we can try to get https://github.com/microsoft/vscode/issues/141868 implemented.
go to post John Murray · Mar 16 At Step 3, if you already use Studio you can take advantage of an option on the ... menu to import your existing server definitions.
go to post John Murray · Feb 23 I agree that source control is a good way of tackling the "who changed it, when, and why?" questions. If you haven't already, please take a look at Deltanji from my company, George James Software. LUTs are treated the same way as Classes, Routines, Schemas and many more component types. Deltanji operates natively inside all InterSystems platforms, including HealthConnect, dealing with deployment as well as versioning.
go to post John Murray · Feb 21 So I'm confused that none of the GIFs posted in response to this seem to have a play/pause button. 😕
go to post John Murray · Feb 14 I'm guessing you are using the client-side editing paradigm, creating a new Foo/Bar.cls file (probably in the src subfolder of the folder you opened in VS Code), defining Foo.Bar as a subclass of %Persistent. Then when you save it VS Code imports the class into the namespace of the server your configuration connects to. When it compiles this for the first time the server adds the storage definition. VS Code should automatically reload the updated class definition into your local file. When you begin a debugging session VS Code by default saves modified documents before launching server-side execution of your code. None of this should produce the symptoms you reported. I recommend moving the investigation to the extension's Issues section in its GitHub repository. A good way of opening an issue there is to begin at the Report Issue option from VS Code's Help menu. This will automatically include version information in the report. You can't paste screenshots or animated GIFs into that dialog but it's easy to edit the issue description on the GitHub page that opens after the dialog closes.
go to post John Murray · Feb 9 It looks like you used VS Code to directly open the folder (C:\InterSystems\IRIS\CSP\goerke\) which your (local desktop instance) IRIS created for the /csp/goerke webapp it configured when you added a GOERKE namespace using IRIS Portal. I think this is going to get confusing for you, particularly if you try to use documentation or training material. Here's what I recommend you do: 1. Close your the folder in VS Code. 2. Copy your C:\InterSystems\IRIS\CSP\goerke into a folder where you will edit your source files, and perhaps in future source-control them with Git. For example, copy it to c:\MyProjects 3. Open the newly-created folder in VS Code (e.g. c:\MyProjects\goerke) 4. Reconfigure your /csp/goerke webapp in IRIS Portal so it points again to C:\InterSystems\IRIS\CSP\goerke 5. Delete all contents of C:\InterSystems\IRIS\CSP\goerke (files and folders), since you already have a copy of these in c:\MyProjects\goerke Now when you edit a CSP file in VS Code and save it under c:\MyProjects\goerke\src a copy of it will appear in C:\InterSystems\IRIS\CSP\goerke and the /csp/goerke webapp will use this. When you edit a CLS file in VS Code, saving this writes the class into the GOERKE namespace but doesn't create a file under C:\InterSystems\IRIS\CSP\goerke because IRIS classes live in IRIS databases, not in host OS files.
go to post John Murray · Feb 9 Did you put your files in a src subfolder of the folder you opened in VS Code? If not, please close the files in VS Code, create a src subfolder, drag your CSP files into it, then open one and try saving it.
go to post John Murray · Feb 7 This exact IRIS version has a problem https://github.com/intersystems-community/vscode-objectscript/issues/1149
go to post John Murray · Jan 18 I'm guessing that Brett is testing on a non-Windows platform. By replicating Mathew's setup on Windows I can reproduce the issue. Mathew, please try using backslash in the "folder" property of your "objectscript.export" settings object: "folder": "src\\database",
go to post John Murray · Dec 21, 2023 Package definition can already be exported to a file using $system.OBJ.Export("Foo.Bar.pkg",filename) Yes, it's XML format rather than prettier UDL, but it can still be used to manage the definition in file-based source control.
go to post John Murray · Nov 30, 2023 See also https://community.intersystems.com/post/announcing-jupyter-server-proxy-... for the original announcement of this.
go to post John Murray · Nov 30, 2023 https://openexchange.intersystems.com/package/Jupyter-Server-Proxy-for-V... approaches this from another angle.