Personalize IDE?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MadDogDean
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 36
Joined: Thu Jan 03, 2013 6:33 pm

Personalize IDE?

Post by MadDogDean » Thu Nov 27, 2014 2:55 am

Hi,

Is it possible to customize or update the IDE with custom keyboard actions? For example, I *always* use the Enter key beside the numpad and the Code Editor *always* closes on me... grumble, grumble.. I'd like to reverse the actions of the two Enter keys on my keyboard.

Also, is it possible to increase the mouse movement threshold when selecting objects? Often time, I move the mouse *slightly* when selecting an object and it moves a pixel or two... more grumble, grumble... (and "Lock position" isn't really an option at design time).

Thanks,
Dean

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Personalize IDE?

Post by LCNeil » Thu Nov 27, 2014 12:36 pm

Hi Dean,

To adjust the move threshold when moving objects you can set the Grid Spacing to a more suitable value. This setting can be found in "Preferences"---->"Appearance"

In regards to customising the keyboard options, as the script editor is essentially just a stack, you will be able to edit the scripts of it in any way you like. Although we cannot support any 3rd party changes you make ;).

To view IDE based stacks first enable LiveCode ui elements in list from the "View" menu. This will list various IDE stack within the project/application browser. Within this list you should see a stack called "revNewScriptEditor" and this contains all of the scripts and substacks that make up a script editor instance.

Having a quick look into this, the scripts you will want to initial focus on are contained in the "Template stack" button of the "revNewScriptEditor" stack. This is where you will find the various enterKey, enterInField, returnKey and returnInField handlers that deal with the relevant script editor functionality.

I hope this gives you some leads and keep us posted on how you get on

Kind Regards, 

Neil Roger 
-- 
LiveCode Support Team ~ http://www.livecode.com 
--

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Personalize IDE?

Post by Mikey » Thu Nov 27, 2014 4:04 pm

And we need to be able to undo things we do, easier (like accidentally deleting an object when we think we're in the script editor), and better shortcuts for things like changing tools, showing, hiding palettes, etc, etc.

Now that we have a little plugin for skinning the script editor, maybe someone is interested in doing some more hacking...

MadDogDean
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 36
Joined: Thu Jan 03, 2013 6:33 pm

Re: Personalize IDE?

Post by MadDogDean » Fri Nov 28, 2014 8:06 am

Hey Neil,

Thanks for the tips - I'll dig into it (and keep a backup on hand... just in case :shock: )

Cheers,
Dean

Post Reply