James Phoenix
speaker
411 appearances
1 recordings
1 series
first heard Nov 2024
last heard Nov 2024
James Phoenix’s voice in public audio — every appearance, attributed to the second.
Trend
recordings per month · last 12 monthsNo recordings in the last 12 months.Older appearances are listed below; set an alert to hear about the next one.
Appearances
And uh it will highlight all of these syntax errors that you experience and type errors.
And one thing you can do is when Cursor generates code, uh you get it to generate the code and you restart your TypeScript server or your Pylance server or whatever language server you're running.
And then after it's done that, then if it's generated these errors, you go into the problems tab, hit control A, control C, or Cmd A and Command C, and then you go and just take all those errors and redump them back into Claude or some type of LLM.
So give that a go.
So the next time that you're experiencing problems because there's like a type error or like some type of syntax error, basically just get the LLM to generate the output.
output, as assuming you've got all the right context to start with, and then just say, I've got these types now after restarting my language server.
And you can do that by hitting Command Shift P or Control Shift P, depending on what we're on Windows or Mac.
And there'll be a restart TypeScript server or whatever the server is.
And you have to restart the TypeScript server because when you use Composer, can generate 10 files and it says that there these imports aren't actually there.
Um and then and then once you've restarted the language server, the number of problems will naturally decrease.
And you're left with uh basically typed problems, compile like compilation bugs, uh syntax bugs, uh and you can take all those and just dump them straight back in and you can work round in a loop a couple of times.
If it doesn't, if you if you can't if you do it about three more times or three or more more three or four more times, then it's generally uh you won't
find a solution but a one or two times yeah you can you can use the problems tab like that and it works like magic.
Anymore?
Oh my gosh, that is the perfect question.
Right.
So the the time to do that is when you're learning new primitives.
So if you're learning a new programming language, so like if I was gonna go and learn some more Rust or Go, I would turn off tab completion and I would code a vanilla like style, basically.
And the reason why is if you don't, the risk is you're basically being an engineering manager that's that's got a
a go intern but you don't know how to write go.
Showing 361–380 of 411 · page 19 of 21
← Previous
Next →