🧩 feat: 支持从线程调用栈进行强力搜索

This commit is contained in:
TheWhiteDog9487
2026-09-15 11:31:32 +08:00
parent e0af7c05eb
commit 863bcfd0e2
9 changed files with 111 additions and 6 deletions
@@ -13,8 +13,11 @@
"option.ShowKeybindID.description": "Display the keybind's own ID in the tooltip",
"option.ShowDebugInfo": "Show Debug Info",
"option.ShowDebugInfo.description": "This information is used to troubleshoot issues related to this mod; it generally does not need to be enabled",
"option.SearchInStackTrace": "Enable aggressive search via stack trace lookup",
"option.SearchInStackTrace.description": "Injects into the KeyMapping class constructor and queries the current thread's call stack each time a keybind is registered for aggressive matching\nWarning: In some cases, this may produce more false positives; enable as needed",
"tooltip.provided_by": "Provided by: %s",
"tooltip.provider_mod_id": "Provider Mod ID: %s",
"tooltip.key_id": "Keybind ID: %s",
"special_provider_UNKNOWN": "Unknown"
"tooltip.mod_file_path": "Mod File Path: %s",
"special_string_UNKNOWN": "Unknown"
}
@@ -13,8 +13,11 @@
"option.ShowKeybindID.description": "在提示信息中显示该按键本身的ID",
"option.ShowDebugInfo": "是否显示调试信息",
"option.ShowDebugInfo.description": "这些信息用于出现和本Mod相关的问题时进行排查,一般情况下不需要开启",
"option.SearchInStackTrace": "是否要通过查询堆栈信息来进行强力搜索",
"option.SearchInStackTrace.description": "注入KeyMapping类的构造函数,在每次注册按键绑定时查询线程的调用栈信息来进行强力匹配\n警告:部分情况下可能产生更多误报,请按需选择",
"tooltip.provided_by": "提供者:%s",
"tooltip.provider_mod_id": "提供者ID%s",
"tooltip.key_id": "键位ID%s",
"special_provider_UNKNOWN": "未知"
"tooltip.mod_file_path": "Mod文件路径:%s",
"special_string_UNKNOWN": "未知"
}