vs code extension
What extension do I need for VSCode to stop marking this as an unknown class/undefined type?
13 Replies
use PDOException;
add that to the top of the file
the extension is doing it's job properlythank you
you're welcome
the extension that's doing that is probably intelliphense, by the way
and it can do the
use
automatically, if you use the autocomplete
it generally adds that to the top, but sometimes it throws the use
to the most terrible place, but works really well and fasti clicked on some recomended stuff while seting up, still have no clue
started with notepad++ and just needed something that was better for managing larger projects
oh dear lord
well, intelliphense is good
you may also be interested in the notepad++ keybindings extension, as the vscode ones are absolutely garbage
and you should install code spell checker
if you use xdebug then the php debug extension is required (created by xdebug)
thank you, will test these out
i believe those extensions are essential, specially if you are used to notepad++
some of the vs code stuff confused me coming from notepad++, but I can*'t say no to the folder view and it's used if one spreads stuff over different files
which stuff confuses you?
I'm getting used to it, but I've only been working on vscode for about a week now.
sometimes copy adds duplicated lines from stuff I haven't copied, the autocomplete was annoying at first but now I seem to figure out when to expect it.
missing brackets are harder to spot
little things
expected things if one changes tools
brackets are horrible in vscode
the problem is that it overwrites brackets and parenthesys because it os trying to be too smart
if you type
{{
it will type }
automatically
but if you need to close it and type }
, it will ignore you onceit will also close my divs ignoring that there is a closing one already behind some other code
but replacing names at the same time, either automatically or by selecting more than one line is nice
it is nice
notepad++ has better auto-closing, but you will quickly learn to navigate around it's dumb af decisions pretty quickly