Jens Fischer

Results 175 issues of Jens Fischer

It looks like "doc comments" at block level also enforce an empty line - I think this was only meant to be done on field and/or type level? (doc comments...

bug
emptylines

**Input file** ```haxe class Main { static function main() { #if (haxe_ver < "4.0.0") if (Std.is(data, Access)) #else if (Std.is(data, Xml)) #end { source = data; } else if (Std.is(data,...

bug
indentation

**Describe the bug** This seems broken - for single-line try-catch expressions, the setting should probably not apply? **Input file** ```haxe class Main { static function main() { var applicationName =...

bug
sameline

If you want to disable additional indent, it would be reasonable to try something like this: ```haxe { "wrapping": { "functionSignature": { "defaultAdditionalIndent": 0 } } } ``` However, that...

enhancement
wrapping

The formatter needs two passes to get the right result here: **Input file** ```haxe class Main { public static function main():Void { var b = {foo: doesFit("foo"), bar: doesFit("bar"), foobar:...

wrapping
unstable

**Describe the bug** Another one from the vshaxe diff since 1.7.1: **Input file** ```haxe class Main { static function main() { context.sendShowMessage(Error, 'Invalid compiler argument \'$option\' detected. ' + 'Please...

enhancement
wrapping

This wrapping is pretty bad (found in https://github.com/openfl/openfl/pull/2186). **Broken output** ```haxe class Foo { function foo() { scrollThumbMouseMoveYRelative = getXFLMovieClip("ScrollThumb_" + this.scrollThumbState + "Skin").globalToLocal(new Point(event.stageX, event.stageY)) .y; } } ```

bug
wrapping

This is not an object literal, just a block, but it respects the `objectLiteralCurly` rule for some reason. From https://github.com/openfl/openfl/pull/2186. **Input file** ```haxe class Foo { public static inline var...

bug
lineends

I feel like if there's an empty after a multi-line string assignment, it should be kept: ```haxe class Main { static function main() { var whileBackward = 'var i =...

enhancement
wrapping

It seems confusing to have the `.then` on the same indent level as the type check here: ```haxe class Main { static function main() { window.showErrorMessage("No Haxe configurations are available....

bug
indentation