In the templates tab of the configuration dialog, is there a way to denote/enter a tab characters in the text that makes up a template?
Thanks. I was kinda wondering if I'd need to do direct manipulation of the template files. This is OK I guess as these aren't things that change that much. By "tab entry" in the template, I mean for the output to actually place a tab key in its text. I use tabs in my source rather than spaces. I tried typing up a header template (for example) using tabs for my alingment. I then copied it and pasted it in the text input area of the template editor. Now, while it did show the appearance of accepting the pasted tabs, they were no where to be found when I then tried to insert a header (via the template) into my document. Thus...I don't know what to do. Anyway, I'll check out the areas you suggested.
OK, I checked out the INI files. Lots of good info in them. Here's an example of default template section in the C51.INI file.
[Templates] Count=4 Template 0="for";"for(|;;)\r\n{\r\n}" Template 1="while";"while (|)\r\n{\r\n}" Template 2="continue";"continue;" Template 3="if";"if (|)" Enable=1
FYI, I added this as a feature request for uVision3. Jon
Thanks Jon !
I realize the requests could really get out of hand and pile up, but... Another one I might recommend is the ability to double-click the items in "references and definitions" list in the source browser to take you to the source for that item. Right now, you have to right-click and select from a single-choice context popup. Its a bit cumbersom. I think, however, I speak on behalf of many that the uV3 improvements are great. Please pass that on to the devel team.