imliam / vscode-inline-parameters

An extension for Visual Studio Code that adds inline parameter annotations when calling a function.
https://marketplace.visualstudio.com/items?itemName=liamhammett.inline-parameters
MIT License
196 stars 22 forks source link

Parameter names in nested properties #11

Open st-schneider opened 4 years ago

st-schneider commented 4 years ago

Is it possible to have the parameters resolution within another parameter? In the example Server has the parameter name resolved but the seeds function does not.

image
imliam commented 4 years ago

If you hover over the create text in the server.create() function, does it show information about the parameter names?

Nested functions like this should work and have in other scenarios I've tried.

st-schneider commented 4 years ago

here you go.

image
rgembalik commented 2 years ago

I know this issue is here for some time, but I have a similar problem and it's a much clearer example. I have a custom class, with a 3-param constructor: image

However, if I use that constructor inline within a different function, the params will not show: image