refined-greece-48002
04/22/2022, 4:16 AMbright-gpu-74537
04/22/2022, 6:57 AMbright-gpu-74537
04/22/2022, 6:57 AMI was having a lot of macro-related compiler errors in haxeui... but I "fixed" it by just disabling the compilation server in VScode
I know it's been brought up before, and it doesn't seem like an easy thing to fix. But man I could not compile twice in a row without an error
In my settings.json, I put "haxe.enableCompilationServer": false and that's it. Hope that helps someone else
Your compiles will be a second slower but you won't waste 30 seconds crashing and restarting the compilation server anyway
And you keep macro'd code completion, since that's a separate thingrefined-greece-48002
04/22/2022, 7:11 AMbright-gpu-74537
04/22/2022, 7:47 AMbright-gpu-74537
04/22/2022, 7:48 AMbest-needle-18998
04/22/2022, 7:58 AMbright-gpu-74537
04/22/2022, 7:58 AMbright-gpu-74537
04/22/2022, 7:59 AMbright-gpu-74537
04/22/2022, 8:00 AMbright-gpu-74537
04/22/2022, 8:04 AMbright-gpu-74537
04/22/2022, 8:05 AMbright-gpu-74537
04/22/2022, 8:29 AMxml
<resources include="*.a" exclude="*.x">
<include pattern="*.b" />
<include pattern="*.c" />
<exclude pattern="*.y" />
<exclude pattern="*.z" />
<resource path="assets/icons" prefix="icons" include="*.a" exclude="*.x">
<include pattern="*.b" />
<include pattern="*.c" />
<exclude pattern="*.y" />
<exclude pattern="*.z" />
</resource>
</resources>
So the inline ones <resource ... include="*.a" exclude="*.x"> are really just shortcuts for the child node ones, and the top level ones are ones that apply to all modules, so for example if you wanted to exclude all haxeui-core .css files files, you could put the pattern therebest-agent-85158
04/22/2022, 9:54 AMbright-gpu-74537
04/22/2022, 10:04 AMbright-gpu-74537
04/22/2022, 10:08 AMbest-needle-18998
04/22/2022, 10:08 AMbright-gpu-74537
04/22/2022, 10:09 AMbest-needle-18998
04/22/2022, 10:09 AMbright-gpu-74537
04/22/2022, 10:10 AMbest-needle-18998
04/22/2022, 10:10 AMbest-needle-18998
04/22/2022, 10:11 AMbright-gpu-74537
04/22/2022, 10:11 AMbest-needle-18998
04/22/2022, 10:12 AMbest-needle-18998
04/22/2022, 10:13 AMhallowed-forest-58641
04/22/2022, 10:44 AMbright-gpu-74537
04/22/2022, 11:37 AMxml
<module>
<resources>
<exclude pattern="haxeui-core/styles/.*.png" />
<exclude pattern="haxeui-core/styles/.*.css" />
<resource path="assets/icons" prefix="icons">
<exclude pattern="Status_Unavailable.png" />
<exclude pattern="some file that i dont want to be included.txt" />
</resource>
</resources>
</module>
and with the haxe defines module_resolution_verbose and resource_resolution_verbose you get:bright-gpu-74537
04/22/2022, 11:38 AM- means the resource wasnt added (and why) and + means it was added (and why)bright-gpu-74537
04/22/2022, 11:41 AMbright-gpu-74537
04/22/2022, 11:41 AMxml
<exclude pattern="haxeui-core/styles/.*.png" if="haxeui_no_theme" />
<exclude pattern="haxeui-core/styles/.*.css" if="haxeui_no_theme" />