sublimetext-codeformatter icon indicating copy to clipboard operation
sublimetext-codeformatter copied to clipboard

Possibly Format Entire Project

Open SecureCloud-biz opened this issue 11 years ago • 3 comments

First, I want to say Thank You.. before this Plug-in, I use to spend HOURS going thru code reformatting just to then re-read it.. I use k&r, love it... no problems at all, it's everything i was doing manually.

just curious if you could add a function that would process: 'a project', or 'a folder', or 'all open tabs'.. honestly any of those would work.

Thank You so much.

SecureCloud-biz avatar Aug 23 '14 17:08 SecureCloud-biz

as a temp solution you can use something like Hooks to hook the formatting cmnd to on file save ,and u just use save_all for all the opened tabs.

ctf0 avatar Oct 03 '14 16:10 ctf0

How would i do that? do you have a step by step? I would want to add a command to the menu, because some files i have open i dont want to save yet or all at one time.

I mean if not, thats fine.. i can just continue file by file.. it would make it alot easier tho for bigger projects.

Thanks.

SecureCloud-biz avatar Nov 18 '14 05:11 SecureCloud-biz

get a plugin call hooks then add the cmnd u want to the file syntax settings file settings -more > syntax specific -user so now either u save a one file or save all ,the cmnd u added will run.

ctf0 avatar Nov 18 '14 11:11 ctf0