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

[VS] Guests do not get C#/VB intellisense in CSHTML/VBHTML files #59

Closed
Chuxel opened this issue Jan 27, 2018 · 6 comments
Closed

[VS] Guests do not get C#/VB intellisense in CSHTML/VBHTML files #59

Chuxel opened this issue Jan 27, 2018 · 6 comments

Comments

@Chuxel
Copy link
Member

Chuxel commented Jan 27, 2018

NOTE: Live Share currently has full intellisense for C#, JS, and TS files. See platform support for up-to-date information on which languages support features like intellisense.

While CSHTML does not have deep intellisense support in VS Code, Visual Studio does. Unfortunately, right now CSHTML's backing implementation for inline C# does not work with VS Live Share and this is a full feature needed to implement. This is was tagged as a bug given it's behavior, but it is effectively a full feature. While #51 is resolved with the latest VS preview bits, full intellisense is not available.

Product and Version [VS/VSCode]: Latest Visual Studio 2017 Update 6 (15.6)
OS Version [macOS/Windows]: Windows 10 64-bit
Live Share Extension Version: 0.1.0.217
Target Platform or Language [e.g. Node.js]: CSHML or VBHTML in an ASP.NET project
Steps to Reproduce / Scenario:

  1. [Host] Create a new .NET MVC Project (File > New Project)
  2. [Host] Share
  3. [Host] Open Views/_ViewImports.cshtml
  4. [Guest] Sign in and join
  5. [Guest] Move to this same file (which should automatically happen)
  6. [Guest] Hover over "Models" on line 2

Expected: Both Host and Guest see the same thing
Actual: No intellisense for the guest

@Chuxel Chuxel changed the title [VS] Guests do not get C# intellisense in CSHTML files [VS] Guests do not get C#/VB intellisense in CSHTML/VBHTML files Jan 31, 2018
Chuxel added a commit that referenced this issue May 11, 2018
@lostintangent
Copy link
Member

This issue has been resolved! 🚀It requires VS2017 15.8 preview 4, and the latest Live Share extension. If anyone runs into any issues, please let us know 👍

@benprime
Copy link

benprime commented Dec 4, 2018

I am having this issue on visual studio 15.9.3

@setaskin
Copy link

setaskin commented Dec 5, 2018

@benprime Hey! thanks for reporting this. Which Live Share version do you use ?

@benprime
Copy link

benprime commented Dec 5, 2018

We're using LiveShare Extension 0.3.1002.0 with:
Microsoft Visual Studio Enterprise 2017 (2)
Version 15.9.3
VisualStudio.15.Release/15.9.3+28307.145

@setaskin
Copy link

setaskin commented Dec 5, 2018

adding @srivatsn for further investigation

@daytonellwanger
Copy link
Collaborator

@benprime cs/vbhtml support is only available from 15.9 Preview 5 going forward. Could you update your Visual Studio and let us know if you're still encountering this issue?

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

No branches or pull requests

6 participants