Page 1 of 1

Eclipse or VScode Project?

Posted: Sat Oct 08, 2022 9:33 am
by RabbitRF
There are lots of open source code projects in GitHub, how can I determine it is Eclipse or VScode project?

Re: Eclipse or VScode Project?

Posted: Sat Oct 08, 2022 8:54 pm
by username
if its a vscode project there will be a .vscode folder.

Re: Eclipse or VScode Project?

Posted: Sun Oct 09, 2022 11:53 am
by RabbitRF
without .vscode folder, it is Eclipse project?

Can I use VSCode to import those source code from Eclipse project to VScode project?

Re: Eclipse or VScode Project?

Posted: Sun Oct 09, 2022 4:00 pm
by username
without .vscode folder, it is Eclipse project?
if the person copied the entire project folder, then yes.
Can I use VSCode to import those source code from Eclipse project to VScode project?
all you need to do is create a new project in either IDE. Download the GIT .c / .h source files, and copy them into your new project folder. Eclipse will detect the new files automatically. However, VSC will not, you will need to add the .c files in your CMakeLists.txt file.

Re: Eclipse or VScode Project?

Posted: Mon Oct 10, 2022 7:47 am
by RabbitRF
Try to import github vscode sample project into ESP-IDF vscode to practice ,

But there is no option to import project in the menu "File", should I install some extensions to import existing vscode project?
such as "Platform IO IDE extension" ?

Re: Eclipse or VScode Project?

Posted: Mon Oct 10, 2022 11:04 am
by username
you dont need a " import" just manually copy the the files to your projects "src" folder