Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A shortcoming of grammar color displaying in typescript #376

Closed
mjbvz opened this issue Dec 2, 2016 · 0 comments
Closed

A shortcoming of grammar color displaying in typescript #376

mjbvz opened this issue Dec 2, 2016 · 0 comments

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Dec 2, 2016

From @BirdLeeSCUT on December 2, 2016 13:2

  • VSCode Version: 1.7.2
  • OS Version: Windows 10 x64

Steps to Reproduce:
There is a shortcoming of grammar color displaying in typescript, as follow:

image

 interface Itest {
	a: 'a1' // a1 is good
		| 'a2' // a2 is good
		| 'a3' // a3 is good
	b: {
		a: 'a1'
			| 'a2' // oh , the color is not good !
			| 'a3' // oh , the color is not good !
	}
}

Sometimes we want to give clear indication of the meanings of every items of String Literal Types in inline comment, so we would break String Literal Types into many lines.

Copied from original issue: microsoft/vscode#16385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant