forked from microsoft/TypeScript-TmLanguage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Syntax highlighting for string method names
Attempt to fix microsoft#154
- Loading branch information
1 parent
dcfc96b
commit c4930a9
Showing
5 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"editor.insertSpaces": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[2, 1]: source.ts meta.declaration.object.ts meta.object.body.ts meta.indexer.declaration.ts meta.brace.square.ts | ||
[8, 1]: source.ts meta.declaration.object.ts meta.object.body.ts string.single.ts | ||
[14, 1]: source.ts meta.declaration.object.ts meta.object.body.ts meta.indexer.declaration.ts meta.brace.square.ts | ||
[20, 1]: source.ts meta.declaration.object.ts meta.object.body.ts string.double.ts | ||
[26, 1]: source.ts meta.declaration.object.ts meta.object.body.ts meta.indexer.declaration.ts meta.brace.square.ts | ||
[32, 1]: source.ts meta.declaration.object.ts meta.object.body.ts meta.method.declaration.ts entity.name.function.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
class TestCase0 { | ||
^^['123']() { | ||
this.registerComponent('foo-bar'); | ||
} | ||
} | ||
|
||
class TestCase1 { | ||
^^'$'() { | ||
this.registerComponent('foo-bar'); | ||
} | ||
} | ||
|
||
class TestCase2 { | ||
^^[`foo`]() { | ||
this.registerComponent('foo-bar'); | ||
} | ||
} | ||
|
||
class TestCase3 { | ||
^^"foo"() { | ||
this.registerComponent('foo-bar'); | ||
} | ||
} | ||
|
||
class TestCase4 { | ||
^^["foo"]() { | ||
this.registerComponent('foo-bar'); | ||
} | ||
} | ||
|
||
class TestCase5 { | ||
^^foo() { | ||
this.registerComponent('foo-bar'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters