Friday, September 27, 2019

Improvements in Code Completion

The next version will contain some fixes and improvements in code completion as well as in find definitions (Ctrl+Click) and references of identifiers.  For example if you have defined a class called MyClass then

MyClass().

will offer completion suggestions.  Or if my function returns an instance of a class you will get completion on the return type of the function. e.g.

myfunction().

You will also get completion suggestions on lists dictionaries and sets, i.e.

[].
{}.

And by the way string competion already works:

"abc".

Sunday, September 22, 2019

Reinstalling Windows Apps

This post is not related to PyScripter.  However some of you may find it useful.

It has happened to me before, but more recently when I installed the latest Windows 10 update many apps including Microsoft Store failed to start.  Also my Logitech keyboard started misbehaving (for instance pressing the left arrow produced the letter a).  After searching for a solution for a while I came across the following Powershell command which resolved all problems:


Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

You need to run it as administrator.  It solved all my problems. Pure magic!