Skip to content

Saving & Compiling is not refreshing the class in the editor #1675

@isc-adepedro

Description

@isc-adepedro

Hello,
we have discover the following issue when editing a class server-side:
After compiling a %Persistent class the class is not showing the Storage that is created at the bottom of the class. The Storage is indeed created, because if the editor tab of the class is closed and the class is opened again for editing, THEN the Storage is there.

(That behaviour is causing issues when used in conjunction with the Embedded-Git tool, because it is picking up the wrong changes in the commits.)

Note: That could be a timing issue (editing server side in a my local instance does not have that problematic, the class refreshes normally after being compiled. The issue appears connecting to a remote server). Although we have seen the behavior occurring also with a local instance.

  • VS Code Version: 1.100.3
  • Extension Version: 3.0.6
  • OS: MacOS 15.6.1
  • Server $ZVERSION (if applicable): IRIS 2024.1

*The issue also seen for example in VSCode-1.106.3 with ObjectScript-extension-3.2.0 in a Windows OS connecting to an IRIS 2025.1 instance

Steps to Reproduce:

  1. Add a server namespace to workspace (perhaps better if this is from a remote server)
  2. Create a new class
  3. Once the class opens, change the extension class for "%Persistent" and Save/Compile the class
  4. =The class does not reflect automatically the Storage section created on compilation

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions