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.

CCS/MSP432P4111: Editing SYSBIOS .cfg files when the Find/Replace dialog is open

Part Number: MSP432P4111

Tool/software: Code Composer Studio

G'Day all,

This relates to CCS9.2 (though I have seen these same issues in earlier releases)

I have a couple of issue that arises when editing SYSBIOS .cfg files.

1.  How do I configure CCS so that when I double click on a .cfg file in the project explorer pane, that file is always opened using the XDCONF GUI (rather than opened as a text script file).  It seems hit and miss.  Sometimes I get GUI, sometimes the text editor.  I can manually force use of the GUI by right clicking on the .cfg file, selecting "Open With" then XDCONF, but I'd rather always get the GUI.

2. Open at a .cfg file as a script ("cfg script" tab of XDCONF) and press Ctrl+f to open the search/replace dialog and enable incremental search.  Search for something in the file that is not currently on the screen.  The editor will scroll down to where that item is found.  Now click on the editor window.  When I do this, the editor window immediately jumps away from the search result to some other part of the file.  This behavior does not seem to occur for other file types and makes searching and editing difficult.

Cheers

Julian

  • Hello Julian,

    Julian Kolodko said:
    1.  How do I configure CCS so that when I double click on a .cfg file in the project explorer pane, that file is always opened using the XDCONF GUI (rather than opened as a text script file).  It seems hit and miss.  Sometimes I get GUI, sometimes the text editor.  I can manually force use of the GUI by right clicking on the .cfg file, selecting "Open With" then XDCONF, but I'd rather always get the GUI.

    When right-clicking on the .cfg file and selecting "Open With", try select "Other" instead. Then specify that you always wish to use XGCONF for opening .cfg files:

    Julian Kolodko said:
    2. Open at a .cfg file as a script ("cfg script" tab of XDCONF) and press Ctrl+f to open the search/replace dialog and enable incremental search.  Search for something in the file that is not currently on the screen.  The editor will scroll down to where that item is found.  Now click on the editor window.  When I do this, the editor window immediately jumps away from the search result to some other part of the file.  This behavior does not seem to occur for other file types and makes searching and editing difficult.

    This is a "feature" of the XGCONF cfg script editor. It is linked to the Outline view. If you select an item in the Outline view, it will highlight the first relevant entry in finds in the cfg file. And it will always jump back to that line when switching back to the editor from another view context (or search dialog). In my screenshot below, notice how "BIOS" is selected in the Outline view. Hence line 15 is also highlighted. And I will always jump back to line 15 when coming back to the editor.

    If I selected "Event" in the Outline view, it would be line 20 that is highlighted, and I would always jump back to line 20. Note that when opening the cfg file in XGCONF the first time, it will default to "BIOS". 

    Now the real issue is that if I unselect the item (or just close the Outline view), it will remember the last item that was selected and get stuck there. There is no way to "un-link" the Outline view with the XGCONF cfg editor (even if the Outline view is closed). I think this is a bug. There should be an option to "un-link". I will file a bug for this.

    Thanks

    ki

  • Ki said:
    I will file a bug for this.

    I filed a bug. Tracking ID: CCSIDE-3744

    Thanks

    ki

  • Thank you for the quick feedback!  That is very helpful!