microsoft / microsoft/TypeScript

is it possible to make VScode's parameter suggestions more readable?

Open
#52,512 10 comments 0 reactions 1 assignee View on GitHub

@mjbvz is already working on this.

Since Feb 4, 2023.

Needs Proposal Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
1d 19h
Merged PRs (30d)
117

Description

This may be a question rather than a feature request (I imagine it's a fairly common problem) but I can't seem to find anything re: configuring this.

Currently VScode shows type hints on very, very wide lines:
enter image description here

It's hard for me to work out what value I am setting or each of the long list of parameters. Instead of:

getOrCreateAssociatedTokenAccount(connection: Connection, payer: Signer, mint: PublicKey, owner: PublicKey, allowOwnerOffCurve?: boolean, commitment?: Commitment, confirmOptions?: ConfirmOptions, programId?: PublicKey, associatedTokenProgramId?: PublicKey): Promise<...>

It would nicer to have something like:

getOrCreateAssociatedTokenAccount(
  connection: Connection, 
  payer: Signer, 
  mint: PublicKey, 
  owner: PublicKey, 
  allowOwnerOffCurve?: boolean, 
  commitment?: Commitment, 
  confirmOptions?: ConfirmOptions, 
  programId?: PublicKey, 
  associatedTokenProgramId?: PublicKey
):  Promise<...>

How can I make VScode's type suggestions more readable? I'm hoping for something I can tweak in IntelliSense settings etc.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.