consulo-csharp icon indicating copy to clipboard operation
consulo-csharp copied to clipboard

Extend "Code Intentions": Constructor generation

Open GhostInTheSteiner opened this issue 4 years ago • 0 comments

The code intentions for Consulo don't live up to their counterparts in other Jetbrains Products such as Rider. Those are all options (even though more intentions apparently work):

image

This is just a one-person project for the most part, so I'll restrict myself to a few intentions that are still lacking and that I personally consider important.

Create constructor intentions:

image

Allow the creation of a constructor on the ScriptLineParser class. Also allow overloads of the constructor.

Bonus points if the cursor doesn't need to be on the constructor-name for the tip to show up.

See this example of the currently working method generation for reference:

image (cursor is placed on the method name "Test3", just not visible)

image (cursor is placed on the class name "Test")

GhostInTheSteiner avatar Dec 19 '20 19:12 GhostInTheSteiner