mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
7 lines
414 B
Python
7 lines
414 B
Python
loadModule('/System/UI')
|
|
while getActiveEditor():
|
|
# We need to cleanup twice. The first one may remove some code (like unneeded
|
|
# type parameters) that then needs to be reformatted.
|
|
executeUI("org.eclipse.jdt.internal.ui.actions.AllCleanUpsAction(getActiveEditor()).run()")
|
|
executeUI("org.eclipse.jdt.internal.ui.actions.AllCleanUpsAction(getActiveEditor()).run()")
|
|
executeUI("getActiveEditor().close(True)")
|