-
Notifications
You must be signed in to change notification settings - Fork 677
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
C# Unity auto complete hints are wrong #97
Comments
This should be fixed with the latest release, v1.3.0 |
@DustinCampbell I drag-and-dropped this into VSCode plugin folder. It appears installed in the VSCode extensions panel, with correct version number(1.3.0), but autocomplete does not work. Reverting back to OmniSharp legacy plugin makes autocomplete functional. Please let me know if I did something wrong. I'm really looking forward to the new version as the legacy one seems pretty slow when doing autocompletion. My env: |
|
That's really strange! It's like the extension isn't activating at all. If you press F1 to bring up the command palette, is the a "Restart OmniSharp" command? |
Also, you mentioned dragging and dropping the extension to the plugin folder? I've never tried installing an extension that way. Instead, I open the VSIX with File->Open File in VS Code and the restart VS Code for good measure. |
oh, yes. You should definitely install it as I suggested. I have no idea how VS Code responds to just copying bits to the extensions folder. I suspect VS Code never scanned the package.json in the extension completely, so you are in a half-installed state. |
Okay I did what you said, and it seems to installed properly now. Sorry for wasting your time like that, as I didn't find anything about opening .vslx Another problem shows up. It prompts about installing .Net CLI tools, and when I click yes, it takes me to .Net core webpage. I thought the new version would automatically use Mono. So I should keep both Mono and .Net core stuff for this to work properly? I don't have a problem with this as long as it what it takes to get the new version working. Just want to confirm. |
Excellent! I'm so glad you were able to get it installed. The prompt is because the .NET CLI tools are required to install the CoreCLR debugger, which you clearly won't be using for Unity development. @gregg-miskelly, do you have any thoughts about this? |
FWIW, installing the .NET CLI will make the prompt go away. However, I think it might be a bit of an oversight that the extension doesn't provide a way to turn the prompt off. |
Okay omnisharp is working fine now. I didnt notice the background downloading after installed. That took a couple minutes but everything seems to work fine now. Thanks for the prompt replies. Really helpful. |
I opened #603 to track trying to improve this |
From @zeyangl on March 16, 2016 9:35
Steps to Reproduce:
Copied from original issue: microsoft/vscode#4295
The text was updated successfully, but these errors were encountered: