microsoft / microsoft/TypeScript
Questionable code lenses for object type members on a single line
Open
@DanielRosenwasser is already working on this.
Since Mar 27, 2026.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
```tsx
export function someFunc(options: { x: string, y: string, z: string }) {
}
```
This creates 4 references code lenses. We probably don't want to provide code lenses when the parent start/end is on the same line, or when a sibling element is on the same line.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.