First time here? Check out the FAQ!
1

How to automatically generate function comments
 

Hi,

Is there a way to highlight a function header, like

def Print_This_and_That( Dis, Dat ):

, and automatically generate a basic function description with triple quotes, including the parameters?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
wpCurious's avatar
91
wpCurious
asked 5 years ago
Wingware Support's avatar
4.2k
Wingware Support
updated 5 years ago

Comments

see more comments

1 Answer

0

No, sorry, not currently. One option would be to write a command yourself, which is possible using WIng's extension API: https://wingware.com/doc/scripting/index

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered 5 years ago
link

Comments

Ok, thanks.

wpCurious's avatar wpCurious (5 years ago)
see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)