Question
Chip Gore · Feb 2, 2021

How do I pull a class from a connected IRIS server to my local machine using VSCode for editing?

Hi -

I know this is very "newby" of me, but here goes..

I have moved some classes onto my server, but these have never been in VSCode as edited files, and I'm just not finding the magic command or button or drop-down that says "pull this file from the server and make me a local copy to edit. I can see the class files on the server using the ObjectScript plugin - but I just can't find out where to make a local copy for editing

 

Thanks

$ZV: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2019.4 (Build 379U) Mon Oct 21 2019 16:16:39 EDT
Product version:
IRIS 2019.4
00
3 0 2 64

Replies

You need to right-click and select Export

Sergei's picture shows a menu located in the InterSystems View. The ISC logo for that view appears on the left of VS Code once you have a ObjectScript connection. You can configure Export settings, to an extent, as {objectscript.export: {}} in workspace or user settings.


See the README on the repository: https://github.com/intersystems-community/vscode-objectscript

And a few more learning materials: https://learning.intersystems.com/course/view.php?name=VSCodeRG