From a199caceddca2046776a6b5e8361d3ea62809d5d Mon Sep 17 00:00:00 2001 From: RobertvanderHulst <14240939+RobertvanderHulst@users.noreply.github.com> Date: Mon, 16 Nov 2026 18:33:34 +0000 Subject: [PATCH] [Doc] Update VersionHistory.xml with changes since 3e59a0f Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/Help/Topics/VersionHistory.xml | 19 +++++++++++++++++++ docs/Help_ZH-CN/Topics/VersionHistory.xml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/docs/Help/Topics/VersionHistory.xml b/docs/Help/Topics/VersionHistory.xml index 698ecd162d..9062fdb848 100644 --- a/docs/Help/Topics/VersionHistory.xml +++ b/docs/Help/Topics/VersionHistory.xml @@ -36,6 +36,8 @@
  • Fixed an IndexOutOfRangeException in the compiler when analyzers and .editorconfig files are used (#2098)
  • Fixed an issue with _DLL FUNCTION with PSZ arguments in .Net 5 or later (#2097)
  • Fixes two issues when including C# files in the source files for X# (#2151 and #2153)
  • +
  • Fixed an issue when assigning a lambda expression to a variable declared as USUAL or OBJECT. A lambda without a real target type is now converted to its natural delegate type (Func<...> or Action<...>) first and that delegate is then converted to the destination type
  • +
  • Fixed random XS0266, XS1503 and XS0121 errors when compiling with /vo4 caused by the SuppressVo4 setting being shared between compiler threads (#2173)
  • Build System @@ -44,6 +46,7 @@
  • Output folders are now excluded from the default globs
  • Prevent automatic setting from Windows platform for SDK projects
  • The Rules folder with XAML files is now included to support the new Rules based property dialog for SDK style projects
  • +
  • The shared compiler is no longer started inside Visual Studio, so XsCompiler.exe is not locked by the IDE
  • Runtime New Features @@ -55,6 +58,7 @@
  • Added _TALLY support for COUNT, REPLACE, DELETE, RECALL, SUM and AVERAGE (#2062, #2074)
  • Expanded VFP database support with CLOSE DATABASES/CLOSE TABLES and DBC commands such as ADD TABLE, REMOVE TABLE and RENAME TABLE, plus support for long DBC field names
  • Expanded XSharp.VFP.UI with ON KEY LABEL support, FormSet constructors, additional control properties, dynamic colors, and broader Grid and Menu support
  • +
  • Implemented the VFP functions CNTBAR() and CNTPAD() (#2172)
  • Bug Fixes @@ -76,6 +80,10 @@
  • SET EXACT ON in the VFP Dialect now ignores trailing blanks (#2160)
  • CURDIR() in the VFP dialect returns the directory formatted as in VFP (#2160)
  • Fixed STRTOFILE() additive clause for files that do not exist  (#2160)
  • +
  • DELETE FROM without a WHERE clause now deletes every record (#2167)
  • +
  • CursorAdapter.DataSource in XSharp.VFP.UI now accepts non-string values (#2169)
  • +
  • DELETE and RECALL with the IN clause now accept the clauses in any order (#2174)
  • +
  • SET PATH TO with the ADDITIVE clause now adds the folders to the existing path (#2175)
  • Visual Studio Integration New Features @@ -95,6 +103,10 @@
  • Added support for Renaming types and members (#2154)
  • Added support for Navigate To  (Ctrl-T) for types and members (#2155) (only in VS2022 and later)
  • Added support for Goto Implementation types and members (#2156)
  • +
  • Added Inlay hints for parameter names and VAR types (#2164)
  • +
  • Added Quick actions to add a USING statement, generate a method, generate overrides and convert a field to a property (#2166)
  • +
  • Goto Definition now also works for types and members in the C# and VB projects of the solution. F12 picks the correct overload (#2170)
  • +
  • The Code Search window (Ctrl-T) now shows a preview for X# results and the preview no longer takes the focus (#2171)
  • Bug Fixes @@ -111,6 +123,13 @@
  • For multi-targeting projects Goto Definition could show the same definition twice. This has been solved
  • Fixed some issues when switching between Sqlite databases engines for the intellisense database. We now delete the database after changing the engine, so it will be rebuilt when the solution is reloaded.
  • Fixed an issue with Goto Definition for partial classes in other projects (#2110)
  • +
  • Fixed the Find References target selection after combining Find All References and Goto Implementation (#2161)
  • +
  • The Rename dialog is now implemented in XAML and renaming a file in the project tree no longer throws an exception (#2163)
  • +
  • Fixed the WinForms Designer shadow project: form events are now migrated from C# to X#, stale references to the shadow designer project were removed and the C# form is saved to X# before debugging starts
  • +
  • SDK style projects now also add references to projects in other languages to the code model
  • +
  • The error squiggle now has the length of the token at the error position
  • +
  • Fixed an exception for an incomplete VAR statement
  • +
  • The IDE no longer uses EnvDTE to find the startup project
  • VFPExporter New Features diff --git a/docs/Help_ZH-CN/Topics/VersionHistory.xml b/docs/Help_ZH-CN/Topics/VersionHistory.xml index cb7edf0c79..c2de3576e1 100644 --- a/docs/Help_ZH-CN/Topics/VersionHistory.xml +++ b/docs/Help_ZH-CN/Topics/VersionHistory.xml @@ -37,6 +37,8 @@
  • 修复了 .NET 5 及更高版本中带 PSZ 参数的 _DLL FUNCTION 相关问题(#2097)
  • 修复了在 X# 源文件中包含 C# 文件时出现的两个问题(#2151 和 #2153)
  • +
  • 修复了将 lambda 表达式赋值给声明为 USUAL 或 OBJECT 的变量时的问题。没有实际目标类型的 lambda 现在会先转换为其自然委托类型(Func<...> 或 Action<...>),然后再将该委托转换为目标类型
  • +
  • 修复了使用 /vo4 编译时由于 SuppressVo4 设置在编译器线程之间共享而导致的随机 XS0266、XS1503 和 XS0121 错误(#2173)
  • 构建系统 @@ -45,6 +47,7 @@
  • 输出文件夹现已从默认通配符中排除
  • 防止 Windows 平台对 SDK 项目进行自动设置
  • 现已包含一个包含 XAML 文件的“Rules”文件夹,以支持 SDK 风格项目中基于规则的新属性对话框
  • +
  • 不再在 Visual Studio 内部启动共享编译器,因此 XsCompiler.exe 不会被 IDE 锁定
  • 运行时 新功能 @@ -56,6 +59,7 @@
  • 为 COUNT、REPLACE、DELETE、RECALL、SUM 和 AVERAGE 添加了 _TALLY 支持(#2062、#2074)
  • 通过 CLOSE DATABASES/CLOSE TABLES 以及 ADD TABLE、REMOVE TABLE 和 RENAME TABLE 等 DBC 命令扩展了对 VFP 数据库的支持,并支持长 DBC 字段名
  • 扩展了 XSharp.VFP.UI,支持 ON KEY LABEL、FormSet 构造函数、额外的控件属性、动态颜色,以及更广泛的网格(Grid)和菜单(Menu)支持
  • +
  • 实现了 VFP 函数 CNTBAR() 和 CNTPAD()(#2172)
  • 错误修复 @@ -79,6 +83,10 @@
  • VFP 方言中的 SET EXACT ON 现在会忽略尾随空格(#2160)
  • VFP 方言中的 CURDIR() 函数返回的目录格式与 VFP 一致 (#2160)
  • 修复了针对不存在的文件的 STRTOFILE() 附加子句(#2160)
  • +
  • 不带 WHERE 子句的 DELETE FROM 现在会删除所有记录(#2167)
  • +
  • XSharp.VFP.UI 中的 CursorAdapter.DataSource 现在接受非字符串值(#2169)
  • +
  • 带 IN 子句的 DELETE 和 RECALL 现在可以按任意顺序接受各子句(#2174)
  • +
  • 带 ADDITIVE 子句的 SET PATH TO 现在会将文件夹添加到现有路径中(#2175)
  • Visual Studio 集成 新功能 @@ -100,6 +108,10 @@
  • 新增对重命名类型和成员的支持(#2154)
  • 新增对类型和成员的转到(Ctrl-T)功能的支持(#2155)(仅限 VS2022 及更高版本)
  • 新增对类型和成员的转到实现功能的支持(#2156)
  • +
  • 新增内联提示(Inlay hints),显示参数名称和 VAR 类型(#2164)
  • +
  • 新增快速操作(Quick actions):添加 USING 语句、生成方法、生成重写以及将字段转换为属性(#2166)
  • +
  • 转到定义现在也适用于解决方案中 C# 和 VB 项目里的类型和成员,F12 会选择正确的重载(#2170)
  • +
  • 代码搜索窗口(Ctrl-T)现在会显示 X# 结果的预览,并且预览不再抢占焦点(#2171)
  • 错误修复 @@ -124,6 +136,13 @@
  • 修复了其他项目中部分类的“转到定义”功能存在的问题(#2110)
  • +
  • 修复了合并“查找所有引用”和“转到实现”之后“查找引用”的目标选择问题(#2161)
  • +
  • “重命名”对话框现在使用 XAML 实现,在项目树中重命名文件不再引发异常(#2163)
  • +
  • 修复了 WinForms 设计器影子项目的问题:窗体事件现在会从 C# 迁移到 X#,清理了对影子设计器项目的过期引用,并且在调试开始前会将 C# 窗体保存为 X#
  • +
  • SDK 风格项目现在也会将对其他语言项目的引用添加到代码模型中
  • +
  • 错误波浪线现在与错误位置处标记(token)的长度一致
  • +
  • 修复了不完整的 VAR 语句引发的异常
  • +
  • IDE 不再使用 EnvDTE 来查找启动项目
  • VFPExporter 新功能