Nova 11 Code completion not working for Playdate SDK

So I've recently installed a trial of Nova 11 along with the Playdate SDK. Everything builds fine and I can run my games on the simulator but I've noticed the code completion is not working correctly.

e.g If I type "Playdate.Graphics.", all I get is a list of suggestions for code I've already written in the project. I don't get any code suggestions for functions within a library.

I have installed the Playdate extension from the Nova extension library. A reddit user is also having a similar problem. All works fine in VSCode.

Any thoughts?

1 Like

I was just eyeing Nova 11 (I'm bound to make the leap one of these days). FWIW, code completion is working as expected in Nova 10.6. Nova has been great! Hope you get that resolved.

Thanks for the report, we're looking into the issue.

I'm the other Reddit user :slight_smile: and indeed, I brought up this issue.

It does seem to work in 10.6 though, as AdamsImmersive Morgan mentioned. I 'downgraded' from Nova 11 to 10.6 by downloading the older version from Index of /

Looks like it's still an issue for me on 11.2.

I believe this is fixed in Nova 11.3, which was released a couple days ago.

1 Like

sorry for bumping this, if i need to make a new post i will.
@willco i'm having this issue now on nova 11.9, build 592479.
I'm on sonoma 14.5 (23F79) and can't get the auto complete to work in nova. maybe i'm doing something wrong? any help would be appreciated, thank you!

To verify, you have the Playdate extension installed and enabled?

i believe so! here's what my extensions library looks like

What and where are you trying to autocomplete? Can you post an example?

I had the same issue and arrived here. I'm writing this because it looks like it hasn't been updated in a while. (This is my first time using a forum like this, so sorry if I am rude in any way!)

I am also using nova 11.9 (592479) on Sonoma 14.5 / intel iMac (2020).
The Playdate extension is installed. Build&Run looks working correctly but the auto complete is not working. (For example, if I type "playdate.graphics.", i will not see any of the codes that follow)

@willco If you still need information on this issue, I will try to provide as much information as possible. thank you.

Sorry for continuing to post, but I noticed something, so I'll add it.

I noticed that by typing "playdate.graphics." followed by the letters, the input suggestions appear as a list. For example, typing "playdate.graphics.i" will show them.

I had not noticed this before because in other languages I have used, as soon as I typed in a ".", a list of candidates appeared.

Maybe, but is this the correct behavior?

This is correct behavior, but something we will look in to tweaking in a future release.

2 Likes

I am using Nova 12.2 and am having the same issue of Playdate APIs not autocompleting with the extension installed. I figured out the issue though is that I have the LuaLS extension installed and enabled as well. As soon as I disable that extension I get autocomplete for Playdate APIs. Is it possible to have both enabled and receive autocomplete for both?

I haven't tried it, but the LuaCATs library should work with the LuaLS extension. The static autocomplete from the Playdate extension should be offered, but is currently a bug. EDIT: tried it, it works. You just have to configure the .luarc.json file with the workspace.library path.