Ask Your Question
2

How to remove or disable the dash line in autocomplete

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

ye fang gravatar image

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

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
1

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

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

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:  http://wingware.com/doc/edit/snippets

edit flag offensive delete link more

Comments

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 gravatar imageWingware Support ( 2019-03-20 19:59:41 -0500 )edit
0

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

ye fang gravatar image

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

2 followers

Stats

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

Seen: 1,387 times

Last updated: Apr 30