Eclipse or VScode Project?

RabbitRF
Posts: 15
Joined: Tue Mar 01, 2022 12:28 am

Eclipse or VScode Project?

Postby RabbitRF » Sat Oct 08, 2022 9:33 am

There are lots of open source code projects in GitHub, how can I determine it is Eclipse or VScode project?

username
Posts: 488
Joined: Thu May 03, 2018 1:18 pm

Re: Eclipse or VScode Project?

Postby username » Sat Oct 08, 2022 8:54 pm

if its a vscode project there will be a .vscode folder.

RabbitRF
Posts: 15
Joined: Tue Mar 01, 2022 12:28 am

Re: Eclipse or VScode Project?

Postby RabbitRF » Sun Oct 09, 2022 11:53 am

without .vscode folder, it is Eclipse project?

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

username
Posts: 488
Joined: Thu May 03, 2018 1:18 pm

Re: Eclipse or VScode Project?

Postby username » Sun Oct 09, 2022 4:00 pm

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.

RabbitRF
Posts: 15
Joined: Tue Mar 01, 2022 12:28 am

Re: Eclipse or VScode Project?

Postby RabbitRF » Mon Oct 10, 2022 7:47 am

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" ?

username
Posts: 488
Joined: Thu May 03, 2018 1:18 pm

Re: Eclipse or VScode Project?

Postby username » Mon Oct 10, 2022 11:04 am

you dont need a " import" just manually copy the the files to your projects "src" folder

Who is online

Users browsing this forum: Elkfoot, Google [Bot] and 146 guests