@rrraptor Hmm. I've never even noticed that SceneManager was made into an actual plug-in... I still use good old SceneManager.lua. I'll have a look and see what I can see
I wonder if maybe the Gideros Player doesn't have SceneManager embedded? how does one make a windows player with specific plugins embedded?
I really have no idea whats happening at this stage... I'll resume the task in the morning
As for the third screenshot... that code should still run, it just isn't presented as correct code by the EmmyLua language server... that's something I have yet to get working.
As for the third screenshot... that code should still run, it just isn't presented as correct code by the EmmyLua language server... that's something I have yet to get working.
@rrraptor That looks like a small project, are you able to send it by PM or something? From just a screen dump it will be impossible for me to reproduce that.
@keszegh Yes, it works for me. I downloaded your project again, uninstalled and reinstalled Gideros Debugger and it works in VSCode. Are you now running 1.0.6 of Gideros Debugger?
yes. yet nothing happens for me, i click on run then select gideros player and that's it. EDIT: it's already suspicious that it asks me to select gideros player, as for the other projects which do work they start immediately when clicking on run without debugging. EDIT2: i made it work. earlier i've deleted the .vscode folder so that it is resetted but it could not recreate it so i've copied it from another project and now it works fine. ty
No update on the plugin issue yet, I am having trouble trying to figure out how I'm supposed to (or if I'm even supposed to)_ send plugin information to the player from VSCode.
the problems like "@" for constant declaration etc. while annoying to be in the problems list they also seem to prevent the outline window from populating correctly.
@rrraptor That looks like a small project, are you able to send it by PM or something? From just a screen dump it will be impossible for me to reproduce that.
Well, it’s just empty project. There is no code at all. Created from gideros itself and opened from VSCode.
@rrraptor Okay I managed to reproduce your issue by creating the sameproject.
The problem was in my code to manage !NOEXEC files. I've fixed the problem and have published 1.0.7 which fixes it. The update should be available in the next 10 minutes. is available now.
In the meanwhile... just make sure any .lua files in your project have some content... even pressing enter and saving will avoid the crash for now.
@hgy29 Could you shed some light on how do the SceneManager and Easing plugins work? As @rrraptor said previously, there are no DLL files for them.
No, those are lua plugins only. When enabled, Gideros will inject the plugin’s lua files to a specific "_LuaPlugins_/" folder in your project resources at run/export time.
I've published the fix in 1.0.8 which should be available soon. I forgot to put the fixed files into the distribution yet again! Sorry, 1.0.9 has been published which has the fixes promised in 1.0.8.
Okay I'm the stupidest person alive. I broke it, but will fix it right now
1.0.10 is now available and Lua based plugins now function.
I've updated the first post to explain that currently the syntax checking in the language server does not support and of the Gideros Lua Enhancements.
With a bit of luck the aforementioned functionality will eventually be implemented, but for now the syntax checking (and outline) only function correctly using normal Lua syntax.
Hi @antix I am trying VSCode with your gideros plugin for the first time, and it seems that there is some issue using non lua plugins (luasqlite3). See the screenshot: it is looking for luasqlite3.lua file inside a non existing luaplugin folder where I have a bunch of non lua files.. did I miss something?
Comments
BUT:
Gideros output:
Works with "json" and "ImGui" plugins (since those have dll's I guess)
Likes: antix
I wonder if maybe the Gideros Player doesn't have SceneManager embedded?
how does one make a windows player with specific plugins embedded?
I really have no idea whats happening at this stage... I'll resume the task in the morning
As for the third screenshot... that code should still run, it just isn't presented as correct code by the EmmyLua language server... that's something I have yet to get working.
Plugins first eh?
Likes: antix
It says "Sequence contains no elements". The only change in "launch.json" is "giderosPath".
Ok, so if I remove
the project i've sent to you in pm still does not run for me, does it for you?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
EDIT: it's already suspicious that it asks me to select gideros player, as for the other projects which do work they start immediately when clicking on run without debugging.
EDIT2: i made it work. earlier i've deleted the .vscode folder so that it is resetted but it could not recreate it so i've copied it from another project and now it works fine. ty
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux, antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game
No update on the plugin issue yet, I am having trouble trying to figure out how I'm supposed to (or if I'm even supposed to)_ send plugin information to the player from VSCode.
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Actualy... other Gideros only operators such as "+=" cause the outline to not work *sigh*
The problem was in my code to manage !NOEXEC files. I've fixed the problem and have published 1.0.7 which fixes it. The update
should be available in the next 10 minutes.is available now.In the meanwhile... just make sure any .lua files in your project have some content... even pressing enter and saving will avoid the crash for now.
Likes: antix
Is there any way to tell if the plugin is a lua one?
I've published the fix in 1.0.8 which should be available soon.I forgot to put the fixed files into the distribution yet again! Sorry, 1.0.9 has been published which has the fixes promised in 1.0.8.
Okay I'm the stupidest person alive. I broke it, but will fix it right now
1.0.10 is now available and Lua based plugins now function.
Likes: MoKaLux, keszegh
https://github.com/Antix-Development/VSCode-Gideros-Debug/issues/7
1.0.11 contains the fix.
With a bit of luck the aforementioned functionality will eventually be implemented, but for now the syntax checking (and outline) only function correctly using normal Lua syntax.
See the screenshot: it is looking for luasqlite3.lua file inside a non existing luaplugin folder where I have a bunch of non lua files.. did I miss something?
I am sorry to raise new issues