Inlay Visibility

Answered

Is it possible to have inlay hints visibile when the arguments to a function are variables vs primitives? For example

 

func Test (foo string) string {
	return foo
}

Will show type hints when called like

Test("hello") //foo:"hello"

However 

input := "hello"
Test(input)

Just does not show the hint for foo. This would be really useful to have always on.

0
1 comment
Official comment

Hi,

Feel free to follow GO-3029.

Please sign in to leave a comment.