From 3e814e86f8c07e061dcf8e41ec736f5b3f4a0acd Mon Sep 17 00:00:00 2001 From: Gaspar Nagy Date: Tue, 2 Oct 2012 15:43:31 +0200 Subject: [PATCH] VS2010: Use < and > around variables in Intellisense for steps (Issue 203) --- Utils/RegexSampler.cs | 4 ++-- changelog.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Utils/RegexSampler.cs b/Utils/RegexSampler.cs index 4a381f2ab..101c23a07 100644 --- a/Utils/RegexSampler.cs +++ b/Utils/RegexSampler.cs @@ -21,7 +21,7 @@ public static string GetRegexSample(string regex, string[] paramNames) public static string GetRegexSampleInternal(string regex, string[] paramNames, bool allowEmpty, ref int currentParamIndex) { - const string defaultParamPlaceholder = "{param}"; + const string defaultParamPlaceholder = ""; StringBuilder regexSample = new StringBuilder(); @@ -57,7 +57,7 @@ public static string GetRegexSampleInternal(string regex, string[] paramNames, b { var placeholder = currentParamIndex >= paramNames.Length ? defaultParamPlaceholder - : string.Format("{{{0}}}", paramNames[currentParamIndex++]); + : string.Format("<{0}>", paramNames[currentParamIndex++]); regexSample.Append(placeholder); lastAppendedLength = placeholder.Length; } diff --git a/changelog.txt b/changelog.txt index d3eaa1b9c..68bae184b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,7 +3,7 @@ Fixed issues: + VS2012: Run specflow scenarios does not work: works as for RC, but still runs all scenarios from the file (Issue 210) + VS2010: VS stops showing context menus if code window contains C++ code (Issue 209) - ++ VS2010: Use < and > around variables in Intellisense for steps (Issue 203) 1.9.0 - 2012/08/06