First time here? Check out the FAQ!
1

Incorrect auto-editing behaviour for Wing Pro when enabing all of the options for auto-editing.

Hi,

In wingide pro, I enabled all of the options for auto-editing. But I meet the incorrect behavior given by wingide for the auto-editing, see following for detailed info:

 from aiida.orm.querybuilder import QueryBuilder
 qb = QueryBuilder()
 qb

When I input the qb for the second time in above snippets, the cursor will skip to the location of the first appearance of qb. As a result, the auto-editing will edit the things there and give a error results.

How to solve this problem?

Regards

hongyi-zhao's avatar
547
hongyi-zhao
asked 2020-03-26 20:42:45 -0600, updated 2020-03-30 21:31:18 -0600
edit flag offensive 0 remove flag close merge delete

Comments

I don't see this problem here, but it may have to do with additional context in the file triggering a bug. Is there a file that reproduces this that you can send to support@wingware.com?

Wingware Support's avatar Wingware Support (2020-03-26 21:43:14 -0600) edit
add a comment see more comments

1 Answer

1

Finally, I find the the most simple way to solve this problem is: remove the user setting directory, uninstall and re-install wing.

Regards

hongyi-zhao's avatar
547
hongyi-zhao
answered 2020-03-27 18:17:49 -0600, updated 2020-03-30 21:24:26 -0600
edit flag offensive 0 remove flag delete link

Comments

One possibility is that you had earlier reset the allowed analysis database size limit and removing the user settings directory may have increased the value of the Source Analysis > Max Cache Size preference. It may also be worth pressing the Clear Cache button next to that preference, unless you also removed the cache directory listed in Wing's About box.

Wingware Support's avatar Wingware Support (2020-03-30 07:46:20 -0600) edit

No, I don't reset on the Source Analysis > Max Cache Size all the time. I just leave as it is. Anyway, thanks for your hints.

hongyi-zhao's avatar hongyi-zhao (2020-03-30 21:29:27 -0600) edit

Oh, OK, so it may also be a change in preferences since removing the settings directory would have reset those all back to the defaults. I'm just trying to think what would have changed to fix it, given that I think you didn't remove the analysis cache, which would have been my first suspect. In any case, thanks for reporting this.

Wingware Support's avatar Wingware Support (2020-03-31 06:54:40 -0600) edit
add a comment 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