TIP: if you are in a hurry, use the YouTube option to play this at 2x speed and you'll get through it in half the time.
- Log in to post comments
TIP: if you are in a hurry, use the YouTube option to play this at 2x speed and you'll get through it in half the time.
It is often the case with large applications that developers would like to or need to work on unrelated parts of an application simultaneously. It is a limitation of the Git for Shared Development Environments application from the InterSystems Open Exchange that you cannot do this in a single namespace. That's because it is built on git, where you can only have a single branch checked out to a working folder at any one time.
Our InterSystems-native source control and integrated deployment solution Deltanji allows developers to create multiple separate branches within the same namespace. Because Deltanji has finer granularity it can handle concurrent non-overlapping sets of changes in a single namespace, enabling users to check code entities out onto separate Change Requests, then promote these independently.
Even with a team as small as one person it is common for Deltanji-controlled development to take place this way. Use of QA and/or Staging environments ensures that unforeseen dependencies created in the Development environment between supposedly independent Change Requests will be detected before they can impact the Production environment.
If you support this proposal but haven't yet voted for it, please do so at https://ideas.intersystems.com/ideas/DPI-I-602
The more votes it gets there the better the chance of the development work being resourced.
Release notes indicate this feature landed in 2023.3
At some point since I posted the comment linked to above the rules got even more complicated. See https://docs.intersystems.com/iris20241/csp/docbook/DocBook.UI.Page.cls… from the 2024.1 doc which states that "Some system default settings can override the corresponding production ... values" (my bolding).
That doc section names two settings but doesn't claim to be a comprehensive list 😾
Please also see https://community.intersystems.com/post/system-default-settings-versus-… to try and understand how easy it is for a system-specific setting to get overridden by a setting added to the XData block of the prodclass. Then, if you're not super-careful about how you transfer the prodclass between environments you can inadvertently end up with the live production talking to the test interfaces.
Yes, that's my idea.
This will need a server-side change as well as one in the VS Code extension. More info at https://github.com/intersystems-community/vscode-objectscript/issues/13…
Your code is writing its message to the principal device of the process spawned to handle your Studio session. That is the TCP/IP device which Studio is reading from, so it gets confused by the unexpected message.
Perhaps your IRIS environment's SetZEOF setting has been altered from the default. See https://docs.intersystems.com/iris20241/csp/docbook/Doc.View.cls?KEY=RC…
These Code Actions are contributed by the InterSystems Language Server extension. To request improvements please open issues at https://github.com/intersystems/language-server/issues
The presence of the VS Code lightbulb is controllable with the editor.lightbulb.enabled setting, which can be set per-language if you wish.
For example, in Settings Editor use this filter to alter the setting at user-level or workspace-level only for ObjectScript classes.
@lang:objectscript-class editor.lightbulb.enabled
The Deltanji extension is fully compatible with the InterSystems ObjectScript extension. It is only the Serenji one whose debugging component clashes.
Are the 3 servers where debugging is working running exactly the same $ZVERSION as the 2 where you're getting this error?
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.
Yes you can, but your function isn't being found, perhaps because of whitespace in front of its labet.
A consequence of https://jigsawinteractive.com/jigsaw-interactive-acquires-influtive/ I guess.
Did you find this in the IRIS documentation?
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cl…
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'?
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.
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.
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.
I just logged https://github.com/intersystems/language-server/issues/325 about the incorrect promotion of the `"%%OID`* entries.
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/… so I suggest you open an issue at https://github.com/intersystems/language-server/issues for @Brett Saviano to consider.
Have you already found the resources at https://docs.intersystems.com/ens201817/csp/docbook/DocBook.UI.Page.cls…;
So the section titled For users with IRIS Versions Prior to 2023.2 working on their local machine should suit you.
The set of snippets was recently reduced. Please see https://github.com/intersystems-community/vscode-objectscript/issues/12… for an explanation.
As @Joel Solon pointed out, there's already a setting to achieve this. It's called files.autoSaveWhenNoErrors
Maybe we can try to get https://github.com/microsoft/vscode/issues/141868 implemented.
At Step 3, if you already use Studio you can take advantage of an option on the ... menu to import your existing server definitions.