Skip to content

Commit 59d613d

Browse files
Workaround performance issue introduced by regular expression in syntax grammar
1 parent 9502872 commit 59d613d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.6.2 (December 24, 2016)
2+
3+
* Fix performance issue when editing type names containing multiple generic type parameters. ([#1088](https://github.com/OmniSharp/omnisharp-vscode/issues/1088), [#1086](https://github.com/OmniSharp/omnisharp-vscode/issues/1086))
4+
15
## 1.6.1 (December 22, 2016)
26

37
* Fix crash when tasks.json contains comments. ([#1074](https://github.com/OmniSharp/omnisharp-vscode/issues/1074))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.6.1",
4+
"version": "1.6.2",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",

syntaxes/csharp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"type": {
168168
"patterns": [
169169
{
170-
"match": "([\\w\\.]+\\s*<(?:[\\w\\s,\\.`\\[\\]\\*]+|\\g<1>)+>(?:\\s*\\[\\s*\\])?)",
170+
"match": "([\\w\\.]+\\s*<(?:[\\w\\s,\\.`\\[\\]\\*]+)+>(?:\\s*\\[\\s*\\])?)",
171171
"comment": "generic type",
172172
"captures": {
173173
"1": {

0 commit comments

Comments
 (0)