Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Using the C++ code formatter from a terminal(Using the C++ code formatter from a terminal - exception)
Using the C++ code formatter from a terminal [message #1839737] Fri, 26 March 2021 19:43 Go to next message
Leonardo Pereira Santos is currently offline Leonardo Pereira SantosFriend
Messages: 1
Registered: March 2021
Junior Member
I'm trying to use the CDT code formatter from the command line:

eclipse.exe -nosplash -application org.eclipse.cdt.core.CodeFormatter -help

But I'm getting a
org.osgi.framework.BundleException: Exception in org.eclipse.cdt.core.CCorePlugin.start() of bundle org.eclipse.cdt.core.

Is there a way to call the formatter from the command line?

Many thanks!!!
Re: Using the C++ code formatter from a terminal [message #1848959 is a reply to message #1839737] Mon, 27 December 2021 06:27 Go to previous message
Nader Jafari is currently offline Nader JafariFriend
Messages: 13
Registered: December 2020
Junior Member
Remove -Dosgi.dataAreaRequiresExplicitInit=true from your eclipse.ini
Previous Topic:Source files not being parsed in imported cmake project
Next Topic:Can't resolve includes after IDE restarts.
Goto Forum:

Current Time: Mon Jan 30 19:07:31 GMT 2023

Powered by FUDForum. Page generated in 0.07244 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top