gilbertoalexsantos / bluconsole Goto Github PK
View Code? Open in Web Editor NEWA 21st century console for Unity3D
License: MIT License
A 21st century console for Unity3D
License: MIT License
The user should be able to select and copy parts of the log text. And maybe a option to copy all stacktrace.
The warning/error icons in console log appear squashed in Unity 2018.3.8, otherwise great!
Awesome tool! Man I could really use it but I can't update Unity yet. Any chance you have a build for Unity 5.3?
Hi!
Thank you for the great job on this asset.
For my convenience I modified your code in order to have double click and right click working on not yet selected elements (log or callstack line).
Here are the modifications in BluConsoleEditorWindow if you're interested:
around line 424
if (messageClicked)
{
_selectedLog = GetCompleteLog(row);
hasSomeClick = true;
if (!IsDoubleClickLogDetailButton)
{
PingLog(_selectedLog);
logListSelectedMessage = i;
}
if (!isLeftClick && i == logListSelectedMessage)
DrawPopup(Event.current, log);
if (isLeftClick && i == logListSelectedMessage)
{
if (IsDoubleClickLogListButton)
{
_logListLastTimeClicked = 0.0f;
var completeLog = GetCompleteLog(row);
JumpToSource(completeLog, 0);
}
else
{
//PingLog(_selectedLog);
_logListLastTimeClicked = EditorApplication.timeSinceStartup;
}
}
logDetailSelectedFrame = -1;
}
around line 610
if (messageClicked)
{
bool isLeftClick = Event.current.button == 0;
if (!IsDoubleClickLogDetailButton)
logDetailSelectedFrame = -2;
if (!isLeftClick && logDetailSelectedFrame == -2)
DrawPopup(Event.current, log);
if (isLeftClick && logDetailSelectedFrame == -2)
{
if (IsDoubleClickLogDetailButton)
{
_logDetailLastTimeClicked = 0.0f;
JumpToSource(log, 0);
}
else
{
_logDetailLastTimeClicked = EditorApplication.timeSinceStartup;
}
}
}
around line 651
if (messageClicked)
{
bool isLeftClick = Event.current.button == 0;
if (!IsDoubleClickLogDetailButton)
logDetailSelectedFrame = i;
if (isLeftClick && logDetailSelectedFrame == i)
{
if (IsDoubleClickLogDetailButton)
{
_logDetailLastTimeClicked = 0.0f;
JumpToSource(log, i);
}
else
{
_logDetailLastTimeClicked = EditorApplication.timeSinceStartup;
}
}
}
ref: https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/ConsoleWindow.cs
(640Line) LogEntries.GetLinesAndModeFromEntryInternal(el.row, Constants.LogStyleLineCount, ref mode, ref text);
GetFirstTwoLinesEntryTextAndModeInternal => GetLinesAndModeFromEntryInternal
Current state:
The log entry details (displayed in the bottom half) uses a fixed line height, regardless the content. If the console has a small width, it is not possible to see the whole line content.
Correction:
Turn the line height variable, base on the text length. (It requires that the text should be wrapped to fit into the width)
as per title warnings about Invalid AssetDatabase path now come up when playing in editor
When trying to scroll the list using the arrow keys the scroll do not scrolls.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.