Closed
Description
Summary of the new feature
Include a new keyword that allows VSCode to open the .ps1 with Notebook Mode enable right away.
Proposed technical implementation details (optional)
Since the idea of the PowerShell Notebook Mode is to have the same file extension for scripts or interactive books, it would be great if there was such a code instruction that would open the ps1 right away either with Notebook Mode enabled or disabled.
e.g. #Requires -NotebookMode enabled
The keyword 'requires' does not suit the case, but I meant to show how the idea could be somehow implemented