microsoft / microsoft/TypeScript-Sublime-Plugin

Inline error messages becomes malformed

Open
#611 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

I thought I'd give this package a spin, but right after I installed it I came across this problem. Inline error messages from TypeScript appears malformed, it seems from the syntax used to color the error message isn't parsed.
error

Interestingly the tooltip error that appears on mouseover looks just fine though:
error2

I'm using ST3 Build 3126, Windows 10, and the latest TypeScript-Sublime-Plugin from the ST3 Package Manager.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the malformed inline TypeScript error in Sublime Text 3 on Windows and compare it with the correctly rendered mouseover tooltip. Trace how each error display path parses and renders the message; done means inline errors preserve the intended color syntax and match the tooltip's content.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.