microsoft / microsoft/TypeScript-Sublime-Plugin

Type signature popup stops working

Abierto
#430 2 comentarios 0 reacciones 1 asignado Ver en GitHub

@zhengbli ya está trabajando en esto.

Desde el 13/2/2016.

Bug
Lenguaje dominante
JavaScript
Estrellas
1.7k
Forks
236
Merge medio
21 d 13 h
PR fusionados (30 d)
1

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.