Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
IDE
Add Component Template
Background compile
Batch file target
Block Completion
Build Tools
Caliber
Class Completion
Class Explorer
Code Browsing
Code Completion
Code Editor
Code Explorer
Code Parameters
Code Templates
Compiler Message Window
Deployment Manager
Dialogs
Direct
Docking
File Browser
File Handling
Form Designer
Help
History View
IDE Insight
Memory Issues
Menu Designer
Menus
Module Manager
Multi-Monitor Support
Object Inspector
Object TreeView
Open Tools API
Packages
Performance
Printing
Project Explorer(old Object Browser)
Project Management
Refactoring
Repository
Save Desktop
Search
Start Page
Starteam
Startup/Shutdown
Structure Pane
System Resources
ToDoList
Tool Palette
Toolbars/Status Line
Translation Tools
Unit Testing
Version Control
VersionInfo
Views
Visual Form Inheritance
Workgroup(PVCS)
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Code Templates
[ Add a report in this area ]
Report #:
87788
Status:
Closed
var template does not work
Project:
Delphi
Build #:
15.0.3890.34076
Version:
15.0
Submitted By:
Marcelo Varela
Report Type:
Basic functionality failure
Date Reported:
9/4/2010 2:57:23 PM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
278446
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
29
Description
var template in Code Template does not work. In all places where this template (var) is used not work, ex. "for" template.
The xml config file "inlinevar.xml", normally in "C:\Program Files\Embarcadero\RAD Studio\8.0\ObjRepos\en\Code_Templates\Delphi" is identical to the 2010 release. In all places where define "DeclareVariable" does not work too.
Steps to Reproduce:
01. Create a new Delphi VCL Forms Application;
02. Drop a TButton component on the Form;
03. Give a double click in TButton's OnClick event;
04. In any place of code between "begin" and "end" type "var" and press "tab key";
05. The Sync Edit Mode is turn on;
06. Type a name to new variable;
07. Press "tab key" again;
08. Type the data type of new variable;
09. Press "tab key" again and template does not work.
Workarounds
None
Attachment
None
Comments
Dalija Prasnikar at 9/11/2010 12:53:52 AM
-
Other code templates are not working also. I have problems with region and comment templates in implementation section (when used outside methods), and sometimes they don't work in interface section also. Code templates that have auto invoke seem to work more often that the ones that have manual invoke.
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us