LuaLS / LuaLS/lua-language-server
Question: is there any way to specify version of the platform?
未关闭
还没有人认领这个 Issue。
- 主要语言
- Lua
- 星标
- 4.4k
- 派生
- 442
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello, we heavily use annotations for our database https://tarantool.io/ and we add new functions and parameters with each minor release. Is there any legal way to specify version of the platform (like you use @version for Lua) since from which the method (or option of the class) is available?
For example:
---@meta
---@since 2.10.0
---@param key string
---@param value any
function box.broadcast(key, value) end
I think that openresty have the same issue, don't they?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看现有的 @version 注解行为以及 issue 中提议的 @since 语法。确定应如何表示 Tarantool 2.10.0 等平台版本,以及可用性检查应表示什么含义;完成内容应包括针对方法和类选项的统一方案。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100