microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 237 forks source link

Can't see errors #731

Closed stweedie closed 4 years ago

stweedie commented 4 years ago

As of a recent patch (presumably this one), the plugin will not show ANY error diagnostics in the file if you do not provide a color in your preferences

preferences

{
  "error_icon": "circle"
}

image

with override

{
  "error_color": "region.redish",
  "error_icon": "circle"
}

image

It appears that the 'default' value is being ignored, which causes there to be no error indicator at all.

rlugge commented 4 years ago

THANK you @stweedie , this was crippling my ability to develop. Typescript without IDE type checking is just... ugh. Not getting an error report in the IDE, and only when you go to see the result, is devastating to workflow.

stweedie commented 4 years ago

yeah as a workaround, follow these instructions and add the above json snippet (or a different color if you want)

lorem--ipsum commented 4 years ago

Oh my gosh THANK YOU.

orta commented 4 years ago

Anyone know if there is a change we can apply to this plugin to fix this for everyone?

/cc @bertilnilsson

telmaco commented 4 years ago

I spent the whole day trying to fix this. una lastima! :/

Thank you @stweedie!!!

patrickfatrick commented 4 years ago

I just noticed this the other day and assumed I messed up a config. Thank you so much for the workaround, @stweedie

DanielRosenwasser commented 4 years ago

https://github.com/microsoft/TypeScript-Sublime-Plugin/pull/735 has a fix available, should be out soon. Very sorry for the confusion here.