Skip to main content


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 MaurerFriend
Messages: 29
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:Help with CDT on Windows 7 x64
Goto Forum:
  


Current Time: Wed Apr 24 16:10:52 GMT 2024

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

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

Back to the top