Article John Murray · Jan 29, 2021 1m read How to make new VS Code files default to the language you want On a default VS Code installation, when you create a new file its language mode is 'Plain Text' You have to click there to set another mode. Luckily, there's a setting you can tweak to change this. It is called files.defaultLanguage Set it to the ID of the language you want. Those IDs display in parentheses after each entry on the language mode selector. #VSCode #Other 3 1 1 2.6K
Announcement John Murray · Jan 25, 2021 VS Code Day - The first official Visual Studio Code Event by Microsoft Coming up this Wednesday (27th January 2021), two and a half hours of online sessions by members of the product team at Microsoft. Join the Visual Studio Code team and community at a live event just for VS Code users. Get a glimpse of things to come and meet the team who works on VS Code every day. It's free, starts at 8am PST, and sessions will be available for replay after the event. https://code.visualstudio.com/vscode-day #VSCode #Other 3 0 0 268
Article John Murray · Oct 27, 2020 2m read Using InterSystems ObjectScript for VS Code - How to report issues Now that 1.0 has shipped and is featuring in various sessions at Virtual Summit 2020 it seems like a good time to offer some guidance on how to report problems. #Development Environment #VSCode #InterSystems IRIS 4 0 0 679
Announcement John Murray · Oct 26, 2020 VS Code Extension Pack for ObjectScript development is now available Today we are pleased to publish a new extension pack for Visual Studio Code. This pack provides a convenient way to install and manage a set of extensions which together make VS Code a great tool for ObjectScript developers. #VSCode #InterSystems IRIS Open Exchange app 3 0 2 525
Article John Murray · Oct 25, 2019 1m read Gotcha when roundtripping Zen classes in UDL format using %Compiler.UDL.TextServices on Unix-type platforms before 2018.1 When dealing with a support issue of one of our Deltanji source control sites this week I learned that if you're using InterSystems versions earlier than 2018.1 on Unix-type platforms it's possible that a class you export in UDL format will subsequently fail to import. So I'm posting this information here in case it helps other folk. #Compiler #Tools #ZEN #Caché 0 0 0 292
Announcement John Murray · Sep 20, 2019 Evaluate Serenji for Visual Studio Code direct from your web browser In time for InterSystems Global Summit 2019 we at George James Software are pleased to offer a cloud-hosted evaluation environment where you can work with Serenji in Visual Studio Code, editing and debugging ObjectScript in a sandbox running InterSystems IRIS 2019.3 Community edition. You can do it all from your web browser. Nothing will be installed on your workstation, nor will any settings have to be changed on it. To take Serenji for a test drive please visit https://georgejames.com/dc-gitpod #Debugging #Development Environment #George James Software #VSCode #Caché #Ensemble #HealthShare #InterSystems IRIS #InterSystems IRIS for Health Open Exchange app 2 2 1 374
Announcement John Murray · Sep 6, 2019 Use Serenji to debug your REST service classes in Visual Studio Code We've just published an update to the Serenji extension for VS Code. Starting with this version (3.0.7) you can now debug the code that implements your REST services. Here's a taster: Read more about Serenji on Open Exchange. #Debugging #Development Environment #George James Software #REST API #VSCode #Caché #Ensemble #HealthShare #InterSystems IRIS #InterSystems IRIS for Health Open Exchange app 4 0 2 524
Announcement John Murray · Apr 1, 2019 Serenji debugger and editor now available for Visual Studio Code We at George James Software are pleased to announce that our acclaimed code debugger and editor Serenji is now available as a Visual Studio Code extension. As well as supporting the latest InterSystems IRIS platform Serenji also works with earlier platforms, including versions lacking the server-side Atelier API support required by other VS Code extensions. Serenji connects you directly to the code in your namespaces, resulting in an experience more familiar to existing Studio users. No need to export and import classes and routines. We believe Serenji is the first extension to bring VS Code's powerful debugging features to ObjectScript developers. #Debugging #Development Environment #George James Software #VSCode #Open Exchange Open Exchange app 5 13 3 1.4K
Announcement John Murray · Jan 14, 2019 Seeking field testers for an upcoming VSCode extension from George James Software At the George James Software booth at Global Summit last year we took the wraps off the work we've been doing to make our popular editing and debugging tool Serenji available on the Visual Studio Code platform. Rather than requiring you to pull code from your namespaces into local files, then push the changes back to the namespace to run it, you work directly in the namespace. In other words, the editing experience is like Studio rather than like Atelier. As well as editing code you can also debug it directly from VSCode. #Debugging #Development Environment #George James Software #VSCode #Caché #InterSystems IRIS 3 12 1 860
Question John Murray · Oct 2, 2018 Can I compile a class without using worker jobs? Using our cool new debugging extension for Visual Studio Code I'm trying to debug a CreateProjection method of a class, but when I compile it the work apparently gets done in one of the worker jobs, so my breakpoint never triggers.Is there a compiler flag or qualifier to force the compilation to be done in-process rather than getting handed off to a worker job? #Compiler #Debugging #Object Data Model #Caché 2 4 0 504
Announcement John Murray · Sep 21, 2018 George James Software lunchtime meeting at Global Summit 2018 If you are attending Global Summit 2018 please be sure to say hello to George James Software in the Partner Pavilion.You are also invited to the informal lunchtime meeting we're hosting at Global Summit on Tuesday 2nd October from 1pm in Indian Paintbrush, a meeting room at the conference venue. We will be previewing the next versions of Deltanji, our integrated source code management solution, and Serenji, our editor and debugger. #Change Management #Debugging #Deployment #Development Environment #Global Summit 2018 #Summit 10 0 0 374
Announcement John Murray · May 25, 2018 Atelier 1.2 has landed! Just now when I started up my Eclipse I was offered an Atelier update. After waiting for so long, how could I possibly refuse? Wish me luck! 1 8 0 581
Article John Murray · May 3, 2018 4m read The (somewhat limited) value of 'ccontrol default' If you have ever issued the command ccontrol help to discover what ccontrol is capable of, perhaps you noticed this section:Syntax: ccontrol defaultDescription: Display the name of the default Cache instance, if one has been designated. #Caché #Ensemble #System Administration 0 2 1 725
Question John Murray · Feb 13, 2018 Do you always use unique names for class members? Documentation here lists the kinds of members a class definition may contain. In summary:ParametersMethodsPropertiesClass queriesXData blocksProjections(and some that are relevant only for persistent classes):Storage definitionsIndicesForeign keysSQL triggersLater in the same document, a section headed "Class Member Names" contains this warning: #Coding Guidelines #Object Data Model #Caché 2 7 0 401
Article John Murray · Feb 8, 2018 1m read Atelier security quirk When defining a server connection in Atelier we are required to enter a username and password because these are mandatory fields in the dialog. However, if the /api/atelier web application definition on that server has only the "Unauthenticated" checkbox set in the section titled "Allowed Authentication Methods", then our Atelier connection will succeed even if we supply an invalid username and/or password. #Caché #Ensemble #Security 2 6 0 720
Question John Murray · Jan 30, 2018 Compilation qualifier /checkuptodate -- What is an "expanded class"? In part of this post in 2016 @Eduard Lebedyuk asked if anyone knew what is meant by an "expanded class", as referred to in the text that appears when we run the ShowQualifiers classmethod of %SYSTEM.OBJ thus:SAMPLES>DO $system.OBJ.ShowQualifiers()... Name: /checkuptodate Description: Skip classes or expanded classes that are up-to-date. #Compiler #Object Data Model #Caché 0 3 0 493
Article John Murray · Jan 17, 2018 1m read Observations about DC homepage views On the homepage that we get when we go to https://community.intersystems.com/ there are three views, controlled by a set of buttons in the upper right:Above is with the default view (the "house", i.e. the "home"). #DC Feedback 2 1 0 262
Question John Murray · Nov 29, 2017 What is the significance of the "Production Name" attribute of an Ensemble Rule? On the "General" tab of the Rule Editor there's a field called "Production Name". The doc says (my emphasis):The name of the production in which you expect to use this routing rule.Does anyone know where this value is used?Is it safe to set this field blank? #Ensemble #Business Rules 0 4 0 342
Question John Murray · Nov 9, 2017 Where can we obtain the code written for a generated method? When a class containing a method generator is compiled, the code that implements the method at runtime is written according to the instructions in the method definition. #Compiler #Object Data Model #Caché 0 6 0 636
Article John Murray · Oct 9, 2017 1m read Preventing a production from running in the wrong environment When implementing our Deltanji source control product on Ensemble or HealthShare sites I sometimes encounter places that implement multiple production classes, e.g. one for their DEV environment and another for their LIVE one. #Ensemble 5 1 0 321