[anjuta-list] Formatting source code inside Anjuta
- From: Jason Martin <agrellum gmail com>
- To: anjuta-list gnome org
- Subject: [anjuta-list] Formatting source code inside Anjuta
- Date: Fri, 22 May 2015 17:17:18 -0400
Just a tip that could be expanded on for using uncrustify to format source code inside Anjuta.
Vala Example: Could be more fancy using the $variables but you will get the idea.
Store a default .uncrustify.cfg in your home directory. (Mine is setup for Vala)
Anjuta > Edit > Preferences > General > Installed plugins
Enable the Tools plugin
Now scroll down the side pane and click on Tools Icon
Click New button
Name: uncrustify
Command: uncrustify
Parameters: -l vala
Standard input: Current buffer
Standard output: Replace buffer
Standard error: Popup dialog
Click the OK button
Now it will appear in the Tools menu on the main toolbar.
Just did not see it posted anywhere.
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]