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

Đang mở
#1,900 3 bình luận 1 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@isc-bsaviano đang làm issue này rồi.

Từ ngày 6/11/2026.

  • #1899 của @isc-bsaviano — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
Ngôn ngữ chính
TypeScript
Star
117
Fork
59
Merge trung bình
2 ngày 8 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của intersystems-community/vscode-objectscript

Tất cả issue của intersystems-community/vscode-objectscript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.