Replies: 1 comment 4 replies
-
@jimalad sorry to hear that you are having issues! I just wanted to mention that the focus of the video that you referenced was the new features that were shipping as part of the 1.0.0 release of the Cake Extension for VSCode. Intellisense has been around for a while, at it shouldn’t have been impacted by any of the new features. You can see intellisense in action in a recent talk that I gave at .NET Conf here: https://youtu.be/o38glTSZsVg. Now, that isn’t to say that there isn’t a problem though. I believe I am right in saying that @mholo65 is going to follow up requesting some more detailed logging for the issue that you are seeing, and that will hopefully help to get to the bottom of the problem. |
Beta Was this translation helpful? Give feedback.
-
OS: Windows 10 x64
VSCode: 1.52.1
VSCode cake extension: 1.0.0
dotnet-sdk: 3.1.404-win-x64
dotnet tool list --global: cake.tool 1.0.0-rc0001
ctrl-shift-p > cake > Install sample build file > build.cake
ctrl-shift-p > cake > Install intellisense support
Then after a while (30 seconds or so) / maybe including a VSCode restart...
Outcome: red squigglies / problems throughout cake source e.g.
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. [build.cake]
Searched for ages, found this dotnet/roslyn#49498 but not sure it's relevant.
BTW, is what I'm describing above the best practice for cake development in VSCode with intellisense?
I watched the video linked here https://cakebuild.net/blog/2020/12/cake-vscode-extension-release-1.0.0 and noticed IntelliSense wasn't demonstrated. I realise Cake addon for VSCode and bakery are different things, but would think the UX would have been more unified. I rarely see anything discussed in issues about IntelliSense - is that because it's working great for everyone, or that it's rarely used?
Beta Was this translation helpful? Give feedback.
All reactions