How do I find definition?

Comments

24 comments

  • Avatar
    Bill Christie

    How do I load the indexer? 

    0
    Comment actions Permalink
  • Avatar
    Henk Bouman

    Using version 2.2   'no indexer loaded'   with version 2.1 never got this error.

    How do I load the indexer, I can't find a solution for it, also not on this support/discussion forum

    0
    Comment actions Permalink
  • Avatar
    Bill Christie

    Overall, I really like the new feel of V2.2.  Although the "Go to definition" doesn't seem to work correctly, ALT+U now searches through dependencies by default, and now I can usually find the item I'm looking for a lot more quickly than I could with V2.1.

    0
    Comment actions Permalink
  • Avatar
    Bryan Audiffred

    I second this question.

    0
    Comment actions Permalink
  • Avatar
    Marco Jakobs

    Same problem here ... did anyone find a solution?

    0
    Comment actions Permalink
  • Avatar
    Igor Pokorny

    Asked Paul about it I got the answer

    One more question. The function "Go to definition" does not work in version 2.1.2 and higher with a notice "indexer not loaded". Is something wrong with my Linux installation?
    
    No, this is because we are moving to clang for code completion and source indexing.
    0
    Comment actions Permalink
  • Avatar
    Vitaliy

    The same on Windows installation (version 2.2.0).

    0
    Comment actions Permalink
  • Avatar
    nicola giacobbe

    Excuse me but what does it means: "...we are moving to clang for code completion and source indexing."?

    Should we just await for the next release or there is some setting to be done on our computers to allow the 'Go To Definition' to work? 

    0
    Comment actions Permalink
  • Avatar
    Esaias Pech

    Any updates on this issue?

    0
    Comment actions Permalink
  • Avatar
    Soeren Apel

    Paul said that v2.1 offered indexing, v2.2 is lacking it and v2.3 will have it again.

    0
    Comment actions Permalink
  • Avatar
    Wayne Clarke

    We have what we believe to be very large projects (40+ modules) and I must say, not having indexing is a major blow for us using the Alt+G ("Go to Definition") command as well as the Alt + (back arrow) to return.  May have to stick with V2.1.

    0
    Comment actions Permalink
  • Avatar
    David Masson

    Please can we have an update on when this might be working again?

    David

    0
    Comment actions Permalink
  • Avatar
    Vitaliy

    UP!

    Any updates on this issue?

    0
    Comment actions Permalink
  • Avatar
    Michael

    +1

    0
    Comment actions Permalink
  • Avatar
    teachop

    If v2.3 is required to get the indexer to work, next question is when will v2.3 be released?

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    2.3 is released; 3.0 is built and published each night.

    0
    Comment actions Permalink
  • Avatar
    C Kirmse

    I'm using 2.3 but still not working, after SECONDS I get "Definition of '   ' not found"

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    2.3 has the old Source Indexer back, as was requested.  3.0 has the new source indexer that is much more precise.  The old indexer will not find macros or locals or deal with some aspects of C++ well.

    0
    Comment actions Permalink
  • Avatar
    Hampton Maher

    I guess the question now is when does 3.0 come out?  I'm still on the 30 day evaluation.  It's my understanding that major version releases are a paid update, so if I buy 2.X now I'll have to pay again when 3.0 is out.  Is this correct?

    0
    Comment actions Permalink
  • Avatar
    Dreamsmatrix

    A poor man's way of finding definitions until indexer and 'Go To Definition' function is fixed...Do the following...Goto Search Find in Files...Ones that dialog pops up, you will have to find the directory where CrossStudio installed the support header files. This will most always be in your : C:\Users\your_user_name\AppData\Local\Rowley Associates Limited\CrossWorks for ARM. Copy and paste that link into your Folder: text box...You will have to select the option : in - Folder and Subfolders. In the Look for files matching, I generally type the support header for the platform I'm working on, which in this case happened to be: Look in Files Matching : stm32f10x.h

    You can also select the drop down and pick *.h

     

    This works really well, to find the definitions you are looking for until they fix the 'Go to Definition' function to work better! I have attached a snapshot of what I just iterated above! Hope this helps someone...

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    The simplest way to find all uses of a symbol is to place the cursor on a word and use Alt+U which sets up a Find In Files, Entire Solution, with Whole Word, Match Case options.  If you select a range of text and use Alt+U, it does a Find in Files, Entire Solution but without whole word and match case.

    The 3.0 wavefront version is available and we are accepting feedback; links already posted somewhere here.

    0
    Comment actions Permalink
  • Avatar
    Joseph Gorse

    I would like to test the v3 Mac build, please. I am a professional developer and I prefer Mac OS X. Cheers.

    0
    Comment actions Permalink
  • Avatar
    Blair Kingsland

    Sometimes Go To Definition works (?). But most times it does not work. Find In Files often gives me too many results and is awkward. How to enable Go To Definition in CW v3.3.1?

    0
    Comment actions Permalink
  • Avatar
    peets

    just made a request "no indexer" was displayed in the References window. alt-right mouse click and find did not work (because of the missing indexer).

    Paul's Hint "place the cursor on a word and use Alt+U" helped finding the References. From that moment "indexer"  related functions worked again. 

     

    0
    Comment actions Permalink

Please sign in to leave a comment.