Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Cannot tell from the documentation how to create ctor from properties #29

Open
klmcwhirter opened this issue May 21, 2017 · 4 comments
Open

Comments

@klmcwhirter
Copy link

How are you causing the context menu to come up that has the Create Constructor from Properties option? There is no indication in the README.

If you are doing Right-Click then I do not see that option. I see the standard context menu.

Command-. does nothing in the context you show. I have no lightbulb on that line.

How should I be using this extension?

@jared83
Copy link

jared83 commented Aug 29, 2017

Same here! I am using it on a Windows 10 machine. No clue how to trigger this extension-specific context menu.
Also is there a way to edit the templates that are generating the code?
Please Help.

@dlumpp
Copy link

dlumpp commented Sep 20, 2017

Figured it out. It's the default "lightbulb" shortcut. Ctrl+. works for me.

@klmcwhirter
Copy link
Author

@dlumpp - where is the "lightbulb" shortcut? On which line of source do you have the caret?

I have tried every line in the file and am not getting the lightbulb or when I do there is no Create Constructor from Properties menu item.

@dlumpp
Copy link

dlumpp commented Sep 24, 2017

@klmcwhirter - I don't actually see the light bulb appear. I have the cursor just after the last constructor parameter, then use the Quick Action keyboard shortcut.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants