Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.3.5p4
Issue ID
807660
Regression
No
C# code formats badly after adding preprocessor directives in MonoDevelop 5.9.6
Reproduction steps:
1) Open any script using MonoDevelop 5.9.6 (version, which comes with Unity 5.3 and 5.4 beta)
2) Write simple, empty method (pay attention on formatting, especially spacing)
3) Add preprocessor directives (watch gif)
4) Write another method and compare it's formatting to first one
Actual result:
Second method has no formatting spacings (only in some particular places).
Expected result:
Second method should be spaced/formatted just like first one.
Unable to reproduce this issue with MonoDevelop 4.0.1, which comes with 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
Add comment