I have three different methods for exporting classes and projects as XML files, but each one produces slightly different output:
Studio is a client application, built using Caché objects, that runs on Windows-
Studio is a client application, built using Caché objects, that runs on Windows-
I have three different methods for exporting classes and projects as XML files, but each one produces slightly different output:
Hi everyone,
In this article, I’m excited to introduce CodeInspector, a tool designed to simplify code validation by applying custom rules tailored to your development requirements. Whether you're managing a large codebase or working in an agile environment, CodeInspector helps ensure code quality by offering flexibility and adaptability to specific project needs.
See the new team members in action:
Try them online for yourself:
https://gitpod.io#snapshot/b31bdf9c-4657-402a-a2d
Get it from the Extensions view inside VS Code, or here in Marketplace.
Vote for it here in the current Developer Tools 2024 contest (voting ends: 29 Sep, 2024, 11:59:59 PM EST).
Discuss it below.
Most of all, enjoy DX Jetpack with its added booster rockets!
Hi Team,
Is there a way to search for a string or use of a function in all namespaces in one go.
Studio option "Search in files"/Ctrl+shift+F search all files in the current namespace. We have 13 namespaces and wanted to know if there is an easy way to search in all namespaces in one go.
Thank you for your help
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:
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:
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:
Hello,
First of all thanks for your help, and thank you for your time.
We have the following task:
To generate by hand the Ens.Request with the properties and inner Data Schemes which represent this XML, in HealthShare, by hand; the XML is this one:
I found myself in the not-so-comfortable situation of working with a Linux system on which someone had accidentally disabled user access to the Linux shell. HealthConnect was running, servicing hundreds of interfaces. To resolve the access issue, though, we needed to bring the host down for the application of a fix.
Without the shell, the iris command is not available to control the instance, so we were faced with the potential of shutting down the server ungracefully. We wanted to avoid that if possible ...
Has anyone had experience migrating source control projects from Subversion to Github, particularly when transitioning from InterSystems Studio to VSCode?
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:
Hi,
I would like to ask whether there is some option to stop auto-formatting when I compile. The code is sometimes well formatted but the auto-formatter does not work correctly in some situations. I am talking about the compilation in the Studio editor in this image, not about Visual Studio Code.
Thank you in advance,
Alin C Soare.
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.
I'm trying to learn M programing for an Epic db class prerequisite. They said to download the IRIS Studio software to do the testing. I'm having a very difficult time finding information the language. I'm trying to run some examples that Epic has provided (like in below) but the compiler complains that it isn't valid. Of course, it doesn't tell you why it isn't valid.
r !,"Enter the hour: ",hr
r !,"Enter the minute: ",min
r !,"Enter the second: ",sec
s Mtime=$$ConvertToMTime(hr,min,sec)
w !,"Equivalent M time: ",Mtime
q
ConvertToMTime(h,m,s)
q (h*3600)+(m*60)+(s)
I get these errors:
Hi Guys
Two of the HC servers I manage (a mirrored pair) have lost the ability to debug code, and I am unsure as to why this has happened. Clearly something has changed, as the other three are working just fine.
When I select a Class Method as debug target, add a few break points and run it, I get the following Output
Debugger executing '##class(InPhase.Test.CanUpdate).TestBIU()'
Executing ##class(InPhase.Test.CanUpdate).TestBIU()
<COMMAND>zDebugStub+40^%Debugger.System.1
Program has terminated.
Target has exited debugger
Hi all,
I was wondering if there is a way to modify the results you get in the code assist in Visual Studio Code. Ideally even per class or package.
For example: the code below is for a custom component of a framework. From all the options listed I'm only interested in my own property "Title" and I don't want to see any %-methods or auto-generated methods like "TitleSet" and "TitleGet".
Visual Studio Code releases new updates every month with new features and bug fixes, and the March 2024 release is now available.
In the next few weeks, my coworkers are planning to start using VSCode to code with InterSystems' products. Among the many advantages of that, I would emphasize being able to connect with other technologies, such as GitHub, with ease. Besides, VSCode also offers an extensive extensions store, where you can find many free add-ons that make coding faster and more efficient. Last but not least, to conquer the heart of every developer, it is open source.
With that being said, let's start the tutorial. Feel free to skip some steps if you're comfortable doing them alone.
Hi,
I have an odd problem that occurs when I'm trying to import lookup tables in the XML format into Studio.
I store my files in in C:\CodeRepository.
I can manually import these lookup tables using "Import local..." option in the InterSystems Studio.
However, when I'm trying to import them using command in terminal: do $system.OBJ.LoadDir("C:\CodeRepository\","ck")
I'm getting the following error:
Hi all,
As you know, it is very complicated to debug a Business Service Rest API because the object is created when the applications receive a request, so we cannot have the JobId that we can use to debug.
https://docs.intersystems.com/iris20211/csp/docbook/DocBook.UI.Page.cls…
So, I'm trying to get the JobId when the class is being created, write a trace in OnInit() method and write the JobId in a log info
Method OnInit() As%Status
{
$$$LOGINFO("JobId: "_$JOB)
hang20breakQuit..OnInit()
}
Visual Studio Code releases new updates every month with new features and bug fixes, and the February 2024 release is now available.
Version 1.87 includes:
Need to fetch data from SQL server management studio to ensemble, using jdbc or ODBC.
Step by step solution would be highly appreciated.
Hi community.
Yes, I know that there is other question "VS Code - debugging doesn't work" that is the same issue, but my IRIS instance is not using IIS.
Some times ago, I could debug without problems, but after some updates of Visual Studio, I get the following error
Failed to start the debug session. Check that the Intersystems server's web server supports WebSockets
I've activated the WebSocket protocol in the server (Windows Server 2019) but it still doesn't work.
The IRIS instance is not using IIS, I think it is using the Apache by default.
Do I need to do anything in special?
Hi All,
I have ROUTINE for Get Data end of day. Routine Name is "getTicket.mac" . previously i execute at studio using this command to get data
w $$getTicket^production.etl.getTicket() and the result success as we want, in this case i want execute routine using BS ( Business Service ) and i want this routine execute every night at 12.00 AM
how to implement this condition.
Thanks For your help and time
In the wew versions of IRIS the Studio is going to be deprecated. In the Studio when editing classes there is an option to add information at package level, with the option "Package Information" that shows this dialog:
In VSCode there is the option to add/edit this package information? If no, how can one add/edit this information without the Studio?
Thanks.
I am trying to run the CSP server. But I get the error:.png)
It worked once, but when I made some changes is displayed an error.
Also, a WEB page looks like this:.png)
Did you face this issue? What is the reason for it?
InterSystems Studio Client 2023.1.0 Build 229
I closed my watch and output panels. and I am trying to reopen. I tried using Alt-2, Alt-3 and it is higlighting /unhighlighting the appropiate icons yet panels are not displaying.
I would appreciate any help.
Thanks,
Orlando
I
As first announced in May, and after many presentations and robust discussions at Global Summit 2023, we are continuing with the plans to deprecate InterSystems Studio (deprecated designates a feature or technology that InterSystems no longer actively develops, and for which better options exist).
Pointers please for debugging a SOAP web-client.
We have several clients in different productions all accessing a web-service. We are trying to add another client in a new production, and its not working. The messages between the relevant Process and the SOAP web-client Operation are the same in the working and the non-working productions. But the web-service is reporting an XML parsing error to the non-working production. Here's the error as reported in the SOAP web-client Operation...
Is there any way to see the output of the web-client Operation - what Ensemble is actually sending out?