Testing extension development
I'm writing and testing an extension, when debugging I would like to run the extension as soon aş the app starts from the Intellij debug mode. I found this paramter
-invoke=QuickenConverter
(QuickenConverter is the name of my extension) that seems like it should do the trick but it doesn't seem to do anything. There's probably a trick to this that I haven't learned yet. If anyone could help, I'd appreciate it.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Stuart Beesley ... on 01 Feb, 2025 10:38 PM
A couple of questions...
The extension will be automatically installed when MD starts anyway and it's init/initialise method called... You could jump off that.. OR, do you want it to wait for an invoke() or handleEvent() call? if so, then....:
you need to execute MD like this:
(note: the extension ID should be defined and called in lowercase.Then either handleEvent() or invoke() should get called (I can't remember which)..
You will need to check that the dataset is loaded and the GUI loaded before doing anything.. It's typical for an extension to 'idle' until a AppEventManager.FILE_OPENED event is received...
2 Posted by Stuart Beesley ... on 01 Feb, 2025 10:42 PM
... you will have to play with this and ensure that the system is in the right state when the extension is invoked...
There is also a
parameter too, but again, this is quit fiddly to get right...If you dataset has a password, you can set the environment variable:
before launching MDThe other useful parameters are:
useyourdatasetname
before any other options/parameters and
to not backup when MD quits.
3 Posted by Stuart Beesley ... on 08 Feb, 2025 04:48 PM
Did any of these parameters help?