microsoft / microsoft/TypeScript
Boolean intellisense
未关闭
还没有人认领这个 Issue。
Awaiting More Feedback
Suggestion
- 主要语言
- Go
- 星标
- 111k
- 派生
- 14.3k
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 132
描述
Intellisense is great for things like typeof, so why not make it great for boolean types too!
I think adding intellisense for booleans saves a bit of typing, and it still hasn't been implemented.
Look at this:
const a = (): boolean => true;
a() === // [true, false] intellisense prompt
const b = a();
if (b === /* [true, false] intellisense prompt*/)
I think this would be a great addition to Intellisense. Any feedback is appreciated.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
issue 中没有指定文件或测试。首先在编辑器中复现布尔比较示例,并跟踪现有的 typeof 补全行为;完成的标准是布尔表达式提供 true/false 补全,并且测试覆盖所展示的两个示例。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100