Skip to main content
Visitor II
September 27, 2023
Question

Safe to use Visual Studio as code editor while CubeIDE open?

HI
I've basically just got a really simple question. I've tired using visual studio as a code editor and it's been working just fine. But now suddenly i need to include "stdint.h" in some of my files, because the indexer does not find int types such as uint8_t and uint32_t etc anymore.. So i figured this might be caused by the fact that the CubeIDE is not fond of external editor editing the files?
Anyone got any experience/knowledge with this? Do i need to close Cube every time i want to edit?

    This topic has been closed for replies.

    1 reply

    TDK
    September 27, 2023

    CubeIDE doesn't care if you have files open elsewhere.

    uint8_t is not a basic type. You need to include stdint.h in order to define it. However, this file is included in the CMSIS header file, so VS should be able to find it, provided you include that file before using the uint8_t type.

    "If you feel a post has answered your question, please click ""Accept as Solution""."