Book a Demo

Author Topic: View Code  (Read 3599 times)

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
View Code
« on: June 11, 2007, 06:33:07 am »
Hi

Does anyone know why the 'view code' facility on the EA Project Explorer page only works some of the time?

Graham

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: View Code
« Reply #1 on: June 11, 2007, 07:42:27 am »
Graham,

Please post these questions to only a single section of the forum. Most forum users read all the groups. If you're not sure of the best group, use the General Board - as you have been, but without posting to the other sections.

[You can use the Remove link at the top right of (the extra copies of) your message to accomplish this.]

This will also help consolidate answers and discussion in a single place, which increases the value of a thread to the entire community.

I do have an idea here, but I'll wait until you've culled your messages as I suggest above.

David
« Last Edit: June 11, 2007, 07:43:22 am by Midnight »
No, you can't have it!

thomaskilian

  • Guest
Re: View Code
« Reply #2 on: June 11, 2007, 11:30:52 am »
Properties / Filename ?

There's a Delete keyword near your post - in case you don't know.

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: View Code
« Reply #3 on: June 11, 2007, 09:22:19 pm »
Hi David

Apologies for forum misuse - I have deleted extra messages

Please can I have your thoughts on what my problem might be?

Graham

thomaskilian

  • Guest
Re: View Code
« Reply #4 on: June 12, 2007, 12:11:54 am »
Check Properties/Filename of the class. Does it point to the correct location?

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: View Code
« Reply #5 on: June 12, 2007, 12:27:09 am »
Yes
The problem appears to connected to 'const' method arguments

eg func(string s) will be found
  func(const string s) will not

???

thomaskilian

  • Guest
Re: View Code
« Reply #6 on: June 12, 2007, 12:59:25 am »
Now I'm a bit confused. Can you explain what exactly you don't see in which context? Is it just a part of the code?

Just a guess (if I assume you're talking of the outlining): Tools/Options/Code Editor/Parse -> Always
« Last Edit: June 12, 2007, 01:04:04 am by thomaskilian »

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: View Code
« Reply #7 on: June 12, 2007, 01:09:50 am »
Hi
Thanks for your interest

I have a VS solution containing several projects
I have associated these projects with a package in an EA model using the MDG link
I then use the 'view code' contect menu in the EA project Explorer window
It appears that for some methods and functions this does not work, whilst for others it does.
THe problem seems to have to with the 'const' modifier of function parameters

Graham

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: View Code
« Reply #8 on: June 12, 2007, 08:30:59 am »
Graham,

Ensure that you rebuild the project (or solution) on the VS side. Sometimes the integration link seems (see below) to depend on the EA model and the VS code being in synch.

I ran into this during an evaluation of the 2005 variant of the MDG link. Unfortunately I did not have time to completely characterize the problem, let alone find a general solution.

David
No, you can't have it!