Hello. I wrote some powershell code in geany 2.0:
```
function a
{
    $i = 1
    Write-Host $i
}
function b
{
    Write-Host b
}
a
b
pause
```
And on left side bar see two function:
![1](https://github.com/user-attachments/assets/550b1f36-63c3-45ed-87cc-44d2ca094918)

Suddenly i want add some heredoc to function a:
```
function a
{
    $i = 1
    $heredoc =
@"
""" $i
"@
    Write-Host $heredoc
}
function b
{
    Write-Host b
}
a
b
pause
```
Now on left side bar only one function a: 
![2](https://github.com/user-attachments/assets/06992f90-54ce-4a72-9c2c-757efe0c4683)

Adding heredoc code breaks function list on left side panel !!!

I cat use single quote delimetr `@'` and function list will show correctly. But 
some times i need  can use double quoted `@"` to use a subexpression as in 
exampe above.

some detail here: [The PowerShell Here-String – Preserve text 
formatting](https://4sysops.com/archives/the-powershell-here-string-preserve-text-formatting/)









-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4089
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to