Hacker News new | ask | show | jobs
by zxcvcxz 3664 days ago
I just opened a project in VSCode, closed the VSCode, deleted the project, and now when I try to open VScode the program won't load. Did I break it?

Also, how do I autocomplete using suggestions from other files within the project directory?

3 comments

Do you mind filing that issue? https://github.com/Microsoft/vscode/issues/new
No idea about that.

For me autocomplete works out of the box in all projects. There is also a bulb next to the file type in the bottom right corner which suggests to create a jsconfig file for you for better intellisense support. I haven't noticed any difference after creating it though. VSCode makes JS suffer able for me :P

For VSCode crashing, no suggestions since I've never seen it myself. You could try deleting the config files in your "home" directory and run from scratch.

Which language are you trying to autocomplete. For some like Javascript/Typescript, it works out of the box. For many like Golang, C++, Python you need to install a plugin but takes just a few seconds. Also for autocomplete to work across files, I think you many need to open the whole directory ("file/open folder..." menu item.)