Recent

Author Topic: [SOLVED] Tool to get Lazarus IDE Info ?  (Read 1623 times)

BrunoK

  • Sr. Member
  • ****
  • Posts: 452
  • Retired programmer
[SOLVED] Tool to get Lazarus IDE Info ?
« on: February 28, 2020, 10:54:31 am »
Does a tool exist that would help discover under-laying information about the running IDE forms/controls and catch it to the clipboard ?

Examples
  I have the Object inspector window showing. Hovering over it would show the form's
  - Caption
  - Classname
  - Maybe name

Hovering, say, on the TabSheet part would show its class and pressing some Ctrl_Catch key would grab the shown info.

Objective : help to retrieve relatively easily information that could be used in a search in files to locate units.



Lazarus trunk r. 62575/21.01.2020 (+/- changes regarding TScrollBar, IntitalSetupDialog, Options.Environment options).  FPC 3.0.4 (the mac os one) from svn + some mods.
Windows 10 Pro x64 (v. 1903 / 18362.418) and for test Linux Manjaro (QT5 and GTK2)
« Last Edit: March 01, 2020, 12:44:16 pm by BrunoK »

mercurhyo

  • Full Member
  • ***
  • Posts: 242
Re: Tool to get Lazarus IDE Info ?
« Reply #1 on: February 28, 2020, 08:43:49 pm »
menu >> view >> Code Explorer
I think it's what you are looking for, with the Objects Inspector
« Last Edit: February 28, 2020, 08:46:50 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Tool to get Lazarus IDE Info ?
« Reply #2 on: February 28, 2020, 09:06:55 pm »
I don't know of such a tool, but it would be relatively easy to write one, since the global Application and Screen variables collect and expose all the information you might ever need about currently instantiated forms and their controls (and lots of relatively arcane information you probably won't need).

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9869
  • Debugger - SynEdit - and more
    • wiki
Re: Tool to get Lazarus IDE Info ?
« Reply #3 on: February 29, 2020, 06:19:14 pm »
There are several ways to interpret your question. Maybe this:

Try to focus the object inspector (or the window in question) and press Shift Ctrl F1

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9869
  • Debugger - SynEdit - and more
    • wiki
Re: Tool to get Lazarus IDE Info ?
« Reply #4 on: February 29, 2020, 06:21:08 pm »
There is also a package ( I think in CCR) that acts as a live Object inspector. Allows to inspect the OI, or source edit, or main form....

Same in main distro IdeInspector (but outdated)

BrunoK

  • Sr. Member
  • ****
  • Posts: 452
  • Retired programmer
Re: Tool to get Lazarus IDE Info ?
« Reply #5 on: March 01, 2020, 12:43:22 pm »
There are several ways to interpret your question. Maybe this:

Try to focus the object inspector (or the window in question) and press Shift Ctrl F1
Thank you very much Martin.
 
<Shift Ctrl F1> was what I was looking for but didn't know existed.
It is even much better than what I hoped for since it allows to open the concerned files very easily.

 

TinyPortal © 2005-2018