Bug 1356 - Highlighting of types does not always work (String vs string)
Summary: Highlighting of types does not always work (String vs string)
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-07 20:54 UTC by Chris Hardy [MSFT]
Modified: 2012-03-02 14:11 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Chris Hardy [MSFT] 2011-10-07 20:54:57 UTC
Highlighting of types does not always work (example form highlight editor) the string[] is highlighted but if you change it to String[] it does not highlight.


using System;

// This is an example
class Example
{
	public static void Main (String[] args)
	{
		Console.WriteLine ("Hello World");
	}
}
Comment 2 Mikayla Hutchinson [MSFT] 2011-10-07 21:37:08 UTC
"string" is a builtin C# type, it can always be highlighted.

Highlighting "String" correctly requires semantic highlighting.
Comment 3 Eric Beisecker 2012-03-02 13:13:46 UTC
Is then semantic highlighting not supported then, even if it is an option in the Code Highlighting Menu?
Comment 4 Mikayla Hutchinson [MSFT] 2012-03-02 14:11:13 UTC
Pretty sure semantic highlighting option was removed for 2.8, because it had server performance problems. It was rewritten for 2.9 and enabled by default.