Page 1 of 1

IDE only

Posted: Thu Jan 14, 2010 1:24 am
by skywalk
Can we have a single character alias for DEBUG?
like ' or `
I use Debug a lot and it's kinda silly to type 5 letters each and every time.
Probably the same for the parser?
REM was collapsed to ';' so why not DEBUG?

I promise I'll add others. :)


Thanks,
...just another VB castaway requesting permission to come aboard.

Re: IDE only

Posted: Thu Jan 14, 2010 1:28 am
by freak

Code: Select all

Macro _: Debug: EndMacro

_ "Yellow World!"
:wink:

Re: IDE only

Posted: Thu Jan 14, 2010 1:35 am
by skywalk
Freak'd again! and so quickly!

Thanks that works for me.
But I cannot substitute any other char's in place of the '_' in the Macro?

I was hoping the '_' would be reserved for line continuation.
That's why I suggested ` or '.

Re: IDE only

Posted: Thu Jan 14, 2010 9:24 am
by Fred
just just another valid character: 'D' ?

Re: IDE only

Posted: Thu Jan 14, 2010 12:03 pm
by Kaeru Gaman
do you need API in the Autocomplete?
if not, Debug is the first entry in "de".
this reduces the number of keys to type to three:
type "de"+TAB, and the space after Debug is also already there.

I have API in my Autocomplete, but I'm doin fine with "deb"+TAB

Re: IDE only

Posted: Thu Jan 14, 2010 6:04 pm
by skywalk
Ah, Fred.
Didn't think to insert a letter. I thought that would confuse me since I sometimes use 'D' as a variable. So I am good with '_' until you add line continuation character. :)

Thanks KG, but the macro works for me. Just stick it in a "common.pb" and load with Project.

Can I still leave the request in to collapse 'DEBUG'?

Re: IDE only

Posted: Sat Jan 16, 2010 6:22 pm
by skywalk
Apologize if this has been asked before? More VB6 IDE sadness... :(
Probably just "old dog...new tricks", but this is really slowing me down in converting and editing code in PB.

1. If my cursor is on a variable or procedure or keyword...
Hit Shift-[F2] and the IDE jumps to either that variable's definition or procedure declare.

PB's equivalent [Ctrl]-DblClk only works for procedures.
Can we add variables and constants* too?

*Why doesn't the [F1] key jump to the Constant definition and its value?
As a new user, I don't have all the internal constants memorized(not to mention ones I create) and it would be great to jump back and forth.

2. Searching is good in one direction with [F3].
Why can't I reverse the search order with Shift-[F3]?

3. Are there Macros for the IDE that we can customize?
I did see external tools mentioned on the forum, but hesitate to go there yet.