LuaLS / LuaLS/lua-language-server
Feature: Allow for configurable set of recognized lua file extensions
未关闭
还没有人认领这个 Issue。
question
- 主要语言
- Lua
- 星标
- 4.4k
- 派生
- 442
- PR 合并指标
- 30 天内没有已合并 PR
描述
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Other
Expected Behaviour
It would be nice if the extension could recognize files as lua based on a set of configurable extensions.
Actual Behaviour
Currently, it seems to only recognize files with .lua as their extension as lua files.
Reproduction steps
Create a lua file with a different extension, open the file in VSCode. The editor has no idea the file is lua.
Additional Notes
No response
Log File
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
通过打开一个扩展名不是 .lua 的 Lua 文件并确认它未被识别,复现 Visual Studio Code 扩展中的行为。跟踪文件语言识别和扩展配置的入口点,然后验证用户可以配置一组扩展,并且这些文件会获得 Lua 语言支持。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua, vscode
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100