Hello,
Since version 2.12.6 of "Intersystems ObjectScript" extension in VS Code, the compile process force the EOF automatically to LF.
Have you encountered this issue and do you know how to resolve it?
Thank you,
Maxime
VSCode is a short name form for a popular cross-platform editor VisualStudio Code from Microsoft.
Hello,
Since version 2.12.6 of "Intersystems ObjectScript" extension in VS Code, the compile process force the EOF automatically to LF.
Have you encountered this issue and do you know how to resolve it?
Thank you,
Maxime
Visual Studio Code releases new updates every month with new features and bug fixes, and the August 2024 release is now available.
Version 1.93 includes:
during an upgrade, a customer wants to load custom schemas in a particular order.
For this, they renamed a file EPIC_MDM.HL7 to 1EPIC_MDM.HL7
Upon importing this file into their server using VSCode, the custom schema was renamed to 1EPIC_MDM.HL7 inside the <Category>
This is impacting the upgrade and they are looking for a way to import a custom schema without renaming the schema itself.
For those of you who still use the Studio IDE for ObjectScript programming and are going through the process of migrating to VS Code, did you know there's a section in the VS Code documentation just for you? Have a look at the Migrating from Studio chapter. It covers:
And now there's a new section, Keyboard Shortcuts, that shows you the VS Code equivalent for shortcuts you may be used to, so your hands never have to leave the keyboard.
Instead of building a BP to execute stored procedures just to insert the data, I figured I would give Linked Stored Procedures a try since all I need to do is insert the data. I have proved in our MS SQL Development environment that it is possible, so I through I could just repoint the Linked Stored Procedure
set$$GetJConnection^%apiGTWto the test environment. But when I made the changed in VSCode and compiled the Stored Procedure disappeared from the SQL view in the Management Portal.
So can we not simply update the connection string to point to a different MS SQL Connection?
Is there a wizard to override pieces of class (parameters, properties, methods, etc.) like there is in Studio? I can't find this functionality anywhere. If it's not there, it's certainly a piece I'll sorely miss as we transition to VS Code.
Is CR/LF changes to DTL files edited/committed to git via VS Code a known issue?
We had an issue with exporting files from one server and importing on another, using XML code exported from Studio: ERROR #6301: SAX XML Parser Error. Turns out that issue was down to CR/LF changes made when transferring the XML from one server to the other.
What is wrong in this snippet??
Its an iris lab so nothing so personal that someone can't use it
{
"workbench.colorTheme": "InterSystems Default Dark Modern",
"intersystems.servers": {
"irislab": {
"webServer": {
"scheme": "https",
"host": "35.188.112.210",
"port": 29363
},
"username": "tech",
"password": "demo"
}
},
"objectscript.conn": {
"server": "irislab",
"ns": "USER", // Add your namespace here (e.g., USER)
"active": true
}
}
Hello,
I have installed the latest version of IRIS (without a web server) to replace my community version with a embeded web server.
I tried to connect Visual Studio Code to my namespace, but I am unable to do so. I keep receiving the message "Not found."
Here is my configuration:
"pc-david": {
"webServer": {
"scheme": "http",
"host": "localhost",
"port": 80
},
"description": "pc-david",
"username": "_SYSTEM"
}
When I modify the host and port, I can successfully connect to other remote databases (Cache 2018 or IRIS).
Visual Studio Code releases new updates every month with new features and bug fixes, and the July 2024 release is now available.
Version 1.92 includes:
Hi all,
I have some .vm (Velocity Templating Language) files that I'd like to be able to load into IRIS with the $System.OBJ.Load(filename) command, but it seems that only accepts XML files.
I've tried adding import/export logic in my custom studio document that will wrap the velocity content inside an XML document and vice versa, I've changed the existing Velocity files to have the extension .xml and be wrapped in XML, and I've included a .dtd file for them to reference. However, this doesn't seem to work.
Hello,
Recently I have been tinkering with VSCode and ObjectScript extension to connect to my dockerized IRIS instance. I have configured the instance to use Apache as a Web Gateway as per instructions and it has been working well. Currently I'm using a self-signed certificate for the SSL part of the connection. The browser nags about insecure certs when connecting to Management Portal but that's expected.
Not so while ago GitHub introduced, ability to very quickly run VSCode in the browser for any repository hosted there. Press the . key on any repository or pull request, or swap .com with .dev in the URL, to go directly to a VS Code environment in your browser.

