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 0c6fd1b45b Added meta 2019-07-17 13:54:56 -04:00
.yamato Bump code analysis version 2019-06-18 13:55:12 -04:00
Documentation~ Make documentation more serious 2019-04-11 16:48:14 -04:00
Editor Update dependencies 2019-06-12 16:34:02 -04:00
Tests Update API docs 2018-12-05 15:31:32 -05:00
.gitignore Initial commit 2018-06-25 00:13:07 +02:00
.npmignore Initial Setup 2018-06-25 00:17:24 +02:00
CHANGELOG.md Added contribution guidelines 2019-07-17 09:49:44 -04:00
CHANGELOG.md.meta Initial Setup 2018-06-25 00:17:24 +02:00
CONTRIBUTING.md Added contribution guidelines 2019-07-17 09:49:44 -04:00
CONTRIBUTING.md.meta Added meta 2019-07-17 13:54:56 -04:00
Editor.meta Initial Setup 2018-06-25 00:17:24 +02:00
LICENSE.md Update license 2019-07-05 13:49:58 -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 Added contribution guidelines 2019-07-17 09:49:44 -04: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")