The Immediate Window provides a way to rapidly edit and debug code. It is not a full development environment, instead it is to be used for API discovery and rapid prototyping.
Перейти к файлу
Mathieu Rivest 123bb4b0c0 Update CI to add repository field 2018-12-11 14:10:13 -05:00
Documentation~ Update CI to add repository field 2018-12-11 14:10:13 -05:00
Editor Fixed key up/down on console input 2018-12-07 09:23:40 -05:00
Tests Update API docs 2018-12-05 15:31:32 -05:00
.gitignore Initial commit 2018-06-25 00:13:07 +02:00
.gitlab-ci.yml Update CI to add repository field 2018-12-11 14:10:13 -05:00
.npmignore Initial Setup 2018-06-25 00:17:24 +02:00
CHANGELOG.md Update CI to add repository field 2018-12-11 14:10:13 -05:00
CHANGELOG.md.meta Initial Setup 2018-06-25 00:17:24 +02:00
Editor.meta Initial Setup 2018-06-25 00:17:24 +02:00
LICENSE.md 2018.3 Release Candidate 2018-11-02 14:44:33 -04:00
LICENSE.md.meta Initial Setup 2018-06-25 00:17:24 +02:00
README.md Readme Update 2018-12-11 12:58:18 -05:00
README.md.meta Initial Setup 2018-06-25 00:17:24 +02:00
Tests.meta 2018.3 Release Candidate 2018-11-02 14:44:33 -04:00
Third Party Notices.md Update license information 2018-12-05 15:35:44 -05:00
Third Party Notices.md.meta Initial Setup 2018-06-25 00:17:24 +02:00
build.bat Update CI to add repository field 2018-12-11 14:10:13 -05:00
build.bat.meta Update CI to add repository field 2018-12-11 14:10:13 -05:00
build.sh Update CI to add repository field 2018-12-11 14:10:13 -05:00
build.sh.meta Update CI to add repository field 2018-12-11 14:10:13 -05:00
package.json Update CI to add repository field 2018-12-11 14:10:13 -05:00
package.json.meta Initial Setup 2018-06-25 00:17:24 +02:00

README.md

Unity Immediate Window

An immediate window we can all believe in!

Original Author and Supreme Lord Of Absoluteness Without Hesitation And Second Guessing: Mathieu Rivest

Documentation

TODO

MVP
  1. Quick Inspector
  2. Assembly
  3. Responsive UI (not fixed console size)
Tasks
- Assembly references (Using namespace)
    + To make typing quicker
    * Show a list of last "usings" (assembly list with a 'using' checkbox)
- Object Inspector
    + To show and inspect values
    * Add pagination for all (...)
    * Editing
        * Allow inline edit of values (eg: click on string and change it right there)
- Save Settings
    + Better experience
    * Save List of 'using'
    * Save typing history up to xxx
- Multiline
    + Refine a method
    * Show line numbers for easier debugging
- Typing history
    + Better experience
    * History list
        * with click to paste, and double-click to call
- Autocomplete
    + Better experience
- Codebase Heat Map
    + Easier and intuitive code exploration
- QA
    * Freeze-proof (while(true) {} shouldn't freeze unity/computer)

Internal

Useful code snippets for testing

#r "/Users/mathieur/organizations/unity/projects/hackweek/immediate/projects/ImmediateWindow/Library/ScriptAssemblies/Unity.ImmediateWindow.Editor.dll"

UnityEditor.ImmediateWindow.UI.TestClass.Test("asdsa")
using UnityEditor.ImmediateWindow.UI; TestClass.Test("asdsa")

public class A {public int X {get;set;} public string Y {get {return "yes";}}}; new A()

-- Multiline Output --
class A
{
 public int X = 12;
 public string Name = "Mat";
}
var x = new A();
x

-- Using Namespace --
GameObject.Find("Main Camera")