Recent

Author Topic: Cheat sheet utility for Classes, Key mappings etc ?  (Read 836 times)

jamie

  • Hero Member
  • *****
  • Posts: 3791
Cheat sheet utility for Classes, Key mappings etc ?
« on: September 06, 2020, 02:55:01 am »

What I would like to see or maybe I could code one if needed is a utility in the TOOLs for example that could print out a cheat sheet of the current key mappings , Known Class Tree etc...

Does one exist for the Lazarus IDE somewhere ?

 I find it hard these days to remember key combinations etc.

 would be nice if we could selectively print one out that could be a key board template etc...
The only true wisdom is knowing you know nothing

MarkMLl

  • Hero Member
  • *****
  • Posts: 1449
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #1 on: September 06, 2020, 11:13:52 am »
I know this isn't quite what you're asking, but I need something that generates a grid showing used and unused key combinations and I need it right now :-)

(So that I can find a couple of free combinations to assign to e.g. "Reset Debugger", to make it usable with a game controller as described at https://wiki.freepascal.org/Lazarus_IDE_with_Nostromo_Keypad_on_Linux )

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.

lucamar

  • Hero Member
  • *****
  • Posts: 3204
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #2 on: September 06, 2020, 12:42:39 pm »
I know this isn't quite what you're asking, but I need something that generates a grid showing used and unused key combinations and I need it right now :-)

(So that I can find a couple of free combinations to assign to e.g. "Reset Debugger", to make it usable with a game controller as described at https://wiki.freepascal.org/Lazarus_IDE_with_Nostromo_Keypad_on_Linux )

Not exactly what you're askng for but in "Tools->Options->Editor->Key mappings" you can not only see all (or amost all) the IDE (not just the editor) assigned keys and you can even test (with "Find key combination") whether any mapping is assigned.

You could also save the current mapping to file, which might allow you to process it and generate that grid you want.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

MarkMLl

  • Hero Member
  • *****
  • Posts: 1449
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #3 on: September 06, 2020, 02:31:43 pm »
You could also save the current mapping to file, which might allow you to process it and generate that grid you want.

Is there a button for that? Don't see it in Trunk.

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6710
  • Debugger - SynEdit - and more
    • wiki
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #4 on: September 06, 2020, 02:47:23 pm »
Install package "IdeScout", then assign a keycombo - one (as in "a single one") that you will remember - to: "View menu commands" > "show IDE scout"

In the "scout" you can type text that will be searched in the description of each IDE command, and show you the command + shortcut.
The enter key will execute the selected entry.

jamie

  • Hero Member
  • *****
  • Posts: 3791
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #5 on: September 06, 2020, 04:48:45 pm »
It would be nice if there were a PRINT option but that's fine...

I already have an app that takes use of the F keys and have an option in there for the  user to PRINT out to his printer a key board template the can stick just above his keys in different patterns or customize it by moving the squares around which represents the users key board lay out..

 But this does not need to go that far, an option print of the particular subject matter keys would be nice to have in front of me..
 
 I can do this myself if needed, I'll look in the config file to see how they are stored.
The only true wisdom is knowing you know nothing

cpbotha

  • Newbie
  • Posts: 1
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #6 on: October 20, 2020, 09:39:30 pm »
Install package "IdeScout", then assign a keycombo - one (as in "a single one") that you will remember - to: "View menu commands" > "show IDE scout"

In the "scout" you can type text that will be searched in the description of each IDE command, and show you the command + shortcut.
The enter key will execute the selected entry.

I am unable to find IdeScout in either "Install/Uninstall Packages" or in the "Online Package Manager" in Lazarus 2.0.10 for x86_64 on Windows.

It's highly probable that I'm doing something wrong. Could someone give me a hint?

FTurtle

  • Sr. Member
  • ****
  • Posts: 280
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #7 on: October 20, 2020, 11:01:23 pm »
I am unable to find IdeScout in either "Install/Uninstall Packages" or in the "Online Package Manager" in Lazarus 2.0.10 for x86_64 on Windows.

It's highly probable that I'm doing something wrong. Could someone give me a hint?

The cause is you use too old version.

Quote
Revision: 59126
Author: mattias
Date: 14:16:24, 22 September 2018
Message:
idespotter: added new ide package spotter
----
Added : /trunk/components/idespotter
Added : /trunk/components/idespotter/ReadMe.txt
Added : /trunk/components/idespotter/frmspotter.lfm
Added : /trunk/components/idespotter/frmspotter.pas
Added : /trunk/components/idespotter/idespotter.lpk
Added : /trunk/components/idespotter/idespotter.pas
Added : /trunk/components/idespotter/languages
Added : /trunk/components/idespotter/regidespotter.pas

Quote
Revision: 59264
Author: michael
Date: 13:40:03, 7 October 2018
Message:
* Renamed IDESpotter to IDE scout
----
Added : /trunk/components/idescout (Copy from path: /trunk/components/idespotter, Revision, 59263)
Modified : /trunk/components/idescout/ReadMe.txt
Added : /trunk/components/idescout/frmscout.lfm (Copy from path: /trunk/components/idespotter/frmspotter.lfm, Revision, 59262)
Added : /trunk/components/idescout/frmscout.pas (Copy from path: /trunk/components/idespotter/frmspotter.pas, Revision, 59262)
Deleted : /trunk/components/idescout/frmspotter.lfm
Deleted : /trunk/components/idescout/frmspotter.pas
Added : /trunk/components/idescout/idescout.lpk (Copy from path: /trunk/components/idespotter/idespotter.lpk, Revision, 59262)
Added : /trunk/components/idescout/idescout.pas (Copy from path: /trunk/components/idespotter/idespotter.pas, Revision, 59262)
Added : /trunk/components/idescout/idescoutoptions.lfm (Copy from path: /trunk/components/idespotter/idespotteroptions.lfm, Revision, 59262)
Added : /trunk/components/idescout/idescoutoptions.pas (Copy from path: /trunk/components/idespotter/idespotteroptions.pas, Revision, 59262)
Deleted : /trunk/components/idescout/idespotter.lpk
Deleted : /trunk/components/idescout/idespotter.pas
Deleted : /trunk/components/idescout/idespotteroptions.lfm
Deleted : /trunk/components/idescout/idespotteroptions.pas
Added : /trunk/components/idescout/regidescout.pas (Copy from path: /trunk/components/idespotter/regidespotter.pas, Revision, 59262)
Deleted : /trunk/components/idescout/regidespotter.pas
Deleted : /trunk/components/idespotter

So, you need at least 2.0.0


FTurtle

  • Sr. Member
  • ****
  • Posts: 280
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #8 on: October 20, 2020, 11:44:28 pm »
So, you need at least 2.0.0

Sorry, I've mistaken. This package was not included in 2.0 branch:

Quote
Revision: 59010
Author: mattias
Date: 23:46:38, 15 September 2018
Message:
set trunk version to 2.1.0

You can use trunk as secondary installation or wait 2.2

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3886
  • I like bugs.
Re: Cheat sheet utility for Classes, Key mappings etc ?
« Reply #9 on: October 20, 2020, 11:59:34 pm »
You can use trunk as secondary installation or wait 2.2
I can recommend trunk as the primary installation unless you maintain critical projects with Lazarus.
Trunk works pretty well now.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux.

 

TinyPortal © 2005-2018