15,186

Downloads

1,139

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.0.0 304 Thursday, August 31 2017
Unity Support 1.9.1 1103 Friday, July 21 2017
Unity Support 1.9.0 0 Friday, July 21 2017
Unity Support 1.8.0 1699 Friday, May 19 2017
Unity Support 1.7.0 1162 Wednesday, April 05 2017
Unity Support 1.6.2 938 Wednesday, March 22 2017
Unity Support 1.6.1 562 Wednesday, March 08 2017
Unity Support 1.6.0 289 Wednesday, March 01 2017
Unity Support 1.5.0 1182 Friday, December 30 2016
Unity Support 1.4.0 (this version) 1139 Friday, November 18 2016
Unity Support 1.3.0 913 Monday, September 26 2016
Unity Support 1.2.1 1841 Saturday, April 16 2016
Unity Support 1.2.0 2542 Monday, November 16 2015
Unity Support 1.1.2 121 Friday, November 06 2015
Unity Support 1.1.2-EAP 73 Saturday, October 17 2015
Unity Support 1.0.0 709 Friday, October 16 2015