-
Notifications
You must be signed in to change notification settings - Fork 676
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
Problem invoking 'RunCodeAction' on OmniSharp server: null #975
Comments
Some additional info from the omnisharp log: [INFORMATION:OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.RunCodeActionService] Applying Microsoft.CodeAnalysis.CodeRefactorings.MoveType.AbstractMoveTypeService`5+MoveTypeCodeAction[Microsoft.CodeAnalysis.CSharp.CodeRefactorings.MoveType.CSharpMoveTypeService,Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeDeclarationSyntax,Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax,Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax,Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax] |
Can confirm I see the same however I get |
I've just tested this in the 1.6-beta3 and it also happens there. If there is anything I can do to help fix this, please let me know. |
I'm also experiencing this bug in macOS running VS Code 1.7.2 |
Can Confirm. VsCode Info:
C# Extension 1.5.3 |
Not working with Insider + C# Extension 1.5.3 & 1.6.0-beta3
|
Same issue with Omnisharp C# extension 1.6.2 using VSCode.
|
Same issue:
|
Environment data
dotnet --info
output:.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information:
Version: 1.0.0-preview2-1-003177
Commit SHA-1 hash: a2df9c2576
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
VS Code version: 1.7.1
C# Extension version: Both 1.5.3 and 1.6-beta1 and 1.6-beta3
Steps to reproduce
Create a asp.net core empty web project
Open an existing class
Type an additional class under the existing class ie
Place the pointer on the NewClass object
Press 'Ctrl' + '.'
Press the appearing option 'Move type to NewClass.cs'
Expected behavior
The NewClass is moved to NewClass.cs
Actual behavior
Problem invoking 'RunCodeAction' on OmniSharp server: null
Class is not moved to a new file
The text was updated successfully, but these errors were encountered: