Is there a way to create or refactor a class property when I am writing a function? For example, if I want to have "someFlag" as a variable in my function, can IntelliJ create the declaration "private var _someFlag:Boolean"? Can I convert a function variable, "var someFlag:Boolean=false" to a class property?
↧