Add GDScript .editorconfig rules
- Uniformize `.gd` unit test files indentation to tabs (where needed)
This commit is contained in:
parent
91713ced81
commit
44d1d72af1
25 changed files with 232 additions and 222 deletions
|
|
@ -1,4 +1,5 @@
|
|||
enum MyEnum { VALUE_A, VALUE_B, VALUE_C = 42 }
|
||||
|
||||
func test():
|
||||
const P = preload("../features/enum_value_from_parent.gd")
|
||||
var local_var: MyEnum
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
class A:
|
||||
class B:
|
||||
func test():
|
||||
print(A.B.D)
|
||||
class B:
|
||||
func test():
|
||||
print(A.B.D)
|
||||
|
||||
class C:
|
||||
class D:
|
||||
pass
|
||||
class D:
|
||||
pass
|
||||
|
||||
func test():
|
||||
var inst = A.B.new()
|
||||
inst.test()
|
||||
var inst = A.B.new()
|
||||
inst.test()
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
func test() -> void:
|
||||
return null
|
||||
return null
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
func test() -> void:
|
||||
var a
|
||||
a = 1
|
||||
return a
|
||||
var a
|
||||
a = 1
|
||||
return a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue