Skip to content

Enhancement for in-editor functionality #1

@ddTech

Description

@ddTech

Hello Toni,

i just fell over Your memberData creator and love it.

Decades ago, wenn vfp superseded fox 2.6 I wrote an editor extension "ceeClone" which integrated with the new intellisense manager as a replacement of the cee-tool (COB editor extension) that many of us used in fox 2.6.

So my first idea was to integrate Your tool with intellisense and my ceeClone in order to be able to trigger the functionality directly from within the editor. But as vfp's intellisense stuff always has been very cryptic, I decided to just extend Your program by a few procedures that provide the intended functionality without the need for installing my ceeClone tool.

Your code remained barely untouched. I just modified the intro and appended a hand full of procedures.

The modified PRG can be called as before and the functionality will remain unchanged.

However, if You just execute the Program without providing parameters a wait window should inform You that the program can now be used directly from within the editor.

Typing ALT-M from within the editor will detect the name of the class definition the cursor ist currently located in and insert the memberData propety at the current location. This can be either on top or below the properties or just above the ENDDEFINE - actually anywhere in the code.

In order to switch the functionality off, just execute the program again without parameters. This. will release the procedure and unbind the key.

The only dependency is vfp's foxtools.fll library which normally sits in the home() directory.

Here is the modified PRG

createMemberdataofPRGBasedClassCode.zip

Hope it works for You as well,

kind regards

Frank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions