John Murray · Mar 11, 2022 go to post

Are you connecting successfully to other servers and only having problems with this one?

In the Security section of InterSystems Portal on this server, does the profile of the 'therock' user show any login failure coinciding with your failed attempt to connect from VS Code?

Your reference to having pulled existing connections leads me to think you installed the InterSystems Server Manager extension. Are you able to expand the Namespaces subfolder of this server in the Server Manager tree?

John Murray · Feb 3, 2022 go to post

Maybe run a local personal instance of IRIS that VS Code can use to compile the classes in. When your changes are ready, push your local file sources to the repo and have some other mechanism to pull them from there into the shared server.

John Murray · Feb 2, 2022 go to post

From the Command Palette please run "Format Document With...".

Do you see this?

If not, what does the "Configure Default Formatter..." option show (assuming it is there for you)?

John Murray · Jan 26, 2022 go to post

To use a " character within an ObjectScript string literal, double it:

set teststr ="<book id=""bk105""><author type=""old"">Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>"
John Murray · Dec 8, 2021 go to post

VS Code 1.63 has now been published, so as soon as you have updated to it you will be able to try out the Server Manager Version 3 pre-release.

John Murray · Nov 26, 2021 go to post

This can be done using the Serenji extension. Free evaluation keys for Serenji's debugging features are available on request.

The steps are documented here. I demonstrated it on the main stage at Global Summit 2019 during a session hosted by @Jeff Fried but unfortunately the YouTube video of that session has since been set private (see item 10 at https://community.intersystems.com/post/intersystems-global-summit-2019… for the link).

John Murray · Nov 26, 2021 go to post

I don't think there is any such setting, and I have been using InterSystems products for a long time.

John Murray · Nov 22, 2021 go to post

Is anything going on with browser session cookies that might cause this?

Do you get the same problem if you access the private webserver via FQDN from, say, Chrome and via unqualified hostname using, say, Firefox? Or use incognito mode?

John Murray · Nov 15, 2021 go to post

The Eventbrite record looks a bit strange. Why not on sale until 3 weeks after today's kickoff?

John Murray · Nov 11, 2021 go to post

It can't be integrated with Management Portal (which is a webapp), but the Server Manager extension gives you ways to launch Management Portal from within VS Code, either as an embedded web page or in your usual browser.

John Murray · Sep 29, 2021 go to post

Stefan, it sounds like you could benefit from using the server-side editing capabilities of this extension, in combination with server-side source control such as Deltanji from George James Software (for whom I work). Properly implemented, server-side source control will also control people who edit using Portal and Studio, or who use our Serenji extension for VS Code instead of the InterSystems one.

John Murray · Jul 23, 2021 go to post

That setting affects how the ObjectScript Explorer behaves. That's the tree you get if there's an InterSystems logo on your Activity Bar and you click on it. It's the tree whose primary purpose is to let you export server code into files on your workstation that you then edit locally, probably add to a Git repo, and import to your server to run and debug it.

When you select a class or routine in that tree, and it only exists on the server (i.e. it isn't one that you have already exported locally), then the above setting dictates whether the code is opened read-only or editable.

John Murray · Jul 6, 2021 go to post

IMO storing a password in plaintext like this should only be used as a last resort, or when the password is the default one for a built-in username. In all other cases I recommend using Server Manager's ability to store the password in your workstation's keychain.

John Murray · Jun 22, 2021 go to post

If you set up a server-side-editing workspace accessing a namespace for which your class is the source control class, you should see these buttons at the top of an open class or routine:

Also these entries on the document's context menu:

Each will open a quickpick top-centre of your window. The "Server Source Control..." one will show menuitems from the %SourceMenu and %SourceContext menus in your XData block. The "Server Command Menu..." will show menuitems from all other menus in that block.

John Murray · Jun 9, 2021 go to post

No, nothing changed. When the "Choose Server and Namespace" button appears in the Explorer view (the VS Code Explorer, not to be confused with the ObjectScript Explorer) it's because you don't have a workspace open.

After clicking that and working through the input prompts you now have an untitled (i.e. unsaved) workspace consisting of a single isfs-type root folder.