Hi,

It seems that is a problem with your VS Code.

Could you check that you have updated the Intersystems ObjectScript extensions?

https://marketplace.visualstudio.com/items?itemName=intersystems-communi...

When you save and compile your code, in the case of a persistent class, it adds the SQLMap, but it is retrieve in this moment.

Check your configuration, I have setted the following one:

Intersystems ObjectScript

✔ Auto Adjust Name

✔ Compile Flags: cuk

 Compile On Save

And this configuration of export in .code-workspace

"objectscript.export": {
	"folder": "src",
	"addCategory": false,
	"map": {},
	"atelier": true,
	"generated": false,
	"filter": "",
	"exactFilter": "",
	"category": "*",
	"noStorage": false,
	"dontExportIfNoChanges": false,
	"maxConcurrentConnections": 0,
	"mapped": true
}

Let me know if it works

Best Regads