graph TD
Scene[Scene]
Scene --> Room[Room]
Room --> Actors[Actors]
Room --> Objects[Objects]
Scene --> Cutscene[Cutscene]
Actors --> Enemies[Enemies]
Actors --> Plants[Plants]
Using the Moq framework, it's non-trivial in some cases to verify "Did my logger actually log X message?" The first important note is you can't use Moq on extension methods, so you can't directly check LogWarning
for example. The workaround is to mock the method that the extension method calls..
For example, I want to verify that LogWarning(mymsg)
was logged, but LogWarning
is an extension method. So instead of checking that LogWarning
was called, we check that Log
was called because LogWarning eventually calls Log.
Finally, this SO post showed me how to verify that specific message was l
There is a CopyToClipboard message that the webview sends.
This means the webview needs to send the copy to clipboard message, while sending the contents to copy within the message.
So within a react file I might have access to the window! <- confirmed
Extension sees the rightclick -> Copy command
Extension tells webview to copy via CopyToClipboard
{ | |
"name": "education", | |
"settings": "{\"settings\":\"{\\n \\\"workbench.statusBar.visible\\\": false,\\n\\t\\\"workbench.layoutControl.enabled\\\": false,\\n \\\"window.title\\\": \\\"VS Code for Education\\\",\\n \\\"window.menuBarVisibility\\\": \\\"toggle\\\",\\n \\\"breadcrumbs.enabled\\\": false,\\n \\\"editor.minimap.enabled\\\": false,\\n \\\"extensions.ignoreRecommendations\\\": true,\\n \\\"editor.inlineSuggest.enabled\\\": true,\\n \\\"editor.fontSize\\\": 15,\\n \\\"editor.lineHeight\\\": 1.75,\\n \\\"python.wasm.runtime\\\": \\\"vscode-edu-py:///\\\"\\n}\"}", | |
"globalState": "{\"storage\":{\"menu.hiddenCommands\": {\"EditorTitle\":[\"workbench.action.splitEditor\"]},\"workbench.panel.markers.hidden\":\"[{\\\"id\\\":\\\"workbench.panel.markers.view\\\",\\\"isHidden\\\":false}]\",\"workbench.panel.output.hidden\":\"[{\\\"id\\\":\\\"workbench.panel.output\\\",\\\"isHidden\\\":false}]\",\"terminal.hidden\":\"[{\\\"id\\\":\\\"terminal\\\",\\\"isHidden\\\":fals |
This stuff ain't easy, so here's a WIP "get you up to speed" doc.
-
Install the MSBuild Log Viewer or use the online viewer.
-
File->Start Page, make sure this box is checked
Your task is probably on .NET Core, meanwhile you're building with the net472
-targeted MSBuild.exe. To fix this: either switch from using MSBuild.exe
to using dotnet build
, or change the TargetFramework of your task.
- Set the
TargetFramework
property in your task's project tonet472
.