Author Topic: Make "View Code" work on partial class?  (Read 3444 times)

Weedman

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Make "View Code" work on partial class?
« on: April 12, 2006, 08:43:10 pm »
I posted the message below on the general board, where another user confirmed that he had the same problem in C# and suggested that I post it here as a suggestion.  I guess the suggestion is to force EA to look in the file linked to the class we are trying to view.
------------------------------------------------------------------
I am using EA 6.1.789 and MDG Integration for VS2005.

Most of the UserControls I build in VB.NET have auto-generated partial classes in files named something like MyControl.Designer.vb.  The code I write goes into files named MyControl.vb.  These show up as two different classes of the same name in EA 6.1.789.

When I click "View Code" on the context menu in EA it works fine if I am trying to view the code for the EA class generated from MyControl.Designer.vb.   But if I try to "View Code" for the EA class generated from MyControl.vb (which is almost always what I want to do), EA takes me to the editor for  MyControl.Designer.vb in VS anyway.  If I try to "View Code" for a specific operation in the MyControl.vb class -- one that doesn't exist in MyControl.Designer.vb -- EA tells me it can't find it.

I have checked the file names in the class properties and they point to the correct files.  Any idea what I am doing wrong here?  I'd really like to be able to go directly to the code like I used to.

Phil_Bachmann

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: Make "View Code" work on partial cla
« Reply #1 on: April 19, 2006, 05:39:33 pm »
Hello Tucson,

When you say, "Like you used to", what changed between then and now?  (eg. Are you using a different version).

Best Regards,

Phil Bachmann
Sparx Systems