Jump to content
SwiftExpat

Deputy IDE Expert

Recommended Posts

I created a plugin to terminate orphaned processes left behind by the IDE during development. You can see the demo here:

 

Source and a release build are available here:

https://github.com/SwiftExpat/Deputy

 

Install it manually using these instructions: https://swiftexpat.com/docs/doku.php?id=rttk:deputy:install

 

There is a gentle nag for you to download my compiled demo, which you can decline.

 

The expert is built using TOTAL as a framework: https://github.com/DelphiWorlds/TOTAL

If you want to build your own, a step by step to setup your project is here: https://github.com/SwiftExpat/Deputy/wiki/Step-by-Step---Create-Total-plugin-project

 

Enjoy,

SwiftExpat

  • Thanks 3

Share this post


Link to post

To make installation easier, Deputy is now available in GetIt for versions 10.3, 10.4 and 11.0.

 

Share this post


Link to post

There appears to be a conflict with GExperts.

I am running Windows 11, 4k screen, D11.1, GExperts rev 3823, Deputy rev 2.4.1 via Getit.

This occurs after the Deputy install and Delphi is restarting.

image.thumb.png.86d7093e26457eb46da70f83dd3eb470.png

 

Further, as D11.1 is starting I see this...

image.thumb.png.7aab3a1d0aff30e3b14e33f27f6e5730.png

If I disable GExperts this disappears.

  • Thanks 1

Share this post


Link to post
4 hours ago, Ian Branch said:

There appears to be a conflict with GExperts. 

Thank you for reporting the error. I will try to replicate and let you know if I need more information.

At first glance I do not know what would conflict, but I will load it in the debug session and try to reproduce.

This is the feedback I need, Thank you Ian

Share this post


Link to post
15 hours ago, Ian Branch said:

There appears to be a conflict with GExperts.

I am running Windows 11, 4k screen, D11.1, GExperts rev 3823, Deputy rev 2.4.1 via Getit.

This occurs after the Deputy install and Delphi is restarting.

That is not necessarily related to Deputy IDE expert. It also happens (sometimes) with only GExperts installed when closing the IDE. I could never figure out what causes it. It's an assertion in a destructor in SynEdit.

  • Thanks 1

Share this post


Link to post

Fair comment.  All I know is that if I disable GExperts or Deputy the Delphi Opening effect disappears.

I have seen no operational impact as yet.

Share this post


Link to post

Just tried to compile Deputy based on GitHub Repo Rev. 41 (TOTAL and Kastri installed).

Getting this error: 

[dcc32 Fehler] SE.IE.Deputy.pas(420): E2003 Undeklarierter Bezeichner: 'GetWizardFileName'

FWizardInfo.WizardFileName := GetWizardFileName;

IT seems that GetWizardFileName is not  part of TOTAL.

Share this post


Link to post
25 minutes ago, Matthias said:

IT seems that GetWizardFileName is not  part of TOTAL.

Hello Matthias,

I submitted https://github.com/DelphiWorlds/Kastri/pull/98  and https://github.com/DelphiWorlds/TOTAL/pull/6  to have the WizardFileName function exposed.

I will track the PR's, until then you can use my forks to get the WizardFileName.

https://github.com/SwiftExpat/TOTAL

https://github.com/SwiftExpat/Kastri

Share this post


Link to post
3 hours ago, Ian Branch said:

All I know is that if I disable GExperts or Deputy the Delphi Opening effect disappears.

Hello Ian,

The etch-a-sketch lines were caused by Deputy having a line break in the license information for the splash screen.  It was visible on my machine in 10.4, but not in 11.1 .

A new version is available. 2.4.2.

Currently it is manual update via a menu option in the IDE, instructions here: https://swiftexpat.com/docs/doku.php?id=rttk:deputy:update

When you have a chance I would appreciate you trying the update and reporting back if the etch-a-sketch lines are fixed.

Thank you in advance

 

  • Thanks 1

Share this post


Link to post

Done. 

All good now. 

No etch-a-sketch lines at start-up of my Delphi 11.1

Thank you.

Ian

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×