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: CodeEditor, Assist++, Topic++ » Text Template / auto replace in code editor
Re: Text Template / auto replace in code editor [message #18260 is a reply to message #18250] Fri, 19 September 2008 12:55 Go to previous messageGo to previous message
cas_ is currently offline  cas_
Messages: 20
Registered: July 2008
Location: Poland
Promising Member
Yes, except that Ctrl+space might not be a good choice, while it's already used for autocompletion. Some IDEs simply use the Tab key for this purpose (Resharper for example).

It's great to have the possibility to quickly jump through remaining placeholders. For example, if you had a for loop template like this:

for( $init$; $cond$; $inc$ ) {
$body$
}

then the first placeholder ($init$) would be selected by default and ready to be replaced by something useful. Then, after pressing some special key (maybe the same as used for macro expansion), cursor would jump to the next placeholder ($cond$), highlighting it and preparing for replacement.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [BUG?] 1-liner functions are not supported by Assist++?
Next Topic: tooltip bug with assist++
Goto Forum:
  


Current Time: Thu Aug 07 10:24:57 CEST 2025

Total time taken to generate the page: 0.03664 seconds