clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
235 stars 86 forks source link

Code generate settings #206

Closed vnedilko closed 9 years ago

vnedilko commented 9 years ago

Hi, Thanks for codegenerate feature, its great feature. Can it extends with settings? How i can make that functions generates after current function/region, variable generates in header after last variable?

public var1:Bool; //===insert generated variable here

function test():Void { test//ctrl+shift+1 function var testVar//ctrl+shift+1 variable }

//===insert generated function here

function anotherFunction():Void { }

ghost commented 9 years ago

Hi. Try to add this line to your user settings:

"haxe_fields_order" : "VvFf"

Which means this order:

Unfortunately, you can not disable the sorting and grouping of static fields.