Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi Prism/IDE/Code Editor    [ Add a report in this area ]  
Report #:  74040   Status: Open
Code completion broken when window class code in folder
Project:  Embarcadero Prism Build #:  3.0.17.591
Version:    1.0 Submitted By:   Mark Tiede
Report Type:  Issue Date Reported:  5/18/2009 8:05:28 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    32 Bit Internal Tracking #:   269484
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Window class code stored in a folder breaks the code completion.  Named Xaml elements are not listed as choices when in the source code for the window class.
Steps to Reproduce:
1. Create a WPF project.  
2. Right-click on the project in the solution explorer.
3. Create a new folder.
4. Right-click on the newly created folder.
5. Add a new item.
6. Create a new Window(WPF).
7. In xaml designer, add a button and give it a name of "Mybutton"
8. Go to the window pas file and and type "My" and then try to find "MyButton" in the code completion choices.

The named button doesn't show up and should.
Workarounds
None
Attachment
None
Comments

Daniel Kram at 11/19/2009 12:19:47 PM -
Same issue with Silverlight 3.0 and XAML files. Where is the myfile.g.pas file in the project?

Server Response from: ETNACODE01