Skip to content

Extend "Code Intentions": Constructor generation #573

@GhostInTheSteiner

Description

@GhostInTheSteiner

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions