Folder import and compile reports missing User.* classes although compiling the open class succeeds

Aperta
#1,900 3 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@isc-bsaviano ci sta già lavorando.

Dal 6/11/2026.

  • #1899 di @isc-bsaviano — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Are you using client-side or server-side editing?: client-side

  • VS Code Version: 1.145.2
  • Extension Version: 3.8.7
  • OS: Windows 11 Pro
  • Server $ZVERSION (if applicable): IRIS for Windows (x86-64) 2025.1.5 (Build 685U) Thu Jul 9 2026 16:01:46 EDT
Steps to Reproduce
  1. Open my class (uses package import).
  2. Run Ctrl+F7 to compile the open file. It succeeds and reports that the class is up to date.
  3. Run Import and compile on folder on the containing folder.
  4. The operation reports errors for missing User.xyz* classes
Actual Result

Folder import and compile reports errors such as:

ERROR #16023: Unable to get text of User.CRequestStateTreated.cls
ERROR #16000: Line: 0 Offset: 0 Error #5531: Class 'User.CRequestStateTreated' does not exist.

Similar errors are reported for other User.CRequestState* classes.

Expected Result

Importing and compiling the selected folder should compile its classes without reporting missing User.* classes that are not part of that folder. The open class compiles successfully when compiled individually.

Additional Information

The class shown in the editor is Reg05.CRDS.States.CRequestStateTransferOrder. Screenshots of the successful single-file compile and the folder compile errors are attached.

Image
Lingua principale
TypeScript
Stelle
117
Fork
59
Merge medio
2g 8m
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intersystems-community/vscode-objectscript

Tutte le issue di intersystems-community/vscode-objectscript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.