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
vscode uses copilot
is it free ?
but I'd recommend against using AI to write code
no
i dont want ai to write all the code
i want it like extension it only correct the words
that's just intellisense, not AI
ye ye ye
do u see php storm ?
there's probably a PHP intellisense plugin on the extension page, look for one with a couple hundred thousand installs
like when want insert something in data base after typing INSERT it complite the code
I haven't
i try that but it was not great
ohh ok
yeah, inteliphense is pretty mediocre
the auto-complete is stupid and the type checking is abysmal, but it gets the job done
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
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.
I still stand by my advice that using AI as someone that is still learning is a terrible idea, even if it is free
i agree
inteligent ai too ?
doesn't exist
not yet at least
and not with the current LLM technology, most likely
i install php storm and it have it
after writing few word like Route::.... if will complite the words
🤷 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
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.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