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

Intellisense should suggest classes that are in the loaded projects/namespaces + add using #17006

Closed
DustinCampbell opened this issue Feb 7, 2017 · 2 comments
Labels
Area-IDE Feature Request Resolution-Duplicate The described behavior is tracked in another issue

Comments

@DustinCampbell
Copy link
Member

From @CarlosTorrecillas on October 15, 2016 8:53

Environment data

dotnet --info output:

Product Information:
Version: 1.0.0-preview2-003131
Commit SHA-1 hash: 635cf40e58

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64

VS Code version: 1.6.1
C# Extension version: 1.4.1

Steps to reproduce

  1. Create a public class under a namespace of one of your projects.
  2. Go to another project /different namespace and on a different class try to create an instance of the class you created on step 1.

Expected behavior

Intellisense to show the class created previously suggesting it and if I select it, the relevant using namespace should be added to the file.

Actual behavior

You need to type the name of the class and then you can quick fix to add the namespace.

Copied from original issue: dotnet/vscode-csharp#825

@DustinCampbell
Copy link
Member Author

This is a nice feature request, though I wouldn't add it without also adding it to Visual Studio. This should probably be moved to https://github.com/dotnet/roslyn.

@Pilchie
Copy link
Member

Pilchie commented Feb 15, 2017

This is a duplicate of #7053.

@Pilchie Pilchie closed this as completed Feb 15, 2017
@Pilchie Pilchie added the Resolution-Duplicate The described behavior is tracked in another issue label Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Feature Request Resolution-Duplicate The described behavior is tracked in another issue
Projects
None yet
Development

No branches or pull requests

2 participants