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

Higlighting of jsx file is inconsistent #12093

Closed
anvish opened this issue Sep 15, 2016 · 2 comments
Closed

Higlighting of jsx file is inconsistent #12093

anvish opened this issue Sep 15, 2016 · 2 comments
Assignees
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@anvish
Copy link

anvish commented Sep 15, 2016

  • VSCode Version: 1.5.2 (run with --disable-extensions)
  • OS Version: Windows 7 SP1

Steps to Reproduce:

  1. Open .jsx file
import React from 'react'
function render() {
    return (
        <div>
            <table >
                <thead>
                    <tr>
                        <th className="b"></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td className="b"></td>
                        {this.items.map(item =>
                            <td key={item.code} className="b">{item.value}</td>
                        ) }
                    </tr>
                    <tr>
                        <td className="b"></td>
                        {this.items.map(item =>
                            <td key={item.code} className="b">{item.value}</td>
                        ) }
                    </tr>
                </tbody>
            </table>
        </div>
    )
}
render()

Note a space in <table > tag.
2. Remove a space in <table > tag.
Color of last <td> content changes

2
1

@waderyan
Copy link

This issue was moved to microsoft/TypeScript#10955

@waderyan waderyan added javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Sep 16, 2016
@waderyan
Copy link

@anvish thank you for opening this issue. This is likely a TypeScript language service issue so I've passed on to them.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants