Ionide-vscode-fsharp: Signature-as-code-lens should not show argument names

Created on 5 Oct 2016  路  10Comments  路  Source: ionide/ionide-vscode-fsharp

It's just a mess:

image

enhancement

Most helpful comment

Released in 2.6.3
image

All 10 comments

Two options I could see there:

  1. Add signature as popup when hover over method definition or call.
  2. Add settings key to show / hide signature as code lens.

You get full signature in tooltip when you hover mouse cursor over definition or call.
And also printed in bottom "quick info" bar when you put text cursor over definition or call.

@Horusiath I'm afraid you don't understand what I was talking about. I suggested to remove parameters _name_ from the signature, not the signature itself (so signatures would be like ones in Haskell).

fwiw I agree that the argument names add superfluous noise, and would prefer to see only the types.

if this causes too big of a divide at least make it a user settable option.

Initially i disagreed with this proposal, but after taking a quick look to my codebase with code lens I must say I agree with @vasily-kirichenko here.

When it comes to code lens signatures, I would remove variable names. However, I wouldn't touch how the mouse-over works currently (showing variable names).

agree with taimila.

I agree. You already see the variable names anyway, so removing them will make it a bit cleaner.

+1 For removing argument name.

Released in 2.6.3
image

Add settings key to show / hide signature as code lens.

Is this possible at the moment?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lilred picture lilred  路  6Comments

gsomix picture gsomix  路  6Comments

isaacabraham picture isaacabraham  路  4Comments

landy picture landy  路  5Comments

cartermp picture cartermp  路  4Comments