jschaf / powershell.el

An Emacs mode for editing and running Microsoft PowerShell code.
93 stars 30 forks source link

Multiline comment support? #30

Open Liokardo opened 3 years ago

Liokardo commented 3 years ago

Powershell has multiline comment syntax . <# code here #>

I just got a use out of it on newline escaped command.

# https://github.com/PowerShell/PSReadLine
# In this example, when you type a single quote or double quote, ...
Set-PSReadLineKeyHandler `
  <# -Chord 'Oem7','Shift+Oem7' #> `
  -Chord '''','"' `
  ...