• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: AutoDocString for Powershell functions

Resolved: AutoDocString for Powershell functions

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

Do we have any VScode extension similar to https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring or any other way for providing auto doc string for PowerShell functions? Currently I’ve to add the doc string manually like this :

Answer:

It is built-in with the PowerShell extension!
You can simply type ## the line above a function. It will auto-expand into a comment-based help block which does account for the current defined parameters.

If you have better answer, please add a comment about this, thank you!

powershell visual-studio-code
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: std::regex_replace to replace multiple combinations

26/03/2023

Resolved: How can I copy files using the ansible.builtin.copy module and avoid conflicting file names?

26/03/2023

Resolved: Reshape tensors of unknown shape with tf.function

26/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.