Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Code Assist: Empower your IDE

Discussion in 'Assets and Asset Store' started by Merry-Yellow, Jan 10, 2023.

  1. Merry-Yellow

    Merry-Yellow

    Joined:
    Jan 10, 2023
    Posts:
    4
    Asset Store | Website | Discord

    Code Assist
    improves your coding experience with Visual Studio by adding new features to it. Coding for Unity projects becomes easier and more efficient with fewer bugs.
    Connect your game editor and IDE, let Unity and Visual Studio share data between each other. Enrich your coding experience with the new data available.


    Features:

    - Code Completion:
    More content for code completion (aka IntelliSense) which is specialized for common Unity APIs and your own projects.


    - Inline Visuals: Displays visual information about your scene data and assets.


    - Code Analyzers: Additional analyzers on top of the default ones (Microsoft.Unity.Analyzers), which are focused on memory and CPU utilization.


    - Code Transformers: Apply common design patterns to your code base instantly.


    - Generative AI: Use OpenAI ChatGPT to complete your code.


    Requirements: Visual Studio 2022 is required. It is not compatible with Visual Studio Code, Visual Studio for Mac, Rider or any other IDE or text editor.
     
    Last edited: Jul 26, 2023
  2. Merry-Yellow

    Merry-Yellow

    Joined:
    Jan 10, 2023
    Posts:
    4
    Changelog
    List of new features, bug fixes and improvements

    Version 1.1.9
    • Gpt support for chat and edit
    • More options added for Gpt
    • Overall stability improvements
    • Exporter shows file locks if update/export is unsuccessful

    Version 1.1.8
    • Bugfix for non-Unity solutions

    Version 1.1.7
    • Bugfix for Visual Studio freeze

    Version 1.1.6

    • Gpt support added for shader files
    • Stability improvements for Unity.ScriptFinder

    Version 1.1.5

    • Stability and usability improvements for exporter/updater
    • Bugfix for Transformer Linq and Auto Input Manager
    • Usability for Transformer window, disabling it if not connected to Unity
    • Enhancement for completions, sorting numerical values correctly *

    Version 1.1.4

    • Auto Input Manager is now compatible with binary asset files
    • Stability and usability improvements for Transformer windows

    Version 1.1.3

    • Analyzers are working at a separate process *
    • Inline visuals stability and performance improvements * *
    • Exporter stability improvements * *
    • Transformer window stability improvements *
    • Bugfix for Gpt busy icon positioning *

    Version 1.1.2

    • Bugfix for Yaml file parsing of InputManager

    Version 1.1.1

    • Bugfix for error handling of binary file parsing

    Version 1.1.0

    • New feature: Generative AI. Use OpenAI ChatGPT within comments to complete your code
    • New feature: Visual Studio menus. Access Unity Code Assist from "Extensions"->"Unity Code Assist"
    • New code completions: PlayerPrefs, EditorPrefs and Input classes' methods can be auto completed
    • New inline visuals: PlayerPrefs, EditorPrefs and Input classes' methods can display inline information
    • New code transformer: Auto Input Manager. Converts legacy input code into the new Input Manager

    Version 1.0.0.21

    • Bugfix for deleting script files which are base classes

    Version 1.0.0.20

    • Bugfix for crash at startup *

    Version 1.0.0.19

    • More logging for error tracking

    Version 1.0.0.18
    • Overall stability improvements, nullable references enabled for codebase
    • Stability improvements for communications, when reconnection occurs

    Version 1.0.0.17
    • Stability improvements for Unity ScriptFinder class

    Version 1.0.0.16
    • Bugfix for Visual Studio events concurrency

    Version 1.0.0.15
    • Visual Studio events are reimplemented for both stability and performance
    • Removal of possible Task deadlocks
    • Usability improvements for exporter/updater
    • Bugfix for exporter/updater, where prompts can appear twice
    • Bugfix for Inline Texts, where const null identifier may raise exceptions *
    • Bugfix for communications, where tags&layers are sent for the first time

    Version 1.0.0.14
    • Usability improvements for Visual Studio Status window where project is not a Unity project
    • Bugfix for communication reinitialization, where projects are closed and opened from Visual Studio *
    • Bugfix for Visual Studio events' initialization *

    Version 1.0.0.13
    • Bugfix for Unity where target object is neither Component nor MonoBehaviour *

    Version 1.0.0.12
    • New Feature: Updating Unity asset from Visual Studio
    • Online error reporting of Unity errors
    • Usability improvement for Visual Studio Feedback window
    • Bugfix for Inline Texts where there is no class declaration *
    • Bugfix for Code Completion where there is no class declaration *
    • Bugfix for Visual Studio output window, where it may be unavailable

    Version 1.0.0.11
    • Bugfix for Visual Studio events' initialization *
    • Exporter now has more logs

    Version 1.0.0.10
    • Bugfix for Inline Texts where leading trivia is absent *
    • Bugfix for Visual Studio events' initialization *

    Version 1.0.0.9
    • Minor adjustments for initialization logging

    Version 1.0.0.8
    • Online analytics added
    • Bugfix for Inline Texts, Visual Studio code preview screen does not raise any exception anymore

    Version 1.0.0.7
    • Online error tracker added

    Version 1.0.0.6
    • Exporter is always disabled for non Unity projects

    Version 1.0.0.5
    • New platform: Lite version released at Visual Studio Marketplace
    • New feature: Exporting Unity asset from Visual Studio
    • Unity package become package independent (Removed Newtonsoft.Json dependency)

    Version 1.0.0
     
    Last edited: Sep 19, 2023
  3. Merry-Yellow

    Merry-Yellow

    Joined:
    Jan 10, 2023
    Posts:
    4
    Generative AI
    Generative AI is one of the features of Code Assist. If you have any ethical or legal concerns, you can use Code Assist without this feature by disabling generative AI in the options.

    Generative AI uses OpenAI's ChatGPT as its backend language model. You need an OpenAI account and provide it's API key to this asset.
    https://platform.openai.com/account/api-keys

    Provide key by one of the below
    • Create an environment variable called OPENAI_API_KEY with the API key
    • Create a file with name .openai under user profile directory with the API key
    • Set API key in Visual Studio options, Tools->Options->Unity Code Assist->Generative AI->Authentication

    This asset has one-time purchase fee, but you may need to pay extra for OpenAI services to use Generative AI feature.
    https://openai.com/pricing

    To use generative AI with your comments:
    1. Type "//gpt "
    2. Type your prompt
    3. Press Enter key
     
    Last edited: Jul 26, 2023
  4. Merry-Yellow

    Merry-Yellow

    Joined:
    Jan 10, 2023
    Posts:
    4