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.

MSP432P401R: CCS Version: 9.2.0.00013 - Print Margin Column Setting Inoperative (Linux)

Part Number: MSP432P401R

On Linux, with CCS  Version: 9.2.0.00013,

The editor setting for Print Margin Column does not changes the print margin shown in the editor. Despite changing the setting to 90 from the default of 80, the print margin stays at column 80. I can change the color for the print margin and turn it on/off, but no matter what I set for the column, the print margin displays as column 80. The setting at issue is:

The print margin column shown in the editor window is:

I have tried all combination of setting with letting editor override column width and it makes no difference.

Second issue is there is no autocomplete on Linux? (There is no Content Assist available?)

  • Bug https://sir.ext.ti.com/jira/browse/EXT_EP-8640 was reported for the same issue with CCS 6, and that bug is "Unresolved".

    https://e2e.ti.com/support/tools/ccs/f/81/p/541288/2059619#2059619 has a work-around found at the time, by directly editing an Eclipse preferences file, but I haven't checked if still works with CCS 9.2

  • Yes, that workaround does in fact allow you to change the print margin display on linux in CCS Version: 9.2.0.00013. Sigh, so I guess it is the same bug and still the same unfixed status. At least we have a workaround. Thank you for the link.

  • Ha! The bug that won't die! Indeed, navigating to /opt/ti/ccs920/ccs/eclipse/configuration/.settings/org.eclipse.ui.ide.prefs and setting org.eclipse.cdt.core.formatter.lineSplit=90 does work. (set to whatever value you want to margin rule affixed at) After the Linux Kernel coding style changed to allow 100 chars per-line (from 80), it is difficult to see the margin just sit there stuck at 80. I don't quite like 100, but 90 is a happy medium that prevents wrap and scroll on sites like StackOverflow, so it is useful to have that as a guide.

    Hopefully, one of these days this bug can get fixed. It seems like a simple matter to just have eclipse update the file (or create a local version for the user that will overwrite the system config if the user doesn't have privileges to modify the system file)

    This at least does provide a viable workaround.