Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CEE-clone for VFP7
Message
From
06/02/2002 12:37:18
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00615920
Message ID:
00616155
Views:
28
Frank,
This is funny because I just removed CEE from my startup.prg this morning! I had moved most of the stuff to intellisense. The only feature I still used was the LOCAL declaration. It worked quite well for a few months but I suddenly got C5 errors that were caused by CEE.

I found the great utility from Andy and Marcia which allowed me to remove CEE. The only thing that I am still missing is the parameter expansion. I might have a look at this when I get some time.

I use a different approach for the keyword expansion.

I would be interested in your comment/uncomment feature.

TIA
>Hi,
>
>as some of us have realized by now, CEE and intellisense do not like each other too much. Luckily some developers have been taken care of this hole and so most of the functionality has been "rebuild" by now.
>
>For what was missing (to me), I have written or am in the process of writing some code.
>
>My idea is now - maybe with Your help - to put the pieces together into one CEE-Clone-Object
>
>Lets see what we have (could have) by now
>
>

    >
  1. Mike Potjer wrote a replacement for the MacroExpansion with IntelliSense.
    >This can be found here in the download-section.
    >
    >This works perfectly well but only if the Keyword is the first one in the row. ALT-BACKSPACE-functionality is still missing and I hope I could take care of that.
    >
    >
  2. Marcia Akins and Andy Kramek wrote about the Independence of Declaration in the January issue of FoxTalk and took care of the ALT-6 localization.
    >
    >I would like to add some functionality to that so that the declared variables automatically get sorted alphabetically (i.e LOCAL lc_VarA, lc_VarB, ln_VarA,...)
    >
    >
  3. I always had problems with the built in Comment/uncomment-functionality of VFP and was longing for my ALT-4 CommentToggle from CEE. So I wrote this (FoxTools _EdComment() did not do what I wanted) and added some the possibility of either toggling comment/uncomment like CEE or use two keys one for commenting one for uncommenting where commenting is additive.
    >
    >I also aranged it so that the complete block gets selected (highlighted) after the "manipulation" as I normally do something with the block afterwards(indent, outdent or move somewhere else).
    >
    >
  4. I added a new feature that I call CommentBlock. This creates a commented block of the selected area surrounded by stars, lines spaces etc. (fully configurable) and preserves the indentation. You could do this with CEE's macro but only to a limited extent. So Code could look like this
    >
    >
    >*================================*
    >*  Before I can start to do the  *
    >*  task, I have to check that    *
    >*  everything is OK              *
    >*      1. Is the User allowed    *
    >*         Perform the task       *
    >*      2. Are the environmental  *
    >*         settings done          *
    >*================================*
    >if CheckEnv()	   	
    >	*=============================*
    >	*  Yes everything is alright  *
    >	*  The next step would be...  *
    >	*=============================*
    >	DoThis()
    >	DoThat()
    >else
    >	*=================================*
    >	*  Nope, that failed. Write       *
    >	*  Protocol and tell the user to  *
    >	*  get the big brother            *
    >	*=================================*
    >	....
    >
    >endif	
    >
    >
    >the Characters used for left, top, right and center can be defined as well as the number of spaces or rows before and after the block. So blocks can be open on the right and bottom if You like.
    >
    >
  5. Parameter-Expansion is still missing. I'd like to know if anyone ever used it. If so, we should put it in also. I think it can be done using the macro-expansion from IntelliSense and some of the code I used for te stuff above.
    >
    >
  6. The rest like method parameters, indentation etc. works perfectly well with the built in features of VFP.
    >

>
>I would really appreciate any comments, ideas as well as requests for additional features on this project.
>
>I am very busy at the moment some of You would benefit from that, I would like to get this done as soon as possible - and of course this should be PD.
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform