Thanks René, here are my Sublime settings:
1.- LDoc - File
{ //create docs for the current file "shell\_cmd": "lua ~/LDoc/ldoc.lua '$file\_path' -p '$project\_base\_name' -d '$project\_path/doc' -f 'discount' " }
2.- LDoc - Project
{ //create docs for the current project "shell\_cmd": "lua ~/LDoc/ldoc.lua '$project\_path' -p '$project\_base\_name' -d '$project\_path/doc' -f 'discount' " }
I did a TextExpander snippet to run LDoc from Terminal easily by copying and pasting the project path and it seems to be working well, here is the output I get when I run it form Terminal, no errors so far:
lua /Users/hectorgabrielsanchezperez/Documents/CoronaSDK\ Projects/GitHub/LDoc/ldoc.lua /Users/hectorgabrielsanchezperez/Desktop/test -p hectorproject -d /Users/hectorgabrielsanchezperez/Desktop/test/docs -f discount output written to /Users/hectorgabrielsanchezperez/Desktop/test/docs
I’m sure I have a wrong setting in Sublime that doesn’t let me run it as I can from Terminal.
No big deal, I can run it fine from Terminal, it’s just that it’d be nice to run it from Sublime