Probably stupid me, lol. I think i may have found the solution.. It seems saving the 'opened folder' as an actual project brings along more functionality/options/features than i thought ^_^
Note that i mentioned adding my custom library's folder as a 'project folder' in my original post below. I didn't quite saved the environment as a project back then ^_^.
I just saved the project and the auto complete works like a charm :) Didn't even had to add my lib's folder as a project folder but just did so for the sake of simplicity.
Anyways, Thanks and keep up the awesome stuff! :+1:
Original post
I want to make my own custom haxelib. I managed to get the correct autocompletion working by adding the correct <meta> tag within my include.xml.
For testing i use one of my fully functional projects, initiated with the lime create openfl:project and <haxelib name="twodee" /> added to my project.xml. The haxelib itself is installed running the command:
The autocomplete doesn't seem to recognice my library. I also tried to add my library folder as a project folder within ST3 but that doesn't seem to solve this either.
I tried adding code from my library and it seems to work just fine at run-time.
For example: adding the line twodee.Game.test(); somewhere will run the code trace("herp derp") as seen in the old Game.hx.
I also checked ST's console but it doesn't seem to throw errors.
Edit
Probably stupid me, lol. I think i may have found the solution.. It seems saving the 'opened folder' as an actual project brings along more functionality/options/features than i thought ^_^
Note that i mentioned adding my custom library's folder as a 'project folder' in my original post below. I didn't quite saved the environment as a project back then ^_^. I just saved the project and the auto complete works like a charm :) Didn't even had to add my lib's folder as a project folder but just did so for the sake of simplicity.
Anyways, Thanks and keep up the awesome stuff! :+1:
Original post
I want to make my own custom haxelib. I managed to get the correct autocompletion working by adding the correct
<meta>
tag within my include.xml.For testing i use one of my fully functional projects, initiated with the
lime create openfl:project
and<haxelib name="twodee" />
added to my project.xml. The haxelib itself is installed running the command:The autocomplete doesn't seem to recognice my library. I also tried to add my library folder as a project folder within ST3 but that doesn't seem to solve this either. I tried adding code from my library and it seems to work just fine at run-time.
For example: adding the line
twodee.Game.test();
somewhere will run the codetrace("herp derp")
as seen in the old Game.hx.I also checked ST's console but it doesn't seem to throw errors.
Do i miss something?
Thanks in advance