HaxeFoundation / intellij-haxe

Haxe plugin for IntelliJ Platform based IDEs (IDEA, Android-Studio)
http://intellij-haxe.org
Apache License 2.0
219 stars 100 forks source link

Feature request: Generate variables and methods #1173

Closed min-pascal closed 4 months ago

min-pascal commented 5 months ago

.. Like in the old Flash Builder days

min-pascal commented 5 months ago

Looking at closed issues this feature should already be there. I don't see any commands when running "Generate"

m0rkeulv commented 5 months ago

the feature is there for properties, but maybe you're looking for a getter/setter for normal variables ? image

image

min-pascal commented 5 months ago

I was hoping to be able to generate a member variable or function from an "Unresolved symbol"

min-pascal commented 5 months ago

.. being able to choose between member or local would also be nice

m0rkeulv commented 5 months ago

could you provide an example, i am not sure i understand the "Unresolved symbol" part. a before and after example would be helpful.

min-pascal commented 5 months ago

Something similar to the QuickFixes feature of FDT is what I am looking for

m0rkeulv commented 4 months ago

generate constructor, getters and setters should now work, i have also added quickfixes for unresolved symbols so you can easly generate, local variables, fields, methods and functions.