Home Download Buy Blog Forum Support

Auto Fromat plugin

Auto Fromat plugin

Postby vim on Sun Sep 21, 2008 1:16 pm

I have made an Auto Format plugin, which is a simple wrapper around Artistic Style (http://astyle.sourceforge.ne)

Install:
========
Just extract files into %APPDATA%\Sublime Text\Packages\User

and add the following to Default.sublime-keymap:
<binding key="ctrl+alt+f" command="autoFormat"/>

Use:
====
press <ctrl+alt+f> on c/c++/c#/java files to auto format them

Note:
=====
This plugin use the Artistic Style application, can be found on http://astyle.sourceforge.net


enjoy!
Attachments
AutoFormater.zip
Auto Format for C/C++/C# and Java source code
(132.79 KiB) Downloaded 343 times
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Auto Fromat plugin

Postby vim on Mon Sep 22, 2008 1:22 pm

yeap. oops. i lacked svn client, now i have installed it at home, so from now i will commit there.
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Auto Fromat plugin

Postby vim on Mon Sep 29, 2008 7:02 am

i have updated the plugin in the community repository, to use pyhton's ctypes and a dll version of AStyle.

enjoy!
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 5 guests