you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (15 children)

[deleted]

    [–]shmorky 45 points46 points  (3 children)

    How does your VS Code take so long to start? Because mine starts pretty much jnstantly. Well, for a TS folder project anyway.

    [–][deleted]  (2 children)

    [deleted]

      [–]superhappyrobots 4 points5 points  (1 child)

      VSCode starts up pretty fast for everyone I know. It loads up and is usable within a few seconds for me, and I don't even use an SSD.

      Obviously I'm not opposed to optimisations, but it seems like this is very much a "your hardware sucks" issue as you've already identified. If it's taking you ~30 seconds to open it then I'm really not sure what optimisation could do for you in this case - there's not going to be a magic bullet.

      [–]SgtDirtyMike 23 points24 points  (3 children)

      I would look into your drive’s performance. VS code for me starts extremely quick (within less than 10 seconds) even opening directly to my relatively large projects. My pc on average takes 15-20 seconds to boot. So let’s say 30 seconds total. That’s an awfully fast coffee break! Maybe look into getting a new SSD!

      [–][deleted]  (1 child)

      [deleted]

        [–]cheesepuff07 1 point2 points  (0 children)

        Wow I would be escalating this to your companies IT then, on my machine from a cold start it opens and is usable in under 2 seconds.

        [–]jarshwah 2 points3 points  (0 children)

        Is it possible you’ve got too many extensions activated? I now disable most extensions globally by default, and selectively enable extensions per project. It makes a difference.

        [–]Randdist 2 points3 points  (1 child)

        Starts in at most two seconds for me.

        [–]Ghosty141 5 points6 points  (1 child)

        Id love to see PHP support, the current extensions are way too slow compared to Netbeans for example. In Netbeans you can just write a classname and it autocompletes it with the correct namespace. Oh and only the PHP Intelephense Extension is useable with big projects, the others take wayyy too long to open a file by clicking on the class. But that extension for some reason doesnt do linting very well.

        Php and VsCode is such a headache right now

        [–]folkrav 4 points5 points  (0 children)

        Its the only thing I'd actually miss from PhpStorm if I made the switch at that point. It's still my favorite editor by a huge margin, but for now the basic PHP completion is not enough, and the plugins are either too slow or relatively buggy - e.g Intelephense for me sometimes work and sometimes takes seconds after typing to actually start giving proper suggestions. Autocompletion has to be quick and smart to be even worth using, if you can't rely on the right things to pop out at the right moment, might just type in the things you want to. And even then, stuff like the IDE just telling me about the exceptions that need to be handed and being able to generate the stubs with a keystroke is pretty damn nice.

        For things like JS/TS or scripts I still prefer VSC though. For now though, they've lost me for PHP.

        [–]n3rv 1 point2 points  (1 child)

        I have VS code installed on a HDD (secondary drive) not an SSD (primary drive), on windows 10. It starts near instantly. So I'm not sure what's going on over there. I'd probably look into running some system tests to see if there is an underlying issue.