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.

  • TI Thinks Resolved

CCS: Question about CCS 8.x with C++ and the Open Declaration choice in the C++ code editor

Prodigy 250 points

Replies: 7

Views: 168

Tool/software: Code Composer Studio

Question about CCS 8.x with C++ and the Open Declaration choice in the C++ code editor.

In this example, shown in the graphic, LWString.cpp and LWString.h are in the project. The project builds successfully. However, in the C++ editor, right-clicking on WString.h and selecting “Open Declaration” gives the message in the bottom left about “Cannot find include file…” That include file is in the yellow highlighted location under Includes.

Is there a way to get Open Declaration working in this case?

 


  • CCS8.2 has not working indexer.
    Try with CCS8.3 .

    Best regards,
    Tom

    If I had answered to your question, please mark this post as Resolved.

  • In reply to Tomasz Kocon:

    Tomasz is correct about the indexer in CCSv8.2. Specifically, the issue is with C++ source files (which is applicable in your case). If you are indeed using 8.2, please try using 8.3

    Thanks
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training? Check out the CCS Training Site

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • In reply to Ki-Soo Lee:

    Hi, This CCS is Version: 8.3.0.00009, the latest version I can locate. Might there be another reason the indexing is not working?
  • In reply to Robert Woodruff:

    Robert, does the issue only occur when inside a header file? I suspect this is related to the issue mentioned in the link below:
    e2e.ti.com/.../2792354

    Thanks
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training? Check out the CCS Training Site

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • In reply to Ki-Soo Lee:

    Hi,

    Thanks for the speedy response. This issue occurs when the #include <WString.h> is in either a .cpp, .ino, or .h file.

    One thing I have noticed is that the right-click -> Open Declaration works for files included from msp430/include but not for those from cores/msp430.

    Might that be a clue?

    TY!

  • In reply to Robert Woodruff:

    I can't seem to reproduce this. There is no difference for me between the two paths in regards to opening the header file.

    Can you try using the Include Browser to see if you can successfully navigate to the header file from /cores/msp430?

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training? Check out the CCS Training Site

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • In reply to Ki-Soo Lee:

    Hello,
    I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).

    Thanks,
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training? Check out the CCS Training Site

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

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.