Thank you for your time to read this,
Could you please guide , how to import XML schemas in VS Code to class files?
Thanks,
VSCode is a short name form for a popular cross-platform editor VisualStudio Code from Microsoft.
Thank you for your time to read this,
Could you please guide , how to import XML schemas in VS Code to class files?
Thanks,
I have a VS Code workspace using server-side editing with separate folders for different namespaces on the instance:
{
"folders""name"
The VS Code search works well to find symbols in ObjectScript files, but it searches across all folders. Is there a way to include or exclude certain folders from the search? I've tried adding some patterns to the "files to exclude" dialog, but none of these seem to work: SYS/**, /SYS/**, %.*, \%.*
Everything you need to know about VS Code for InterSystems technologies.
With the announcement of the deprecation of Studio, George James Software are here to make moving to VS Code as smooth as possible. Our expertise in InterSystems technologies and active contributions to the development of VS Code itself, as well as creating and maintaining a range of VS Code extensions, provide us with comprehensive knowledge and experience to guide you step-by-step so you're set up and ready to work in VS Code.
Hi everyone,
Lately, I've been spending a lot of time with Visual Studio Code (VSC), and I've been wondering if there's a terminal or a panel within VSC that acts like the Intersystems Studio Output panel, which serves both as an input and output window and allows the execution of ObjectScript commands.
Could anyone help? Thanks :)
This scenario showed up yesterday at a client site when I was delivering bespoke consultation on migration from Studio to VS Code.
The site's servers had been configured to use delegated authentication, but the "Delegated" checkbox hadn't been set against the /api/atelier web application, which is what the members of the InterSystems ObjectScript Extension Pack use to make their connections.
As soon as the we application got its checkbox set and the Server Manager refresh button was clicked, namespaces could be enumerated on the server.
I have a problem. Occasionally, I am getting locked out of IRIS because of password failures. However, the failures aren't necessarily related to my password. We are using VSCode, and I have installed one or two proposed APIs for use with the software (because that's just how I am; I want to learn the new stuff).
Today, I had that problem again. The step that caused the problem was most likely when I was trying to switch the branch I was using and updating within VSCode. Let's say I was switching from branch "1A" to branch "2B".
Hey Community,
Enjoy watching the new video on InterSystems Developers YouTube:
⏯ VS Code: Modern Development on All Platforms @ Global Summit 2023
InterSystems has also released IRIS as containerized deployments. This post is to demonstrate how InterSystems IRIS and applications those rely on IRIS a backend can be packaged into an image and be run in other machines in containers and how simple it is to do that.
A container runs image/s which have all the necessary executables, binary code, libraries, and configuration files. And the images can be moved from one machine to another, and an images repository like Docker Hub can simplify that process.
I have used an application from Open Exchange for this demo.
Demo video: https://www.loom.com/share/93f9a760b5f54c0a8811b7a212387b9d
Hi,
i'm starting to try to switch to VS Code with ISC integration plugins.
Everything seems fine until i get to and environment with CCR enabled. I can't open any class in RW and i don't know how to check the class out.
Is it supported? What do i need to do to use it?
Thanks
Pietro
Documentation here explains how IRIS Portal can be launched in a tab in the VS Code editing area from Server Manager. One limitation though is that if you then perform an action in Portal which needs to invoke a modal message box in the browser (e.g. window.alert() or window.confirm()) this doesn't work.
I created this issue on the VS Code repository requesting a change that will unblock this. The issue needs more evidence of community support within the next week if it is to stand a chance of progressing.
In the discussions at https://community.intersystems.com/post/intersystems-studio-deprecated-starting-20232 one notable topic has been that some Studio users make regular use of its facilities for exporting multiple code artifacts (e.g. classes and routines) into a single XML file on the workstation, then exporting that file into a different server namespace.
Unless / until equivalent features are added to the VS Code ObjectScript extension, can these people fill the gap by using the System Explorer section of Management Portal?
Hy,
I have a question how to call another methode inside the main method ?
Hi,
I am new to Objectscript so need some help please.
How would I check a string for special characters as per below?
/^[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]*$/Thanks so much,
Hi community,
I have an incorrect InterSystems Server Credentials password stored by the Workstation Keychain in VS Code. VS Code is trying to use this incorrect stored credential to access the server and does not prompt or allow me to input a different password. I do not see any settings associated with the Keychain or resetting those credentials. Does anyone know of the process to delete or replace a stored password here?
Thanks!
Hannah
I like to add documentation to the top of every class I write. Is there a way to modify or create a template that would automatically add the lines below to the top of the class? I primarily use Studio IDE but would like to be able to do this using VS Code as well.
/// Organization:
/// Version 1.0
/// Author/Co-author:
/// Project:
/// Date:
/// Description:
/// Change Log:
/// Notes:
Thanks.
Hi Community,
We're pleased to invite you to the upcoming webinar in Hebrew:
👉 Introducing VS Code, and Moving from Studio in Hebrew 👈
🗓️ Date & time: July 25th, 3:00 PM IDT
Visual Studio Code, like Atelier, connects to IRIS through the Web Server and a web service, unlike Studio that connect to the SuperServer port.
What about the VS Code terminal? Does that open a shell with SSH or does it also use a web service?
In other words, does an IRIS developer using VS Code need direct access to the IRIS instance with SSH or the SuperServer port, in addition to the external or private web server to execute terminal commands?
Is that different with linux vs. Windows?
ObjectScript is a powerful language used in InterSystems products like InterSystems IRIS, enabling developers to build robust applications. To enhance the ObjectScript development experience, the OwnObjectScriptExtension is a Visual Studio Code extension that provides a range of tools and features. In this article, we will explore how the OwnObjectScriptExtension can improve your ObjectScript development workflow.
Writing comprehensive method descriptions is essential for maintaining code clarity and promoting collaboration.
Hi guys,
I want to develop a web application in which a user can log in through the user credential of intersystems that is created in Management Portal for a specific role. How can I authenticate the user and get any token or login cookie through which user can call other apis
VS Code has a powerful snippets capability, and its Marketplace offers a way for developers to publish their snippets so others can use them. However, publishing on Marketplace takes some effort and snippets targeting InterSystems coders will realistically only be of interest to a very small number of Marketplace visitors.
This inspired me to create oex-vscode-snippets-template, a GitHub template for creating repositories dedicated to publishing code snippets for InterSystems devs.
.png)
As an AI language model, ChatGPT is capable of performing a variety of tasks like language translation, writing songs, answering research questions, and even generating computer code. With its impressive abilities, ChatGPT has quickly become a popular tool for various applications, from chatbots to content creation.
But despite its advanced capabilities, ChatGPT is not able to access your personal data. So in this article, I will demonstrate below steps to build custom ChatGPT AI by using LangChain Framework:
I have latest VS Code 1.50.1 and latest ObjectScript extension.
For some unknown reasons, my IRIS icon disappeared from VS Code activity bar.
How can I get my IRIS icon back?
.png)
Hi all,
I have install git-source-control to the namespace TEST. Also it is working fine as I am able to add files to my local git repo and see the changes in it.
But while I try to open GUI for the same i am getting service unable error on this URL
http://127.0.0.1:52773/isc/studio/usertemplates/gitsourcecontrol/gitpro…
what's wrong with this.
As the announcement of Studio's deprecation has been made, users may be wondering about making a smooth transition to VS Code.
George James Software has extensive experience in VS Code, through regularly contributing to VS Code itself and building and maintaining a number of Extensions. This, combined with our expert knowledge of InterSystems technologies, gives us an in-depth understanding of what the process involves and means we have the unique capabilities to ensure a smooth migration from InterSystems Studio to VS Code.
We offer bespoke consultation, with recommendations that are tailored to your organization's specific needs. Alternatively, we will be hosting a monthly public webinar that is designed specifically for users migrating from Studio to VS Code.
If you're ready to make the switch and would like to find out more, please come and speak to us at the Global Summit next week - you'll be able to find George James Software in the Partner Pavilion. Our team will be happy to chat with you about how you can ensure your migration is seamless.
Alternatively, you can send me a direct message here on the Developer Community, or email us at info@georgejames.com.
getting an error while installing git-source-control
Log of error
zpm "install git-source-control"
[TTN|git-source-control] Reload START (/Users/irisusr/mgr/.modules/TTN/git-source-control/2.2.0/)
[TTN|git-source-control] Reload SUCCESS
[git-source-control] Module object refreshed.
[TTN|git-source-control] Validate START
[TTN|git-source-control] Validate SUCCESS
[TTN|git-source-control] Compile START
[git-source-control] Compile FAILURE
ERROR! Error registering reference '^Studio.SourceControl.ChangeI("$Change")' for use by 'SourceControl.Git.Change.
I want to connect IRIS system as it has all the database tables. on top of that I am creating a REST API in python. How can I connect to IRIS DB. here is my example code for connection
def connect():
connection_string = "localhost:1972/USER"
username = "_SYSTEM"
password = "SYS"
conn = iris.connect(connection_string, username, password)
after this connection is created but how can I get tables data. Please let me know more about how we can integrate IRIS database into a python REST API.
I am trying to set up VS Code so that it will connect to a new server running IRIS 2023.1, and I can't seem to get the setup to accept my errors. I enter all the requested information, and at the end I receive a message:
Failed to store server '$(name)' definition.
Source: InterSystems Server Manager (Extension)
I've submitted a bug log with VSCode, but then I noticed the source, and figured it might be related to the extension instead of the program, and was wondering if others have received this message. The VSCode is 1.79.1, for the record.
Thanks as always.
How to import Custom Schemas from VSCode? They look like this:
<?xml version="1.0"?>
<Category name="ITK" description="xmlns:hl7='urn:hl7-org:v2xml' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'" std="1">
<MessageType name='ACK' structure='ACK' returntype='ACK' description='xsi:schemaLocation="urn:hl7-org:v2xml ACK.xsd"'/>
</Category>Instead of wrapped XML export produced by $system.OBJ:
InterSystems is committed to providing a high quality developer experience including a great IDE (Integrated Developer Experience). For the past several years we have been evolving Visual Studio Code's ObjectScript tooling in parallel with our long-standing IDE, InterSystems Studio. There have been over 46,000 downloads of the VSCode-ObjectScript plugin, and the feedback from developers is that this is a great developer experience, and now superior to InterSystems Studio.
With our 2023.
I am having code like this,
set args = []
set resultSet = ##class(%SQL.Statement).%ExecDirect( , sql_whereClause, args)
Instead of placing args[1],args[2] etc into the above I want to pass the whole args at a time if it possible.?