clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.41k stars 110 forks source link

Autocomplete broken in VSCode for `.find()` and similar functions #1999

Open cloutiertyler opened 5 days ago

cloutiertyler commented 5 days ago

It's broken in VSCode but presumably in Rust Analyzer more generally.

Reproduction steps:

Clone https://github.com/makscee/arena-of-ideas/tree/main/server

Open in VSCode with Rust Analyzer.

Go to any reducer with a player and type: ctx.db.arena_run().id().find(player.id);

It will compile, but it will not autocomplete find.

bfops commented 2 days ago

related external ticket https://github.com/clockworklabs/SpacetimeDB/issues/1998