AArnott / CodeGeneration.Roslyn

Assists in performing Roslyn-based code generation during a build.
Microsoft Public License
408 stars 59 forks source link

Making it work on Omnisharp #27

Closed masaeedu closed 5 years ago

masaeedu commented 7 years ago

I am able to build .NET Standard 2.0 projects with code generation with the dotnet CLI tool, so I know that this works outside of Visual Studio. Unfortunately the Intellisense provided by the VS Code C# extension (which uses OmniSharp) doesn't seem to pick up on the generated code.

I don't really know whether this is possible, or how much work it would involve, but it would be really useful if this could be made to work with proper Intellisense.

amis92 commented 5 years ago

I've verified in VSCode v1.33 and C#/Omnisharp v1.19 extension that IntelliSense provides suggestions based on generated files.