Anvil is a pretty big platform, and it’s easy to miss things. Prompted by this thread, I wanted to ask:
What’s your favourite Anvil feature that others might not know about?
What parts should be better known? What should we be shouting louder about? What part of Anvil do you want to tell people about because it saved you hours of work, and might do the same for them?
For me, that has to be Portable Classes. Those have saved me having to write very similar create, read, update and delete server functions for every class I want in my apps.
Using Ctrl+Click (or Cmd+Click on Mac) to navigate to methods, even anvil.server.call("") methods from client code.
The automatic serialization of Anvil Data Table objects from server to client and back. Once the Data Table row is received within Server Code, assigning values to it from there are automatically saved! I think this is more obvious now from newer documentation, but I didn’t know about this at first and it would have saved me time if I knew about it.
Also if I’d used @anvil.tables.in_transaction as a server method decorator more often, I would have saved myself some bugs.
Not that I could find in 30 seconds of searching. IIRC I saw it from another forum post of a preview feature. Not sure if it’s a temporary feature, or just hasn’t been formally documented.
I will also advocate for the rest of the implemented keyboard shortcuts though that I love having in a web code editor.