WurstScript icon indicating copy to clipboard operation
WurstScript copied to clipboard

make a help for getter and setter function

Open PhoenixZeng opened this issue 5 years ago • 4 comments

class aaa
   int index

   function setI //when i write this . the `setIndex(int index) ...` on the `Intelligent association`(is that called this?) to `Automatic completion?` will be helpful

PhoenixZeng avatar Oct 29 '18 10:10 PhoenixZeng

I think the easier and more comfortable way would be to offer a quickfix for private variables, to generate a setter and a getter function automatically.

Frotty avatar Nov 08 '18 18:11 Frotty

If you are used to IntelliJ you want both ;)

peq avatar Nov 08 '18 19:11 peq

yes .i use IntelliJ for work now

PhoenixZeng avatar Nov 08 '18 20:11 PhoenixZeng

well .and generate the noargconstruct and allarg... function automatically.

PhoenixZeng avatar Nov 14 '18 21:11 PhoenixZeng