In CodeWorker, can i print the result in command line environment?

Joined
Dec 2, 2010
Messages
3
Reaction score
0
I got a problem that I can only get the parsed result for extract_function.cwp by outputting a file but not directly getting the result in the command line environment. I tried modifying it by using traceLing to print the parsed result but it does not work. I also tried making a .cws to deal with it but I got a problem that I cannot pass the argument (the function to be extracted) into the cws. Is there any way to change the output stream to the command-line environment? Thank you very much.
 
Joined
Dec 2, 2010
Messages
3
Reaction score
0
or how can I extract a function. I tried regular expression in ruby, but the problem is that the matching stop at the first closing brace }, the following is the regex:
/((\w+)\s*(\w+)\s*\(([\w\s,<>\[\].=&':\/*]*?)\)\s*(const)?\s*\{([^\}])+\})/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top