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 #18206 is a reply to message #16531] Tue, 16 September 2008 14:00 Go to previous messageGo to previous message
amando1957 is currently offline  amando1957
Messages: 57
Registered: November 2007
Location: Wien/Vienna/Viden
Member
Hi tojocky,

You are so right, I would appreciate that too. It would perform more than a simple macro recorder. I've seen a very good solution for in the editor of Code::Blocks. A simple key-value-list with the keyword-text-pairs will do.

for = for loop
ffor = double for loop
etc.

the coding there was:
- $ is the placeholder for user-entries queried later
(can be one or more), e.g. for var names.
- the | is where the caret will be put.
- tabs typed where shown (while the entry) as --->.

A usual key for inserting is "Ctrl + spacebar" or alike.

kind greets
Martin
 
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:23:32 CEST 2025

Total time taken to generate the page: 0.03902 seconds