Matthew Hailwood
banner
hailwood.nz
Matthew Hailwood
@hailwood.nz
Principal Engineer @ http://foxbyte.nz.
PHP & Laravel enthusiast | All about Typescript.
Opinions are mine.
What do you mean by "Terminal AI Flow"?
July 2, 2025 at 11:05 AM
If I was going to Laracon this year you know there'd only be 19 tickets left.

Unfortunately, life has other plans this year!
July 2, 2025 at 11:00 AM
That's so good 🎉 Thanks!
June 21, 2025 at 10:40 AM
Sorry my cursor is distracting there, I'm talking about the grey text I've added in the screenshot above the controller method.
June 20, 2025 at 8:12 PM
Hey @laravel-idea.com,
With all the awesome work you're doing on route inlay hints.
Reckon we could add support for showing the route above controller actions?

Would be really handy for quick skimming.
June 18, 2025 at 10:18 PM
Saw you were trying out the Antlers Toolbox plugin. I still use phpstorm for the php side of things because it's 10x better. Even just basic stuff like automatically updating the namespace when I move a class. But for antlers I switch to vs code because it's great.
May 30, 2025 at 7:07 AM
Yeah just choose the provider or tag would be great
May 2, 2025 at 4:55 AM
Hey @laravel-idea.com
Do you have plans to add doing vendor:publish as an action?

Would be wicked to be able to do this without switching to the terminal 💡
May 1, 2025 at 1:52 AM
Would ya look at that, our @laravel.com Inertia Data Providers package now has a make:data-provider command and integration with @laravel-idea.com!

Check it out and let us know what you think!
github.com/webfox/larav...
April 30, 2025 at 10:37 PM
Hey @laravel-idea.com, would it be possible to add an intention on controller methods to "Create Form Request".

All it would do is open the "Create Form Request" dialog like you do from the Code Generation menu, but would automatically add it to the controller method once you hit "OK".
April 9, 2025 at 2:51 AM
Understandable, yeah - I just checked because I was curious and all Statamic focussed vs code extensions (2) have been downloaded only 20k times combined.
March 31, 2025 at 9:01 PM
Hey @laravel-idea.com what's the likelihood of you supporting [email protected], e.g. antlers syntax and completions?

Something like this but for @jetbrains.com products
stillat.com/antlers-tool...
Antlers Toolbox | Stillat
A collection of kickass developer tools for Statamic developers. Tools include syntax highlighters, code completion, validation, formatters, and more!
stillat.com
March 30, 2025 at 9:38 AM
Will double check when I'm back in the office, but it's whatever the latest release is 👍 IDE and plugin fully up to date
March 23, 2025 at 9:29 PM
Hey @laravel-idea.com,
Since the latest update I've been getting this a bit.

Is this a known issue or something specific to me? I've reported the issue via the IDE.
March 23, 2025 at 8:07 PM
The actual value there (an array of levels) was just a dummy example. It could be anything you might want to implicitly return.

Could have been

public fn save(): bool => $this->query->persist();

For all the example value matters.
March 22, 2025 at 8:39 AM
Yeah withPivot exists, but right now you have to specify the columns on both sides of the relationship. Pretty easy to miss one when you add a new column. But also if I have a custom pivot model for casts, I want that to be the source of truth for what columns are included.
March 22, 2025 at 5:28 AM
I really wish #php would add short methods

public function getLevels(): array
{
return ['low', 'med', 'high'];
}

could be

public fn getLevels(): array => ['low', 'med', 'high'];
March 21, 2025 at 11:52 PM
I wonder if #laravel would accept a PR to allow adding a `getAdditionalPivotColumns` to your custom pivot models.

public function getAdditionalPivotColumns(): array {
return [
'level',
];
}

It would act the same as calling `->withPivot(['level'])` when creating the relationship.
March 21, 2025 at 11:47 PM
Hey neat!
@github.com Copilot now has Edits in @jetbrains.com products.

Good to see us getting feature parity with @vscode.dev again.
March 21, 2025 at 12:21 AM
Hey @typescriptlang.org and @react.dev people,

For native elements is `ComponentProps<'button'>` always the right way to do it? What about for components that don't export their prop types? When wouldn't `ComponentProps` work and how would you do it?

#typescript #react
March 19, 2025 at 1:20 AM
I'd argue the attributes *are* the API to remember in this case.

Still neat though
March 18, 2025 at 7:54 AM
O write enough JavaScript now that spreading em just feels good. array_merge feels obsolete somehow, like writing array() instead of just []
March 5, 2025 at 7:35 PM
You're awesome, thank you heaps.

It looks much better now :)
March 5, 2025 at 5:39 AM
Sounds like you're talking about view transitions? There's a couple of examples here that should get you going, but just know that Firefox is a letdown.

developer.chrome.com/docs/web-pla...
Smooth transitions with the View Transition API  |  View Transitions  |  Chrome for Developers
The View Transition API lets you add transitions between views of a website.
developer.chrome.com
March 4, 2025 at 4:46 AM
We do use ide.json, you can see it in the commit linked above. Help would be awesome, thank you!
March 3, 2025 at 7:17 PM