hayesmaker / doomsdayconsole

originally code.google.com/p/doomsdayconsole
0 stars 0 forks source link

DConsole Initial Thoughts #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I saw Andreas' talk at FOTB2011 - great stuff, really enjoyed it. Here are some 
notes I made during my first attempt at using DConsole.

1. Mention ctrl+shift+enter ASAP on all wiki pages and the readme/homepage.

2. I dig the warning messages: "Warning: stage.align is not set to TOP_LEFT;"

but, would be nice if it was copy-pastable. e.g.

"Warning: blah, blah. Quickfix: stage.scaleMode = StageScaleMode.NO_SCALE;"

Also, would be nice to be able to toggle line numbers to enable multiline 
copy-paste.

Other possible warnings:

For release-build swf: "Warning: DConsole compiled into release build. Consider 
conditional compilation."

3. Alias ? to help

4. Autocomplete: why does "se" not match anything while "setLo" matches 
"setLoggingLevel"?

5. What is the initial 'ALL' loggingLevel?

[029] < getLoggingLevel
[030] > Current logging level is 'ALL'
[031] < setLoggingLevel
[032] > Current logging level is 'DEBUG'
[033] < setLoggingLevel ALL
[034] > Current logging level is 'DEBUG'

6. MXML Tag and namespace:

<fx:Declarations>
    <dc:DConsole/>
</fx:Declarations>

I will take a stab at implementing this (as soon as I can resolve all the 
missing dependencies from my checkout - where can I find: 
"com.furusystems.messaging.pimp.Message" etc?).

7. Plugins and naming: Why do we "register*Plugins*" and then pass 
"*SystemInfo*Util*" which is then triggered by "capabilities"?

Surely: registerPlugins(CapabilitiesPlugin)

8. Git - any plans to switch to GitHub at some point?

Otherwise, great tool. More feedback soon.

Cheers,
Shaun

Original issue reported on code.google.com by Dars...@gmail.com on 15 Sep 2011 at 4:39

GoogleCodeExporter commented 8 years ago
From the top :-)

1. Will do ASAP. The wiki is constantly outdated. Things move fast, I'm afraid.

2. You can toggle line numbers with "showLineNumbers", but the chevrons remain. 
I'll change the behavior so that if line numbers are removed, the chevrons go 
with them.

3. Good suggestion. Will do.

4. The autocomplete is based on what is called a ternary tree. I chose that 
structure because it is stupid fast and very easy to maintain, but it's also 
somewhat "binary". What happens is that when you type "se" it crawls the tree 
for anything matching, character by character. In your example, it reads "se" 
which matches both "set" and "setLoggingLevel" and a whole other bunch of 
commands, so it stops there. A suggestion, basically, is found by crawling the 
tree until a divergence is encountered. The "fix" to this right now is the tab 
key; Hit it when you get a completion suggestion. Either the completion matches 
a full term and it will "accept" it and append a space following it, or it will 
do a search for every matching term and list them for you. It's not ideal, but 
you can get used to it, so i'm leaving it in until someone decides to write a 
better solution ;-)

5. ALL is an alias for DEBUG, and NONE is an alias for a level higher than 
FATAL. They're there to make writing statements a little more verbose. If i 
want every message, i personally find it somehow more satisfying to say i want 
ALL messages, not just setting the level to debug. Maybe it's silly, I don't 
know ;-)

6. When you checked out, you should have gotten two externals: one for 
pimp.googlecode.com and one for http://code.google.com/p/slf4as/ Strange that 
you have a problem here; To answer #8 in the same go, I extensively use 
externals in my work, and an external metaphor in Git is an awkward 
proposition. I'm actually tilting more towards moving to Mercurial than Git.. 

7. Yeah.. The naming has changed constantly. Remember, a lot of these plugins 
used to be console internals in the past, and i've been moving the 
functionality to plugins quite rapidly. There have been casualties ;-) I agree 
with your point. I will make a pass over plugin names to make sure they are 
better. 

It's fun reading this stuff. Expect fixes to 1, 2, 3 and 7 within the next 
couple of revisions: I commit new stuff pretty much daily these days. 

Original comment by andr...@doomsday.no on 15 Sep 2011 at 6:23

GoogleCodeExporter commented 8 years ago
Wickd, thanks for the response.

4. Yeh, was just curious. Easy enough to get used to.

6. Right... I didn't do an SVN checkout - I pulled the code into a git repo and 
cloned it, my bad. I've heard good things about Mercurial, but I haven't tried 
it out. Externals (or roughly equivalent) are possible with git: 
http://stackoverflow.com/questions/571232/svn-external-in-git

Also, You showed a plugin in your talk where you could pick an object, choose 
some properties and wire them to a widget. Looked awesome. Which plugin was 
that?

Original comment by Dars...@gmail.com on 15 Sep 2011 at 6:39

GoogleCodeExporter commented 8 years ago
Is there a way to configure the CTRL-SHIFT-ENTER shortcut?

I currently use this combination for something else...

Original comment by jolyonr...@gmail.com on 7 Dec 2011 at 5:26