Menu

How to add AStyle into tools when filepath contains spaces?

gamesover
2012-10-24
2012-10-25
  • gamesover

    gamesover - 2012-10-24

    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!

     
  • gamesover

    gamesover - 2012-10-25

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.