16,106

Downloads

318

Downloads of v 2.1.2.1505

2017-10-17

Last published

Unity Support

2.1.2.1505

Adds support for the Unity engine.

• 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).

• Marks empty event methods as dead code.

• Supports Unity API 5.0 - 5.6, and 2017.1b5.

• Inspections and Quick Fixes for incorrect event function method signature and return types.

• Support for undocumented functions such as OnValidate and OnPreGeneratingCSProjectFiles.

• Warns if a coroutine return value is unused.

• Context action to convert event function method signature to/from coroutine.

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

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

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

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

• Correctly update .meta files.

• Code completion, find usages and rename support for Invoke, InvokeRepeating, IsInvoking and CancelInvoke. Also Start/StopCoroutine.

• Inspection and Quick Fix to use CompareTag instead of string comparison.

• Inspection and Quick Fix for using new with ScriptableObject or MonoBehaviour.

• "Create serialized field" from usage Quick Fix.

• 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.

• Regex assistance for EditorTestsWithLogParser.ExpectLogLineRegex.

• Types and type members marked with UnityEngine.Networking attributes are marked as in use.

• Code completion, find usages and rename support for SyncVarAttribute hook function.

• Inspections for incorrect SyncVarAttribute usage.

• Marks empty event functions as dead code, with Quick Fix to remove.

• Parse ShaderLab files, with syntax highlighting and syntax error highlighting.

• Simple highlighting and code completion in Cg and HLSL code blocks and files.

• Brace matching, todo explorer and commenting support for ShaderLab files.

• Colour highlighting and editing in ShaderLab files.

• Support for modularised UnityEngine assemblies.

• Unity specific file templates.

Release Notes

• Fix code completion and generation not working with newer versions of Unity (#219)
• Support Unity API up to 2017.3.0b3 (#218)
• Recognise projects with modularised UnityEngine assembly references (#241)
• Add Unity specific file templates (#232, #237)
• Fix parsing of 2DArray (RIDER-9786)
• Add colour highlighting and editing to ShaderLab

From 2.1.1 (not released for ReSharper):
• Improve ShaderLab parsing (#228, #233, RIDER-9214, #222)
• Show event function descriptions in generate dialog (RIDER-4904)
   
From 2.1.0 (not released for ReSharper):
• Add annotations for modularised UnityEngine assemblies (#207)

From 2.0.3 (for ReSharper 2017.2):
• Support for ReSharper 2017.2 (#193)
• Parse pre-processor directives in ShaderLab (#186)
• Correctly handle property attributes in shader file (#187)
• Parse CGINCLUDE blocks at any point in shader file (#188)
• Parse property reference for BlendOp (RIDER-8386)

From 2.0.2 (not released for ReSharper):
• Add ability to disable advanced ShaderLab syntax (#183)

From 2.0.0 (for ReSharper 2017.1):
• Parse ShaderLab files, show syntax error highlighting (#3)
• Brace matching for ShaderLab files
• TODO comments support for ShaderLab files
• Add support for HLSL and GLSL blocks

From 1.9.1:
• Reduce logging and change tracking for non Unity projects

From 1.9.0:
• Only set C# language level if Unity project has an Assets folder (#150)
• Navigate to correct local documentation page, or Unity's search page (#152)

Merge Unity3dRider plugin

From 1.8.0:
• Inspection and quick fix for calling new on ScriptableObject and MonoBehaviour (#142)
• Inspections and quick fixes for incorrect method signature for InitializeOnLoad attributes (#143)
• Added base type required annotations for various attributes (#145)
• Added implicit use annotations for UnityEngine.Networking attributes (#136)
• Code completion, find usages and rename support for SyncVarAttribute hook function (#135)
• Inspection and quick fix to mark empty event functions as dead code (#137)
• Fixed bug in Invoke symbol resolution to check base class (#138)
• Support "hook" property of SyncVarAttribute (#136)

From 1.7.0:
• Support for ReSharper 2017.1 (#110)
• Fix incorrect signatures in known API (#128)
• Treats Assertion.Assert as assertion methods (#129)

From 1.6.2:
• Improve location of "Create serialized field" Quick Fix (#124)

From 1.6.1:
• Fix nasty bug that will recreate all .meta files when reloading projects. Sorry! (#118)

From 1.6.0:
• Correctly update .meta files when creating, renaming or refactoring (#56, #61)
• "Create serialized field" from usage Quick Fix (#111)
• Inspections and quick fixes for incorrect event function signature and return type
• Event functions that are coroutines are now recognised and marked as in use (#52)
• Context action to convert event function signature to/from coroutine
• Add coroutine and optional parameter information to API and tooltips
• Expand API support to 5.0 - 5.6
• Add regex annotations for EditorTestsWithLogParser.ExpectLogLineRegex (#95)
• Warn if coroutine return value is unused (#99)

From 1.5.0:
• ReSharper 2016.3 support (#80, #90)
• Add inspection and Quick Fix to use CompareTag instead of string comparison (#82)
• Support Unity API for 5.2 - 5.5 (#81)
• Support undocumented ScriptableObject.OnValidate and Reset (#79)
• Support method name in string literal of MonoBehaviour.IsInvoking (#85)
• Support method name in string literal for MonoBehaviour.Start/StopCoroutine (#83)
• Add gutter icon and "Create" context action for Unity classes (#77)
• Fix method generation for static event functions (#73)
• Improve recognition of serialised fields (#87)
• Remove duplicate items in auto complete list (#92)

From 1.4.0:
• 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

Copyright

Copyright 2017 JetBrains, s.r.o

Tags

Dependencies

Version History

Version Downloads Last updated
Unity Support 2.0.3.314 1008 Thursday, August 31 2017
Unity Support 2.0.0 453 Thursday, August 31 2017
Unity Support 1.9.1 1104 Friday, July 21 2017
Unity Support 1.9.0 1 Friday, July 21 2017
Unity Support 1.8.0 1700 Friday, May 19 2017
Unity Support 1.7.0 1163 Wednesday, April 05 2017
Unity Support 1.6.2 951 Wednesday, March 22 2017
Unity Support 1.6.1 563 Wednesday, March 08 2017
Unity Support 1.6.0 290 Wednesday, March 01 2017
Unity Support 1.5.0 1183 Friday, December 30 2016
Unity Support 1.4.0 1150 Friday, November 18 2016
Unity Support 1.3.0 914 Monday, September 26 2016
Unity Support 1.2.1 1844 Saturday, April 16 2016
Unity Support 1.2.0 2552 Monday, November 16 2015
Unity Support 1.1.2 122 Friday, November 06 2015
Unity Support 1.1.2-EAP 74 Saturday, October 17 2015
Unity Support 1.0.0 716 Friday, October 16 2015