Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JackJones's avatar

Importing Classes in Sublime Text 3

In every video when Jeffrey says "Let's just go ahead and import this class" and then magically it appears in the use statements, how is he doing that in Sublime Text 3

It's so repetitive typing out the class at the top

0 likes
8 replies
cmdobueno's avatar

This is why I use PHPStorm. But it is rather pricey, but honestly it is worth every single penny i can throw at it.

JackJones's avatar

I wish I could justify the price, but I'm only tinkering around at home, my $100 a year for laracasts or whatever I pay is about as far as I'm willing to go for now

If I keep coding every day like I am currently for say the next month or so then I'll make the leap to PHPStorm

JackJones's avatar

Which shortcut is it? I've read through them all but don't see it

JackJones's avatar

I think the package is outdated to PHP5.6, at least that's what the repo says, F10 doesn't do anything

If only PHPStorm was say £80 a year I could ask for a cheeky christmas present, £150 for myself is just a tad too much, such a shame because it seems so awesome

Cronix's avatar

Try remapping the key, or mapping it to begin with. Is F10 already mapped to something else?

In the repo, the installation instructions do say The package no longer provides keybindings. You will have to install your own shortcuts. and it does have a sample file you could use.

Please or to participate in this conversation.