Sublime Forum

Slow Autocomplete at Python file

#1

For example i have some code:

class Countdown(object): num_counters = 0 def __init__(self, delay): self.counter = 5 self.delay = delay Countdown.num_counters += 1 def count(self): if self.counter == 0: Countdown.num_counters -= 1 else: print "%s... ( %.1f )" % (self.counter, self.delay) self.counter -= 1 reactor.callLater(self.delay, self.count) if Countdown.num_counters == 0: reactor.stop() from twisted.internet import reactor reactor.callWhenRunning(Countdown(1).count) print 'Start!' reactor.run() print 'Stop!'
and if i try to write “reac…” in the of the file then ST2 brakes for ~30s and only then it offers number of variants to autocomplete.

0 Likes

#2

Do you have any plugins installed? Does it still happen if you revert to a freshly installed state?

0 Likes