go to post Evgeny Shvarov · May 22, 2023 Thanks @Heloisa Paiva ! Also want to say thank you to @Guillaume Rongier - the author of the app
go to post Evgeny Shvarov · May 22, 2023 Great stuff, @Yuri Marx! You motivated me to improve the base template, so I made a new release of REST API template - with improved universal Dockerfile and added link to the VSCode menu for the swagger doc. Also turned on passwordless mode - make sure you don't use it on production solutions ;)
go to post Evgeny Shvarov · May 20, 2023 Yes, this will work. But you also need to +1 for the "top" of the array to indicate the amount of params. I'd do the following: set arr($I(arr))=value in this case $I will increment the value at arr as arr=arr+1, and return it to let you enter the value of a new param
go to post Evgeny Shvarov · May 20, 2023 They are "special" :) and called locals for variables and globals for persisted variables. in case if you are in debug you can always print out the array with zwrite array_name. E.g. in your case: USER>zw args will print out all the data it contains. useful for understanding and debugging.
go to post Evgeny Shvarov · May 18, 2023 Please, give VSCode a try. Regarding of extensions, you can give students a repository with .vscode/extensions.json, that will already contain examples. E.g. here is how my extensions.json looks like: { "recommendations": [ "eamodio.gitlens", "georgejames.gjlocate", "github.copilot", "intersystems-community.servermanager", "intersystems-community.sqltools-intersystems-driver", "intersystems-community.vscode-objectscript", "intersystems.language-server", "mohsen1.prettify-json", "ms-azuretools.vscode-docker", "ms-python.python", "ms-python.vscode-pylance", "ms-vscode-remote.remote-containers" ] } This will not install extensions automatically, but they will be shown as recommended for the workspace, like that: Here is the template they can start from and here is an example extensions.json file.
go to post Evgeny Shvarov · May 16, 2023 thank you, @Pravin Barton ! Any feedback and issues are welcome! And kudos to @Gevorg Arutiunian who introduced it!
go to post Evgeny Shvarov · May 16, 2023 Thanks Brett! I will add the support of: Docker Git source control Github/Gitlub interactive plugins Embedded Python Co-pilot (when VScode writes ObjectScript for you instead of you) Full-functional IRIS Terminal And options to use 3rd-party plugins, e.g. from George James, @John Murray mentioned earlier.
go to post Evgeny Shvarov · May 16, 2023 Thanks @Michael Angeleri ! Do you plan to write a similar article related to Visual Studio Code? Just connecting it to the recent announcement.
go to post Evgeny Shvarov · May 16, 2023 What is the benefit of exporting to XML vs exporting to CLS?
go to post Evgeny Shvarov · May 15, 2023 Thanks Tim! How do you debug a particular unit test in VSCode?
go to post Evgeny Shvarov · May 14, 2023 @Alex Woodhead , do you know by a chance why unittest methods are instance methods but not classmethods? Could it be converted to classmethods or provided the option to do that?