Bug 579654 - Document that -noSplash can be used to omit splashscreen in CDT formatter command line application docs
Summary: Document that -noSplash can be used to omit splashscreen in CDT formatter com...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-doc (show other bugs)
Version: 10.6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on: 552495
Blocks:
  Show dependency tree
 
Reported: 2022-04-10 21:37 EDT by Geoff Alexander CLA
Modified: 2022-04-11 20:35 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Alexander CLA 2022-04-10 21:37:12 EDT
I'm using the Eclipse CDT command line formatter as documented at https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_format_app.htm.  I've found that the command line formatter requires that -data option be specified.  The -data can refer to an empty directory or an existing Eclipse workspace.  Is this to be expected?  If so, the command line formatter documentation should be update to indicate this.

I've also found that in order to prevent the Eclipse splash screen from being shown, the -nosplash option needs to be specified.  I would also suggest that the documentation be updated to say this. 

I'm using CDT

   Version: 10.6.0.202203091838
   Build id: 20220309-1838

under

  Eclipse IDE for C/C++ Developers (includes Incubating components)
  Version: 2022-03 (4.23.0)
  Build id: 20220310-1457
  OS: Linux, v.5.3.18-150300.59.60-preempt, x86_64 / gtk 3.24.20
  Java vendor: Eclipse Adoptium
  Java runtime version: 17.0.2+8
  Java version: 17.0.2

on openSUSE Leap 15.3.
Comment 1 Jonah Graham CLA 2022-04-11 20:35:18 EDT
Thanks for the bug report. The JDT formatter is the basis of the CDT one and I fixed the JDT one in Bug 543363 and that change needs to be pulled into the CDT one. Please follow Bug 552495 (and consider providing a gerrit :-)

I'll leave this bug open for the fixes to the documentation that need to happen (to JDT too - https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/tasks/tasks-231.htm)