Custom target breaks the intellisense?

Hi,

When I add a custom_targets json into my project, the intellisense stops working. When I delete (rename) the json, it starts working again. Unfortunately I dont know how to debug it further.
With an intellisense I mean finding & highlighting errors, hinting, code completion, etc.

MBed studio 1.4
All tools are up to date

Tool Name Version Status
ARM Compiler 6.15 up to date
Clangd 10.0.0 up to date
Example projects 1.9.2 up to date
GDB client 6-2017-q2-update up to date
Git 2.30.0 up to date
Mbed Library Cache 1.9.2 up to date
Python tools 0.6.0 up to date
Debug Packs 1.1.0 up to date

Content of my custom_targets:

{
    "RD_GSM_G1": {
        "inherits": ["NUCLEO_L152RE"],
        "device_name": "STM32L152RE",
        "detect_code": ["0711"],
        "overrides": {
            "clock_source": "USE_PLL_HSE_XTAL|USE_PLL_HSI"
        },
        "config":
        {
            "hse_value": {
                "value": "16000000", 
                "macro_name": "HSE_VALUE" 
            }
        }
    }
}

Is this a bug or feature? The absence of intellisense makes the development a little bit harsh.
Thanks

1 Like

Hi Rudolf,

Thank you for reporting this issue and apologies for not answering sooner. Yes, C/C++ intellisense is not enabled for custom targets at the moment. We are working on adding it.

Thanks,
Arek - Studio team

2 Likes

Hi Arek,

Do you have a timeline for it? You have indicated there is a solution. For me this is only valid when the solution is available to us.

Best regards, Hans.

To let you know I have same issue occurring now, so if they are working on it is a snail pace. I have all the latest releases and updates. Based processordiscovery is the b-l4s5i-iot01a.

Any update on time frame?

Still broken!

Hello @arekzaluski,

Is there any update for this feature ?

It still doesn’t work with the latest Mbed Studio version (1.4.5).

Thanks in advance.
Regards.

Hello,
After 3 years I came back to mbed and I see nothing has changed.
Do you have any update on the timeline? Is it in any roadmap?

Thanks in advance

Hello Rudolf,

yeah, changing too much

BR, Jan