Sneaky Anvil Updates

Hmm, I’m not seeing the import time measurement currently myself. (I continue to be on the Professional plan, not Business.) In the past, it seemed to only show up when the total import time during a Debug session got above a certain threshold (perhaps 500 ms). Maybe they increased that threshold or removed it entirely?

Thanks for raising this. It shows only on the first time the app is run. We’ve added it to our list.

2 Likes

I just noticed that double-clicking on a tab puts the IDE into full-screen mode! #mindblown

9 Likes

I had to try that! Not quite full-screen (it’s full-browser), but I can then toggle the browser to true full-screen, by pressing F11. Best of both worlds!

3 Likes

My mouse is currently being a pain and randomly giving double-clicks when it’s not supposed to, but this time it made me discover this new feature, so I forgave it!

3 Likes

The left-side pane, to be specific.

1 Like

Breadcrumbs are interactive!!!

You can use it to both see where you are and to go where you want to go.

image

4 Likes

Today I learned that I can move a module/package up the folder hierarchy, by dragging it to the left.

In all other cases, the target package must be already visible in the pane, before you can drop it; so this is a definite improvement.

1 Like

It appears there might be a sneaky update, but a quick search didn’t reveal anything. If you press cmd(ctrl)+p, you’ll see the Jump to search menu pop up.

5 Likes

I hope i dont get ahead of the anvil team :smiley: but it now seems possible to search within the components section!! Thanks!!

Mar-18-2024 20-50-17
Mar-18-2024 20-51-01

7 Likes

I noticed that the subject here changed a few days ago, yay!

3 Likes

awesome! great feature! thanks @meredydd and team!

1 Like

Thanks to @stefano.menci, TIL that you can quickly and easily open a Form or Module in a new browser tab (not an IDE tab), in a new full IDE instance (not just an Editor!):

With multiple IDE instances, one might work in a second Branch, without losing your place in the first. Or move the browser tab to a new browser window (e.g., on a second monitor) for reference, or for copy-and-paste between modules. One might even be able to copy between different Forms (but I haven’t tried that yet).

2 Likes

FWIW this will not work; right now your account is tied to editing and testing one branch at a time. (Honestly, we’d love to support this use case, but we already have enough trouble with teams of developers sharing one Personal Plan account as it is…)

4 Likes

I was working on an app that uses a custom component defined in a second app as dependency.

I had 2 IDE windows open on the main app and 1 open on the dependency. (I love working with multiple windows!!!)

I added a new pagination_click event to the dependency, then I switched to the main app tab, clicked on the custom component, and the new event was there waiting to be used.

No need to refresh the IDE!

image

6 Likes

The minimap on the scrollbar shows orange markers to highlight linter warnings, the tooltip shows the linter message and provides a button for the automatic fix.

Triple wow!

10 Likes

I see that '\n' is now formatted to be the same colour as None or True. This makes it easier to see it as more than just a string. Thank you Anvil Team!

image

4 Likes

:exploding_head:
I just spotted a navigational aid in the Designer:

When you click on a “breadcrumb”, it gives you a breakdown of the contents of its component, and everything else at the same nesting level:
image

That breakdown is a live outline, that you can expand and contract. Clicking on an outline entry selects its component.

This means that you rarely have to open the full Components Hierarchy pane.

3 Likes

I just did a git pull on my local copy of an app, and was surprised to see a huge number of changed files: all .yaml files. My Forms!

My App was still running normally, even with these changes, but of course I had to look at the files.

They’ve been alphabetized! That is, within the outline of objects-within-objects, each object’s attributes now appear in alphabetical order. Previously, they were in arbitrary order, which could change seemingly at random, making diffs very noisy and hard to interpret.

Going forward, this will make future diffs, from git and otherwise, a lot cleaner.

Thanks, Team Anvil!

10 Likes

The CSS roles are now alphabetically sorted. Minor update but makes it easier to find the role you are looking for. Personally, I was finding it really hard to locate css roles because there were hundreds of them and I usually had no clue where they were.

5 Likes