LuaLS / LuaLS/lua-language-server
Feature Request: Option for hexadecimals to not be displayed as decimals on mouseover
未关闭
还没有人认领这个 Issue。
- 主要语言
- Lua
- 星标
- 4.4k
- 派生
- 442
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently if you have defined a number like this for example:
WS_BORDER = 0x00800000
Hovering over WS_BORDER displays:
(global) WS_BORDER : integer = 8388608
Would it be possible to add an option so that numbers that are not defined as decimals are not resolved to decimals when hovering over them? I. e. :
(global) WS_BORDER : integer = 0x00800000
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 没有指出任何文件、测试或入口点。首先定位 hover 显示逻辑和配置选项,然后跟踪十六进制字面量的表示方式;完成的标准是提供一个选项,在不改变十进制字面量的情况下,为 hover 结果保留十六进制格式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua
- 领域
- developer-experience
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100