Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I found this link http://live.gnome.org/Gedit/ExternalToolsPluginCommands#Source_Code_Automatic_Formatter where I was suppose to get a command for astyle to make gedit format Java or C# code. However, I am unable to get the right parameters for astyle. Even tried the combination for C language, but it just does not work.

Other gedit external tool scripts (like XML formatting) work fine.

Can anyone share his own script or trick to format Java or C# code?

share|improve this question

closed as too localized by Luis Alvarado Apr 9 '13 at 13:24

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.