You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not know that #Requires does not run on F8 (it treats it like a comment) - thanks for the info!
The idea is that the '#Requires' should be hidden from the Notebook. As of now it gets included in the markdown cell either we want it or not. I do not see the reason to show it in the Notebook, still I see the need to keep it in some ps1 files, in order to prevent from running when some predefine requisites are not met.
While we would rather not special case not seeing the Require block as markdown, the issue that this creates space between # and Require warrants fixing, and likely the easiest way to do that is through a special casing
Issue Description
When putting a #Require statement in a .ps1 file and enabling Notebook Mode, the line appears as a markdown cell.

Attached Logs
No logs required
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: