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

未关闭
#1,900 3 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@isc-bsaviano 已经在做这个了。

开始于 2026年11月6日。

  • #1899 来自 @isc-bsaviano —— 已合并

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
TypeScript
星标
117
派生
59
平均合并
2 天 8 分钟
30 天内合并 PR
11

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

intersystems-community/vscode-objectscript 的其他 Issue

查看 intersystems-community/vscode-objectscript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。