Skip to content

Instantly share code, notes, and snippets.

@Ruzzz
Last active October 12, 2015 21:38
Show Gist options
  • Save Ruzzz/4090302 to your computer and use it in GitHub Desktop.
Save Ruzzz/4090302 to your computer and use it in GitHub Desktop.
My AStyle Settings (Notepade++,Visual Studio)
See http://sourceforge.net/projects/astyle/
Notepade++
Script for NppExec:
NPP_SAVE
cd $(CURRENT_DIRECTORY)
с:\apps\dev\AStyle\AStyle.exe -A1 -s4 -S -w -Y -m0 -M120 -p -H -U -k3 -W3 -xj -c -xy -Z -z1 "$(FILE_NAME)"
Visual Studio
Title: AStyle
Command: с:\apps\dev\AStyle\AStyle.exe
Arguments: -A1 -s4 -S -w -Y -m0 -M120 -p -H -U -k3 -W3 -xj -c -xy -Z -z1 $(ItemPath)
Initial directory: $(ItemDir)
Or for all files:
Arguments: -A1 -s4 -S -w -Y -m0 -M120 -p -H -U -k3 -W3 -xj -c -xy -Z -z1 -R $(ItemDir)*.h $(ItemDir)*.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment