Closed kurainisei closed 4 years ago
Hi @kurainisei ! it should work with the sketch.js file as is - no need to switch to Typescript. Can you confirm that there's a file called jsconfig.json
in your project folder? If so, can you paste it's contents into a comment here?
Uhm, no, there is no jsconfig.json file in the project folder. I tried to create a new project but I still only get the usual P5js files (index, sketch, style and the libraries folder)
Can you check what version you have installed? The latest is 1.2.2. If that's what you've got, can you let me know what OS you're running?
On Fri, Sep 4, 2020 at 2:58 PM Federico Fasce notifications@github.com wrote:
Uhm, no, there is no jsconfig.json file in the project folder. Maybe I'll try again and see if it creates it?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/antiboredom/p5.vscode/issues/11#issuecomment-687324542, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACUGHOEW2JEAN537CJD63DSEE2EHANCNFSM4QWGJEPQ .
--
-- Sam Lavigne http://lav.io
Sure, it's version 1.2.2 on Windows 10 (with latest updates). I also tried to reinstall the extension but it's still not working.
Must be a bug then! I haven’t tested properly on windows... I’ll see if I can fix it up this weekend.
@kurainisei I think this should be fixed now - can you update to the latest and see if it works?
Yes, it works now! Thank you for the support!
Hi there! I've just installed the extension and created my first project but for some reason autocomplete is not working. I tried to change the sketch.js file from js to Typescript (since in the description it says that autocomplete works through typescript) but unfortunately I'm no typescript expert. Is there something else I missed and I need to set up in order to make autocomplete and reference work? Thanks!