microsoft / microsoft/TypeScript-Sublime-Plugin
Type signature popup stops working
@zhengbli is already working on this.
Since Feb 13, 2016.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 236
- Avg merge
- 21d 13h
- Merged PRs (30d)
- 1
Description
I'm running Ubuntu 15.10 and Sublime Text 3 build 3083. The signature popup works fine immediately after starting sublime and writing some code, but after it pops up a few times it stops working (see my third comment for a gif showing what this looks like).
I can reproduce this behavior by simply messing around for a bit inside () blocks (i.e. writing first argument, quicking writing the second one, moving the cursor with my arrow keys etc) but often times the popup will stop working right after the first use and takes no effort to break it.
I've enabled debug level logging and the plugin gets stuck in some kind of infinite loop. This is what it prints out:
2016-01-25 15:23:45,962: 139954225895232: DEBUG: In on_scheduled for work scheduler
2016-01-25 15:23:45,962: 139954225895232: DEBUG: Timer elapsed while prior job running. Deferring
2016-01-25 15:23:46,014: 139954225895232: DEBUG: In on_scheduled for work scheduler
2016-01-25 15:23:46,014: 139954225895232: DEBUG: Timer elapsed while prior job running. Deferring
2016-01-25 15:23:46,065: 139954225895232: DEBUG: In on_scheduled for work scheduler
This shows up ad infinitum in my console after the popup stops working.
The regular autocompletition and everything else works fine but the signature tooltip never shows up again. I have to restart sublime to get everything back to normal.
I should also add that I was not able to reproduce this on a windows 10 machine despite trying very hard for a few minutes to mess up the popup. I was however able to reproduce it on another machine running Linux Mint 17.2 but it wasn't as easy as it was on my ubuntu machine.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.