Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » convert long string to multi-line string(tool/pluging or macro?)
convert long string to multi-line string [message #1087303] Thu, 15 August 2013 12:46
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

Hello,

most of my code is C (not pure C, but C-like syntax scripts) and SQL
and often my typical steps are:
1. develope and debug massive SQL query.
2. Move this SQL as a string to C code
3. Move SQL strng from C code to SQL tool, add/update the query and put this into C code again.

and I need to perform the convertion from SQL long query to C string:
sql: select * from mytable where somthing <> ''
с string: string strQuery = "select "
+ " * "
+ " from "
+ " mytable "
+ " where "
+ " something <> ''";

is there tool/plugin for eclipse to perform this formatting to/from?
Previous Topic:Indexer and ^Z (EOF)
Next Topic:No Console Output (MinGW, CDT)
Goto Forum:
  


Current Time: Tue Sep 16 11:45:01 GMT 2014

Powered by FUDForum. Page generated in 0.01604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software