consulo / consulo-csharp

Languages: C#
Apache License 2.0
50 stars 6 forks source link

Extend "Code Intentions": Class generation #572

Open GhostInTheSteiner opened 3 years ago

GhostInTheSteiner commented 3 years ago

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 Class intentions:

image

Options:

  1. In another file (by default in the same folder, if possible open a dialog and allow the user to select the directory)
  2. In the same file

Bonus points if the cursor doesn't need to be on the highlighted class 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")