CodeGenerator icon indicating copy to clipboard operation
CodeGenerator copied to clipboard

Can't generate for class in class

Open huynguyencong opened this issue 5 years ago • 0 comments
trafficstars

I have class B in class A. I would like to generate for class B, but it is only generate for class A, even I put the cursor in class B. Please make it available. Thank you.

class A {
	class B {
		var propertyB1: Bool?
		var propertyB2: String?
// I put cursor here then go to menu to generate init function, but it generate for class A, not class B
	}

	var propertyA1: Bool?
	var propertyA2: String?
}

huynguyencong avatar May 19 '20 08:05 huynguyencong