go to post John Murray · Apr 29 Please explain how Deltanji (source control from George James Software) is involved. Perhaps you mean the Serenji extension, also from George James Software. Previous answers on this thread, including mine, have assumed you're using the InterSystems ObjectScript extension, not Serenji.
go to post John Murray · Apr 26 Yes you can, but your function isn't being found, perhaps because of whitespace in front of its labet.
go to post John Murray · Apr 26 A consequence of https://jigsawinteractive.com/jigsaw-interactive-acquires-influtive/ I guess.
go to post John Murray · Apr 26 Did you find this in the IRIS documentation? https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls...
go to post John Murray · Apr 25 I want the code in my client with no storage, because it is useless when share with others or pack in a package. Why 'useless'?
go to post John Murray · Apr 25 My guess is that you put a space at the beginning of the line shown above as: ConvertToMTime(h,m,s) Pasting a screenshot here might help.
go to post John Murray · Apr 25 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 · Apr 24 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.