Ask Your Question

How to remove or disable the dash line in autocomplete

asked 2018-10-29 05:34:00 -0600

ye fang's avatar

updated 2019-04-30 08:19:05 -0600

the autocomplete is very good, however, the dashed line with #  is a bit annoying, anyone, know how to disable this "#----------" when auto complete, thanks

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-11-08 13:38:00 -0600

updated 2019-03-16 12:09:53 -0600

This is coming from the Snippets tool, and is part of the default snippet for top-level and method-level 'def'.  You can edit this from the Snippets tool, accessed from the Tools menu.  Go to the 'py' tab and right click to edit the two 'def' snippets for contexts class and module.  You'll want to remove the comment but leave in the |m| since that tells Wing to match indentation according to where the snippet is entered.  There are some details on this here:

edit flag offensive delete link more


Just a note on this: We're going to change the default snippets for def and class in Wing 7 so they don't have these separator comments.

Wingware Support's avatar Wingware Support  ( 2019-03-20 19:59:41 -0600 )edit

answered 2018-11-14 01:27:00 -0600

ye fang's avatar

thanks so much for the reply ~~~

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-10-29 05:34:00 -0600

Seen: 45,220 times

Last updated: Apr 30 '19