I added AStyle into tools but failing to find sourcefile. I guess because my cpp files' path contains spaces, such as "C:\Documents and Settings\Ken\My Documents\CS Book\C++ Premier\GCC\1\add.cpp". I sets parameters of "Edit Tools Entry" as "<SOURCENAME>", but did not work. I even set directly as "C:\Documents and Settings\Ken\My Documents\CS Book\C++ Premier\GCC\1\add.cpp", still no luck. Kindly help me out. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found the reason. In cmd line, you need a "" to contain the long file name with spaces.
However, another problem is coming. I found dev C++ cannot auto reload new file after changed by asytle. I have to close and reopen the file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added AStyle into tools but failing to find sourcefile. I guess because my cpp files' path contains spaces, such as "C:\Documents and Settings\Ken\My Documents\CS Book\C++ Premier\GCC\1\add.cpp". I sets parameters of "Edit Tools Entry" as "<SOURCENAME>", but did not work. I even set directly as "C:\Documents and Settings\Ken\My Documents\CS Book\C++ Premier\GCC\1\add.cpp", still no luck. Kindly help me out. Thanks!
I found the reason. In cmd line, you need a "" to contain the long file name with spaces.
However, another problem is coming. I found dev C++ cannot auto reload new file after changed by asytle. I have to close and reopen the file.