On Mon, Mar 7, 2016 at 3:25 PM, Ondrej Pokorny <laza...@kluug.net> wrote:
> I implemented "class code creation" in r51851. I was already tired of > creating/copying object variables by hand. The idea is the same as with > code creation (ctrl+shift+c), but the variable is created in one of the > class section: > > procedure TClass.Test(y: integer); > begin > x| := y; > end; > > how about inline notation. procedure TClass.Test(y: integer); begin x pvt| := y; end; or procedure TClass.Test(y: integer); begin x private|:= y; end; hit ctrl+shift+x type TClass = class private x: Integer; procedure Test(y: integer); end; implementation { TClass } procedure TClass.Test(y: integer); begin x |:= y; end; Eventually people will know the dialog well, so selecting the needed item in the dialog might be painful. As well as adding more items to the dialog (by further IDE improvement) will frustrate users. thanks, Dmitry
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus