Hi Team!
Is there any option to view my code and edit it in VSCode from Code-composer studio?
I see that there is an option but when I choose it, crashes all the time! Can you help me fix this?
Best Regards,
Madhurya
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team!
Is there any option to view my code and edit it in VSCode from Code-composer studio?
I see that there is an option but when I choose it, crashes all the time! Can you help me fix this?
Best Regards,
Madhurya
Madhurya,
What crashes?
If I right click on a source file I can select "Open With -> Other"
I then selected "External Programs". VS Code was not in the list for me so I clicked on browse and then selected the executable for the application. It then shows up like this:
I clicked OK and then the file opened in VS Code. I can check the box for it to do this for all *.c files.
However I find it does not always open the files in VS Code. For the next file I find that I have to right click on it in the project explorer and select to use VS Code. After doing that a couple times it then seems to remember. On Windows this may say "Code" for you instead of "Visual Studio Code" as the name of the executable is different.
If you like the VS Code interface another option is to use the new CCS Cloud on https://dev.ti.com. It is based on Eclipse Theia which uses the same editor as VS Code.
Regards,
John
Madhurya,
Sorry I don't think I can help with this as it is VS Code crashing.
You may want to just create a project in VS Code that has the same source files as your CCS project. Then when debugging the files are open in CCS and when you are editing you just use VS Code. When you save files in VS Code, CCS will detect the file change and reload.
The other option I mentioned was to use CCS Cloud on dev.ti.com which has an option to use a Theia based environment. This is the same editor as VS Code.
Regards,
John