{"id":20040997,"url":"https://github.com/emmylua/vscode-emmylua","last_synced_at":"2025-04-13T00:49:35.124Z","repository":{"id":42233610,"uuid":"126278608","full_name":"EmmyLua/VSCode-EmmyLua","owner":"EmmyLua","description":"Lua IDE/Debugger Plugin for VSCode","archived":false,"fork":false,"pushed_at":"2025-04-04T13:22:50.000Z","size":2439,"stargazers_count":671,"open_issues_count":13,"forks_count":96,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-13T00:49:30.750Z","etag":null,"topics":["emmylua"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmmyLua.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-22T04:16:50.000Z","updated_at":"2025-04-07T06:32:18.000Z","dependencies_parsed_at":"2024-05-05T16:32:39.629Z","dependency_job_id":"b2853f98-ac9c-4ee9-9788-c88cd13813a5","html_url":"https://github.com/EmmyLua/VSCode-EmmyLua","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmyLua%2FVSCode-EmmyLua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmyLua%2FVSCode-EmmyLua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmyLua%2FVSCode-EmmyLua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmyLua%2FVSCode-EmmyLua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmmyLua","download_url":"https://codeload.github.com/EmmyLua/VSCode-EmmyLua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650436,"owners_count":21139672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emmylua"],"created_at":"2024-11-13T10:44:51.955Z","updated_at":"2025-04-13T00:49:35.105Z","avatar_url":"https://github.com/EmmyLua.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](/res/logo.png)\n# EmmyLua for VSCode\n\nQQ交流群：`29850775` (最新版本以及部分视频演示在群文件中下载)\n\n[![Online EmmyLua Doc](https://img.shields.io/badge/emmy-doc-46BC99.svg?style=flat-square)](https://emmylua.github.io)\n[![donate](https://img.shields.io/badge/donate-emmy-FF69B4.svg?style=flat-square)](https://emmylua.github.io/donate.html)\n[![加入QQ群](https://img.shields.io/badge/chat-QQ群-46BC99.svg?style=flat-square)](//shang.qq.com/wpa/qunwpa?idkey=f1acce081c45fbb5670ed5f880f7578df7a8b84caa5d2acec230ac957f0c1716)\n\n[更新日志](CHANGELOG_CN.md)\n\n[CHANGELOG](CHANGELOG.md)\n\n[EmmyLua Langauge Server](https://github.com/CppCXY/emmylua-analyzer-rust)\n\n## FAQ (中文 \u0026 English)\n\n**Q (中文)**: vscode-emmylua 全家桶还有哪些？  \n**Q (English)**: Which other extensions are included in the vscode-emmylua suite?  \n**A (中文)**: [EmmyLuaCodeStyle](https://marketplace.visualstudio.com/items?itemName=CppCXY.emmylua-codestyle), [EmmyLuaUnity](https://marketplace.visualstudio.com/items?itemName=CppCXY.emmylua-unity)  \n**A (English)**: Install [EmmyLuaCodeStyle](https://marketplace.visualstudio.com/items?itemName=CppCXY.emmylua-codestyle) and [EmmyLuaUnity](https://marketplace.visualstudio.com/items?itemName=CppCXY.emmylua-unity)  \n\n**Q (中文)**: 为什么附加调试没有作用？  \n**Q (English)**: Why doesn't attach debugging work?  \n**A (中文)**: 调试会尝试获取进程中的 Lua 符号，因此需要进程导出 Lua 符号  \n**A (English)**: The debugger needs Lua symbols from the process, so the process must export them  \n\n**Q (中文)**: Emmy New Debug 为什么连不上目标？  \n**Q (English)**: Why does Emmy New Debug fail to connect?  \n**A (中文)**: 可能是插入代码 require 失败或返回 true，表明可执行文件未导出 Lua 符号  \n**A (English)**: Usually the injected require code fails or returns true, indicating missing Lua symbols  \n\n**Q (中文)**: 为什么打开项目后会有大量未定义变量警告？  \n**Q (English)**: Why do many undefined variable warnings appear after opening the project?  \n**A (中文)**: 未定义的全局变量会触发提示，可在项目根目录创建 .emmyrc.json 并禁用 undefined-global  \n**A (English)**: Undefined globals trigger warnings; create .emmyrc.json in your project root and disable undefined-global  \n\n**Q (中文)**: 我能否在其他平台使用 vscode-emmylua 的代码分析？  \n**Q (English)**: Can I use vscode-emmylua’s code analysis on other platforms?  \n**A (中文)**: 可以，它基于 [emmylua-analyzer-rust](https://github.com/CppCXY/emmylua-analyzer-rust)，兼容支持 LSP 的客户端  \n**A (English)**: Yes, it uses [emmylua-analyzer-rust](https://github.com/CppCXY/emmylua-analyzer-rust), which is a standard LSP  \n\n**Q (中文)**: 为什么不用 VSCode 配置，而是用 .emmyrc.json？  \n**Q (English)**: Why use .emmyrc.json instead of VSCode settings?  \n**A (中文)**: 方便在其他平台上使用，无需在每个 IDE 中重复配置  \n**A (English)**: It works across platforms without extra IDE configuration  \n\n**Q (中文)**: 为什么用 Rust 重写语言服务器？放弃.net和java语言服务器 \n**Q (English)**: Why rewrite the language server in Rust? and abandon the .NET and Java servers?\n**A (中文)**: 因为我想试试 rust\n**A (English)**: I want to try rust\n\n**Q (中文)**: 为什么没有文档？  \n**Q (English)**: Why is there no documentation?  \n**A (中文)**: 配置文件文档见 https://github.com/CppCXY/emmylua-analyzer-rust/blob/main/docs/config/emmyrc_json_CN.md  \n**A (English)**: See configuration docs at https://github.com/CppCXY/emmylua-analyzer-rust/blob/main/docs/config/emmyrc_json_EN.md  \n\n## FAQ – Debugging (中文 \u0026 English)\n\n**Remote Debug Setup (中文)**  \n1) 在 VSCode 中打开 Lua 文件  \n2) 插入调试库路径并 require  \n3) 在需要断点处添加 dbg.waitIDE(); dbg.breakHere()  \n4) 运行外部程序等待连接  \n5) 启动 “EmmyLua New Debug” 与目标调试  \n\n**Remote Debug Setup (English)**  \n1) Load your Lua file in VSCode  \n2) Inject the debugger path and require it  \n3) Add dbg.waitIDE(); dbg.breakHere() where you want to break  \n4) Run your external program, which waits for a debugger  \n5) Launch “EmmyLua New Debug” to connect and debug  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmylua%2Fvscode-emmylua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmylua%2Fvscode-emmylua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmylua%2Fvscode-emmylua/lists"}