-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] Would it be possible to put the opening brackets on a new line but have no new line after it whilst maintaining indentation? #639
Comments
I assume those labels means a no. So if thats the case, would adding something like this:
seem like a decent solution? And if I were to make a PR for it, would it be likely to get merged into master (or would it just be considered unnecessary bloat)? (and if it does sound good, I would appreciate if somebody could pinpoint to some nice places in the code base for adding these features) |
that's the first time I've seen such a code style. and no, it's not available out of the box. as to a PR, I'm not opposed to it, since I don't think I'll find the time to work on it myself. for starters there is make sure you run unittests after changing, because the smallest change will typically make a lot of testcases fail. so finding the right change might take quite some time. good luck! |
it also says, that it's inventor is not using it anymore |
So I tried building all the targets, however Im a little confused. First off it doesnt seem to wanna build the C++ target and secondly, I cant quite find the directory that the other targets supposedly gets built into (looking to build for debugging). The "build" directory remains with only a hxml file after building
|
Also is this the VSCode extension that youre using for debugging? https://github.com/vshaxe/vshaxe-debug-tools/blob/master/images/visualizer.gif I cant seem to find it on the VS Code market place. Is it bundled in the regular "Haxe", "Haxe language support" extension or do I really need to clone the github repo just for a binary install? |
formatter uses lix for dependency management. so you need to run npm i
npx lix download
npx haxe build.hxml or as to the vshaxe debug tools extension: it's not on the marketplace you need to install it manually (see instructions in it's readme) |
So this is my desired formatting:
And so I tried setting:
See the whole file: https://pastebin.com/ikDkw5Tk
Which resulted in loss of indentation:
Is there any setting that might help bringing the indentation back here? Prefferably I would want 3 spaces after the opening bracket & 4 extra spaces for indentation where theres no preceeding bracket on the same line.
Thanks in advance :)
The text was updated successfully, but these errors were encountered: