Import autocomplete not working

So, just today I noticed that import autocomplete was not working for me. Nothing comes up when I start typing from and then a module name. In the past that would find the particular path to the module.

Is this a recent thing for everyone? Or just something for me?

Edit: it isn’t just import autocomplete, but all autocomplete. It doesn’t happen on every form, but only some of them. The forms run fine, so I know it isn’t due to outstanding syntax errors.

Another edit: tracked down which forms work and which don’t. It seems pretty consistently to be forms that use hash routing where the autocompleter is not working. This is new behavior, I’ve never seen this before.

Forms that don’t use hash routing are working fine.

@stucork Any ideas what might be causing this?

1 Like

Here’s a minimal example of the issue: https://anvil.works/build#clone:JJ73FQJDQBORZM5T=QAQPQJQUL4L77BOFLJC6N2QH

For me, autocomplete does not work in Form1 or Form2 (both using hash routing), but does work in Form3.

Thanks @jshaffstall,

I can reproduce, moving to bug reports.

…and the fix will be going live soon!

1 Like

Looks like it’s here! Thanks! I rely totally on autocomplete for imports in my big project, where I’m often importing forms from another branch of the package tree entirely.

2 Likes