Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiply enties for only one function #1

Open
idealist1508 opened this issue Mar 31, 2014 · 4 comments
Open

Multiply enties for only one function #1

idealist1508 opened this issue Mar 31, 2014 · 4 comments

Comments

@idealist1508
Copy link

Hi,

i have some shared assemblies. They are not a part of my solution. So i try this extension and i can navigate now to "external code" of shared assembly.
But solution-wide analysis dosn't work proper with it.
screenshot002

In navigation (ctr+t or F12) are also some identical entries:
screenshot003

Do you know work a round for this?

thanks.

@jberd126
Copy link
Owner

Can you confirm you have this problem only with the extension installed?

This extension is intended to include source code that is built with the project (i.e. source code that is not included in the project's files but is added later during the build) typical with generated code.

@idealist1508
Copy link
Author

I'm not sure. Maybe both.

I made 2 Project with a shared Class1. I add it to both assemblies as a Link.
(I think, It should be same that "external code" makes).
"Solution-wide analysis" and "Go to Definition" works perfect.
screenshot007
Only "navigation to type" (Ctr+t) has multiply entries.
screenshot008

@jberd126
Copy link
Owner

This behavior is ReSharper, not with "external code" extension.

You have two projects and added the same Class1 source file to both
projects. Class1 is local code as you've included it with both projects
and is the reason you see it twice when you navigate to the type (do notice
that the listing has test1 and test2 projects listed beside each search
result).

ReSharper supports navigating to external sources where you have the
compiled assembly but not necessary the source code. For more information:
http://www.jetbrains.com/resharper/webhelp50/Navigation_and_Search__Navigating_to_External_Sources.html

On Fri, Apr 11, 2014 at 12:04 AM, idealist1508 notifications@github.comwrote:

I'm not sure. Maybe both.

I made 2 Project with a shared Class1. I add it to both assemblies as a
Link.
(I think, It should be same that "external code" makes).
"Solution-wide analysis" and "Go to Definition" works perfect.

[image: screenshot007]https://cloud.githubusercontent.com/assets/4608274/2676668/99d4df54-c13e-11e3-8d73-eef5865f8173.jpg
Only "navigation to type" (Ctr+t) has multiply entries.
[image: screenshot008]https://cloud.githubusercontent.com/assets/4608274/2676678/d9ee5a34-c13e-11e3-8b0b-21d0cc64e658.jpg

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-40173323
.

@idealist1508
Copy link
Author

the reason you see it twice when you navigate to the type

Yes, this behavior is Resharper, but two other not.

I mean:

  1. solution-wide analysis works correct in the sample project, but not with "external code" extension.
  2. F12 (go to definition) works also correct in the sample project, but not with "external code" extension.

Maybe it is possible to add files with "external code" extension as a links?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants