Bug 8573 - breaking the code formatter and code completer
Summary: breaking the code formatter and code completer
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-11-23 12:05 UTC by Philippe Monteil
Modified: 2013-09-04 07:13 UTC (History)
1 user (show)

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

sample source code breaking the code formatter and code completer (99.67 KB, application/octet-stream)
2012-11-23 12:05 UTC, Philippe Monteil

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:

Description Philippe Monteil 2012-11-23 12:05:23 UTC
Created attachment 3004 [details]
sample source code breaking the code formatter and code completer

adding the same method declaration like:

void test()

works ok at the beginning of the attached source code but breaks the code formatter
and code completer if inserted lower in the source code.
Comment 1 Mike Krüger 2012-11-26 02:24:29 UTC
I need to rework the indenting engine to fix that. (We've atm a feature stop -
replacing the indenter is one of our top priorities after the next release)

I would recommend using comment tags for making comments and no #if blocks as a
work around.
Comment 2 Mike Krüger 2012-11-26 02:27:38 UTC
Ah slightly wrong comment - you can't use comment tags there, but the main problem is the indenter that doesn't really work well with #if tags atm.
Comment 3 Mike Krüger 2013-09-04 07:13:15 UTC