This VSCode is a light version of the Desktop version but works entirely in Browser. And due to this, it has a limitation for extensions which was allowed to work this way. And let me introduce the new version 1.2.1 of VSCode-ObjectScript extension which now supports running in Browser mode.
Hi folks,
We are in the process of migrating from Ensemble to IRIS.
After the migration I would like to find all usages of deprecated classes and methods in all of our code. This is to align with the changes in package like %SYSTEM.SQL for example.
Is there an easy way to do this, or maybe a tool that can assist?
Thanks.
Hi Team,
I want implement build/release pipeline for InterSystems IRIS rest API with VSTS without docker container or other tool.
Can you please provide step by step guide for same.
Thanks,
Ankur Shah
Hello,
I have over 30 years of experience developing solutions with MUMPS and IRIS. Additionally, I also develop in C++, Python, Angular...
Experiences with Container (Docker) , GIT and REST-API's
I'm seated in Germany and looking for a job opportunity as a freelancer who mostly works from home office.
regards Matthias
Hi Team,
This is very urgent can you please guide me to convert the date string to ISO format.
set date = "20240501144800-0500"
set result = $SYSTEM.SQL.Functions.TOTIMESTAMP(date, "YYYYMMDDHHMISS")
write result -> 2024-05-01T16:49:00:00+00:00
so here timezone is dropped off but i need that.
expected result -> 2024-05-01T16:49:00-05:00
Please help me here how i can convert in this format.
Has anyone had experience migrating source control projects from Subversion to Github, particularly when transitioning from InterSystems Studio to VSCode?
We recently moved from using the Private Web Server, to using an Apache/Web Gateway setup and moved towards using the built in LDAP functionality within IRIS. Since then, we have 1 user that uses VSCode (/api/atelier) heavily that continues to have issues signing into IRIS through VS Code and the /api/atelier extension.
I am trying to troubleshoot two issues..
I'm working with isc.rest and am going through the tutorial right now. My project directory exists on my IRIS server. When I try to create a module.xml file in the root package, I get a #16006 error. I see that there is a "generate" command for zpm that should create a module.xml for me on my local filesystem. How can I create this module.xml in the same folder that holds my code living on the IRIS server?
Hello,
I don't know why I can't get into management portal. I saw something related to permission issue of group allowed to start and stop and have already changed to root and Admin but still doesn't work.
Installation info:
I started "httpd server" and "IRIS".
Management Portal doesn't show on browser. Error Shows:
But I could get into "User" namespace from the terminal.
In VS code, I downloaded three extensions. Then
In settings.json,
Visual Studio Code releases new updates every month with new features and bug fixes, and the June 2024 release is now available.
Version 1.91 includes:
Hey everyone.
I was wondering if anyone had come across a way of reformatting ObjectScript within VSCode.
I have the various Intersystems Extensions installed (InterSystems Language Pack, InterSystems ObjectScript, InterSystems ObjectScript Extension Pack, InterSystems Server Manager) but a formatter does not seem to be something included within this variety of extensions.
Migrate to VS Code this summer with our comprehensive Basics and Advanced Features training courses.
George James Software is offering migration strategies and training to support the adoption of VS Code with InterSystems IRIS, IRIS for Health, HealthShare, and Caché. We're in the unique position of having deep knowledge and understanding of both InterSystems platforms and VS Code, through our regular contributions to VS Code itself.
Studio to VS Code Migration - The Basics (2.5 hours)
An interactive training webinar for those who currently use Studio and wish to migrate to VS Code.
Hello My Friends,
I have a problem with my script, In another code it works fine, but in this script It not display anything in InterSystems portal, when I try to debug, it gives the data, but why in portal it show nothing?
Can anyone help me please? Thank you
.png)
in Portal it show nothing
Note: this was originally posted on June 5, 2024 but presented as being posted on May 9, 2024 so this re-post fixes the date.
Recent updates to the Intersystems Language Server introduce many significant enhancements aimed at improving developer experience and productivity. I'll talk about some of the key ones here, while the complete list, including numerous bug fixes, can be found in the Language Server's CHANGELOG.
In the past, all syntax errors were reported simply as "Syntax error.
Hi
How do I view the .int code of a compiled class in VS Code?
I am trying to use gj::Locate and the setup works, the explanation is all fine but when i paste an error from the Error Logs into the gj::locate it firstly tells me that it can't find the .cls and when I paste in the .int reference in the text box where you can specify the class, method, line+offset it replies that it can't find the item.
This is something to do with the objectscript extension rather than gj::locate
Nigel
Hello everyone,
After upgrade to InterSystems ObjectScriptv2.12.3 extension an annoying "bulb" occured in the beggining of code line. If point upon it, there are some actions being offered. In my case, an action "Wrap in try/catch" is alwaysamong them, even if the code line is already within try/catch block. Another action which appears sometimes is "Extract to method". If accept, new method is inserted into the class with only one line body inside. IMHO, not too clever "AI solution" as well.
The question is: how to disable this "bulb"?
As most of you have heard already, InterSystems announced the deprecation of Studio with the release of IRIS 2023.2. A detailed deprecation plan was revealed in November, and we are now hitting the first milestone in that plan. Starting with 2024.2 preview kits, Windows kits will no longer contain Studio. This means that new installations using this kit will not install Studio, and upgrading an existing instance to version 2024.2 (or later) will remove Studio from the instance’s bin directory.
Developers who wish to keep using Studio simply need to download the 2024.
This question originally appeared in the comments of the post: IDE platform for beginners
Hello All,
Visual studio code doesn't allow debugging of code or running of code as far I can see. Since I am new, could someone guide me on this.
Thanks