vs code extension

What extension do I need for VSCode to stop marking this as an unknown class/undefined type?
No description
13 Replies
ἔρως
ἔρως2d ago
use PDOException; add that to the top of the file the extension is doing it's job properly
Lailan
LailanOP2d ago
thank you
ἔρως
ἔρως2d ago
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 fast
Lailan
LailanOP2d ago
i 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
ἔρως
ἔρως2d ago
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)
Lailan
LailanOP2d ago
thank you, will test these out
ἔρως
ἔρως2d ago
i believe those extensions are essential, specially if you are used to notepad++
Lailan
LailanOP2d ago
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
ἔρως
ἔρως2d ago
which stuff confuses you?
Lailan
LailanOP2d ago
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
ἔρως
ἔρως2d ago
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 once
Lailan
LailanOP2d ago
it 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
ἔρως
ἔρως2d ago
it is nice notepad++ has better auto-closing, but you will quickly learn to navigate around it's dumb af decisions pretty quickly
Want results from more Discord servers?
Add your server