vscode outline view: no symbols found in document
pwm1234-sri opened this issue · comments
Let me first say thank you for your work on Invoke-Build. I recently discovered Invoke-Build, and I have found it quite helpful. One question I have: is there a way to get the vscode outline view to work for a build task file?
Here is an example of what I see for a normal ps1 file:
But for a build file with tasks it says "No symbols found":
This may sound trivial, but as a newcomer to both Invoke-Build and powershell, a working outline view would be a big help to me for understanding and developing a build script.
PowerShell does not know IB tasks. It is what it is. As a work around, you
may go to any task and use "find references" to see all available tasks.
…On Fri, 18 Mar 2022, 16:52 pwm1234-sri, ***@***.***> wrote:
Let me first say thank you for your work on Invoke-Build. I recently
discovered Invoke-Build, and I have found it quite helpful. One question I
have: is there a way to get the vscode outline view to work for a build
task file?
Here is an example of what I see for a normal ps1 file:
[image: image]
<https://user-images.githubusercontent.com/73309596/159046766-9b0b3022-ca7b-4f8e-8b24-c39e09b113c7.png>
But for a build file with tasks it says "No symbols found":
[image: image]
<https://user-images.githubusercontent.com/73309596/159047024-c9705a92-6181-4b0e-a3b6-05424d0be144.png>
This may sound trivial, but as a newcomer to both Invoke-Build and
powershell, a working outline view would be a big help to me for
understanding and developing a build script.
—
Reply to this email directly, view it on GitHub
<#197>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHCOLMYOE645HGP3EP7IETVASYERANCNFSM5RCLZQKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Thanks - "find references" is a great tip!