Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Feature request: complete C++ keywords and user-defined code
Feature request: complete C++ keywords and user-defined code [message #38751] Sun, 13 January 2013 15:09 Go to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Here's a an example of what I mean:
Type:
if


and press Ctrl+SPACE (or any other shortcut) and the IDE inserts:

[CODE
if (_ ) {

}
][/CODE]

_ is the cursor.

Besides this the user can define something like this in the IDE:

Quote:

if($1) {
$2
}


This can be a template for the if command configured in the IDE. $1 and $2 indicates where the cursor goes first and allows you to alternate between these places with some shortcut like Ctrl+J or something.

What do you think?

Re: Feature request: complete C++ keywords and user-defined code [message #38752 is a reply to message #38751] Sun, 13 January 2013 15:22 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 193
Registered: March 2010
Experienced Member
Hi lectus,

the first part of the feature exists in theide, check the menu Setup/Abreviation.
instead of Ctrl-Space, the shortcut is Ctrl-.

Regards,
omari



regards
omari.
Re: Feature request: complete C++ keywords and user-defined code [message #38754 is a reply to message #38752] Sun, 13 January 2013 16:59 Go to previous message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
omari wrote on Sun, 13 January 2013 09:22

Hi lectus,

the first part of the feature exists in theide, check the menu Setup/Abreviation.
instead of Ctrl-Space, the shortcut is Ctrl-.

Regards,
omari




Wow! Thanks!
That's exactly what I wanted!
U++ rocks.
Previous Topic: TheIDE crashes when a required DLL is not found!
Next Topic: namespace Upp and layout-designer problem
Goto Forum:
  


Current Time: Tue Dec 10 15:07:06 CET 2019

Total time taken to generate the page: 0.01196 seconds