mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add GDScript .editorconfig rules
- Uniformize `.gd` unit test files indentation to tabs (where needed)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user