21,161

Downloads

1,195

Downloads of v 1.4.0

2016-11-18

Last published

Unity Support

1.4.0

Adds support for Unity.

• Highlights Unity event functions and fields with an icon in the editor gutter.

• Marks fields and methods implicitly used by Unity as in use.

• Knows about all Unity script classes (MonoBehaviour, ScriptableObject, EditorWindow, etc).

• Use Generate Code to create event functions, with parameters.

• Start typing for automatic completion of event function declarations in a class.

• Code completion, find usages and rename support for Invoke, InvokeRepeating and CancelInvoke

• Event function descriptions for methods and parameters displayed in tooltips and QuickDoc

• "Read more" in QuickDoc navigates to Unity API documentation.

• Code completion, find usages and rename support for string literals in MonoBehaviour.Invoke, InvokeRepeating and CancelInvoke.

• Suppress naming consistency checks on event functions.

• Prevent ReSharper from suggesting `Assets` or `Scripts` as part of the namespace of your code.

• Automatically sets Unity projects to C# 4 or C# 6. No more suggestions for features that won't compile!

• Highlights UnityEngine.Color and Color32. Edit via colour palette quick fix.

• Treats Unity debug assertions as assertion methods in ReSharper control flow analysis.

• String formatting assistance for debug log methods.

Release Notes

• Enable functionality in projects that reference Unity assemblies, not just those that have the VSTU project flavour GUID (#53)
• Improve handling of C# language version. Default is correctly set to C# 4, not 5. Uses C# 6 if option is enabled in Unity 5.5. Handles the CSharp60Support plugin. (#50, #60)
• Treat UnityEngine.Debug.Assert as assertion methods, so ReSharper includes asserts in control flow analysis. (#62, #63 - thanks @joshuaoconnor!)
• Add string formatting inspections for debug assertion messages.
• Renamed "message handlers" to "event functions", as per the Unity documentation.
• Display a "gutter" icon for implicitly used event functions and fields. (#58)
• Display colour highlights and the colour palette picker for UnityEngine.Color and UnityEngine.Color32. (#51)
• Fix MonoBehaviour.Invoke code completion and rename support in string literals to work with the correct class, not just the current class. (#66)
• Support undocumented messages, such as OnGeneratedCSProjectFiles. (#59)
• Fix namespace provider settings for Assets and Assets\Scripts folders. (#64)
• Sort event functions alphabetically by default in code completion.

From previous releases:
• ReSharper 2016.2 support. Thanks @cmcpasserby! (#44, #46)
• Added support for event functions for all Unity classes, not just MonoBehaviour. Thanks @swalex, @rorydriscoll! (#20, #29, #44)
• External annotations to improve ReSharper's analysis, e.g. implicit usage and nullability of Component.gameObject. Thanks @bigbadtrumpet! (#34, #13, #15, #23, #42, #43)
• Code completion, find usages and rename support for Invoke, InvokeRepeating and CancelInvoke (#41)
• Auto-suggest event function completion when creating methods
• Event function descriptions for methods and parameters displayed in tooltips and QuickDoc
• "Read more" in QuickDoc navigates to Unity API documentation
• Suppress naming consistency checks on event functions
• Add parameters to generated event functions (#8)
• Automatically sets Unity projects to C# 5. No more incompatible C# 6 suggestions! (#5)

Owners

Authors

JetBrains slava.tutushkin

Copyright

Copyright 2016 JetBrains, s.r.o

Tags

Dependencies

Version History

Version Downloads Last updated
Unity Support 2.1.3.4208 2326 Friday, December 22 2017
Unity Support 2.1.2.1505 2149 Tuesday, October 17 2017
Unity Support 2.0.3.314 1021 Thursday, August 31 2017
Unity Support 2.0.0 851 Thursday, August 31 2017
Unity Support 1.9.1 1116 Friday, July 21 2017
Unity Support 1.9.0 13 Friday, July 21 2017
Unity Support 1.8.0 1712 Friday, May 19 2017
Unity Support 1.7.0 1175 Wednesday, April 05 2017
Unity Support 1.6.2 1022 Wednesday, March 22 2017
Unity Support 1.6.1 575 Wednesday, March 08 2017
Unity Support 1.6.0 302 Wednesday, March 01 2017
Unity Support 1.5.0 1195 Friday, December 30 2016
Unity Support 1.4.0 (this version) 1195 Friday, November 18 2016
Unity Support 1.3.0 926 Monday, September 26 2016
Unity Support 1.2.1 1871 Saturday, April 16 2016
Unity Support 1.2.0 2617 Monday, November 16 2015
Unity Support 1.1.2 134 Friday, November 06 2015
Unity Support 1.1.2-EAP 86 Saturday, October 17 2015
Unity Support 1.0.0 745 Friday, October 16 2015