this post was submitted on 15 Jun 2023
5 points (100.0% liked)

Visual Studio Code

158 readers
2 users here now

founded 4 years ago
MODERATORS
 

I've been leaning pretty heavily on ChatGPT to write an app using a couple of frameworks I've never used before. I'm treating it as an experiment, I know I'm not learning as much as I could, but it's been fun.

I find myself writing

I have file2.js

(paste code here)

And file2.js

(paste code here)

How do I do the thing?

Is there a vscode plugin which has access to all the files in my workspace (or all the open files in my editor) so that I can just refer to them by filename?

How do I do the thing in file1.js and file2.js

That's nirvana, if that's not a thing, then I'm open to hearimg about other good options.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 1 year ago (1 children)

Hmm I don't think that exists yet. The closest thing is GitHub copilot. Which costs 10 euro a month.

There's these official Vscode extensions

GitHub copilot nightly=autofill(most important one honestly)

GitHub copilot chat=gpt inside Vscode with context of open files I think? But not entire project . And GitHub copilot labs=handy for thinks like writing docs and adding typescript types

[โ€“] ThreeHalflings 2 points 1 year ago

Thanks I've been meaning to check out copilot, I'll give it a shot.