ai extension

Hello anyone know good free ai extension like php storm for vs code for php ? i mean like php storm it complete half of the code when u wright it
23 Replies
Jochem
Jochem4w ago
vscode uses copilot
NIMA
NIMAOP4w ago
is it free ?
Jochem
Jochem4w ago
but I'd recommend against using AI to write code no
NIMA
NIMAOP4w ago
i dont want ai to write all the code i want it like extension it only correct the words
Jochem
Jochem4w ago
that's just intellisense, not AI
NIMA
NIMAOP4w ago
ye ye ye do u see php storm ?
Jochem
Jochem4w ago
there's probably a PHP intellisense plugin on the extension page, look for one with a couple hundred thousand installs
NIMA
NIMAOP4w ago
like when want insert something in data base after typing INSERT it complite the code
Jochem
Jochem4w ago
I haven't
NIMA
NIMAOP4w ago
i try that but it was not great ohh ok
ἔρως
ἔρως4w ago
yeah, inteliphense is pretty mediocre the auto-complete is stupid and the type checking is abysmal, but it gets the job done
glutonium
glutonium4w ago
i think codium is free it has a vscode extension google released a cloud IDE called project idx a while ago which has gemini ai by defaukt and u dont have to set it up either
<DedSeq />
<DedSeq />2w ago
UPDATE: vscode now offer copilot for free: link here https://code.visualstudio.com/blogs/2024/12/18/free-github-copilot
Announcing a free GitHub Copilot for VS Code
Announcing a free plan for GitHub Copilot in Visual Studio Code.
Jochem
Jochem2w ago
I still stand by my advice that using AI as someone that is still learning is a terrible idea, even if it is free
glutonium
glutonium2w ago
i agree
NIMA
NIMAOP2w ago
inteligent ai too ?
Jochem
Jochem2w ago
doesn't exist not yet at least and not with the current LLM technology, most likely
NIMA
NIMAOP2w ago
i install php storm and it have it
NIMA
NIMAOP2w ago
No description
NIMA
NIMAOP2w ago
after writing few word like Route::.... if will complite the words
Jochem
Jochem2w ago
🤷 you do you, but AI generated code is often subtly wrong in ways that are very hard to detect for beginners, and relying on autocomplete like that results in code you don't understand because you didn't write it and didn't read the documentation for the methods you're using
clevermissfox
clevermissfox2w ago
For an example, just last night had an AI tell me to use .sort() method on a new Set . Which doesn’t work, it’s an array method. If I didn’t know that I would be going around and around with it and it would likely give me more hallucinations to “fix” why it’s “not working”. And this is a most recent example but in no way unique. A couple days ago I was having it refactor a small script to adjust Wordpress drop-down menus and it changed my selector without me noticing; 2 characters (or lack thereof) broke everything. If I was just copying and pasting what it gave me I would have no clue what happened or why it was broken. I use it to help refactor code I’ve written to be more tidy, or to add comments to a file but having it spit out something when you don’t understand the result is a recipe for disaster. And you still have to read what it gives you back , sometimes it will decide to leave out whole functions or miss a variable or change something you didn’t ask it to. Missing a comma or a parentheses , or like the example above, two characters is the difference between a working page and a total mess. You need to be able to know what and why.
ἔρως
ἔρως2w ago
and that shows the dangers of ai: if you don't know, you may or may not have a ball of mess that does or doesn't do what you want, need or asked hell, it may even introduce security flaws, like when using scanf instead of sscanf in c ai is amazing for boilerplate and other annoying things just the boring crap

Did you find this page helpful?