38209 FoxcodePlus

Visual Studio like extensions to Visual FoxPro IntelliSense.

38236

Project Manager: Rodrigo Bruscain

The FoxcodePlus project is designed to bring new IntelliSense features found in Visual Studio to the Visual FoxPro IDE through code written in Visual FoxPro to the Windows API and a FLL. The list of features is quite extensive:
  • Incremental IntelliSense for functions, commands and so on.
  • Variables in write-time.
  • Accessing the list of variables in write-time.
  • Constants in write-time.
  • Tables in write-time and run-time also included tables from DataEnvironment in Forms and Reports.
  • Fields in write-time and run-time.
  • Selecting a table with the command "Select" or all commands with the clause "IN".
  • Windows APIs in write-time and run-time.
  • Functions and Procedures in write-time.
  • Classes in write-time.
  • Properties in write-time.
  • Methods and Events in write-time.
  • Support for _MemberData property indicating that the property had capitalization.
  • Summary Tooltip for functions, procedures, methods and events.
  • Classes objects in write-time.
  • WITH...ENDWITH with nesting infinity for any class or instantiated object in write-time and run-time.
  • Objects instantiated in memory.
  • Incremental Shortcut to controls on the form or class designer.
  • New IntelliSense for some commands.
  • Code snippets.
  • Intellisense in write-time for the objects created with the functions CreateObject(),CreateObjectEx() and NewObject() using PRG or VCX file.
  • Help pressing F1 when intellisense is opend.
  • Documenting properties in PRG files with custom tooltip like summary.
  • Error List window.
  • Error Tip.

38236

vfpxicon.png Fixes FoxcodePlus (Beta 3.10)

NEW: Support for "No Auto-Expansion" when selected FUNCTION or COMMAND in intellisense.
FIX: Clause "IN" in several command doesn't open intellisense for tables.
FIX: Added tables from DataEnviroment when used clause "IN" in several commands.
FIX: Typing "." outside of the editor in some places.
FIX: Typing "=" outside of the editor in some places.
FIX: Sometimes an error happend to obtain constants from file .H
FIX: API Exception ... more modifications to avoid this problem.
FIX: FoxcodePlus has not considered the "Error Tip" when unchecked in Intellisense Manager.
FIX: Code snippets inserted in wrong places

vfpxreleasesmall.png Download Latest Release of FoxcodePlus
Don't forget to see the documentation and to know the new feartures in FoxcodePlus Beta 3.10


38236

vfpxicon.png New features FoxcodePlus (Beta 3.07)

NEW: Intellisense for classes in PRG file when an object is instantiated with CreateObject() and NewObject() in the same PRG.
NEW: Shows the FoxcodePlus version in Intellisense Manager and in error messagebox.
NEW: More informations if error happens in FoxcodePlus and now a file called foxcodeplus.err is generated.

FIX: "File doesn't exist" when open the intellisense manager.
FIX: "m." wasn't work.
FIX: Sometimes some tables in DataEnvironment weren't shown.
FIX: Automatic selection erases contents when typing "." or "=" after close with ")" or "]"
FIX: Restore default VFP fonts if uncheck option "Visual Studio font style" in Intellisense Mananger.
FIX: Sometimes when select an item from a class member or table field, they are inserted in wrong place.
FIX: When included the path of PRG or VCX file when used Createobject() or NewObject(), sometimes the intellisense wasn't work.
FIX: Possibility to select an item in intellisense typing with "<" or ">" or "+" or "-"

fcpCreateObject.png

38236

vfpxicon.png Interactions Images

New Intellisense Manager
fcpIntellisenseManager.png


Incremental Intellisense for Constants in #INCLUDE
fcpINCLUDE.png


Error List for Form and Class Designer
fcpErrorlist2.png


_MemberData Property
fcpMemberData2.png

Error Tip
fcpTipError1.png

fcpTipError2.png

fcpTipError3.png

fcpTipError4.png

fcpTipError5.png

fcpTipError6.png

fcpTipError7.png


New Features like in Visual Studio
fcpSummary.png

fcpErrorList.png

fcpVarIncremental.png

fcpShortcutControls.png

fcpConstant.png


Tables and fields
fcpTables.png

fcpFields.png

fcpDataEnvironmentForm.png

fcpDataEnvironmentReport.png

fcpInAlias.png


Objects in memory can be used when VFP is running in background
fcpVFPbackground.png

fcpVFPbackground2.png

Last edited Dec 20, 2012 at 4:46 AM by bruscain, version 37

Comments

MauroPolo Aug 7, 2013 at 1:55 PM 
Sometime VFP is closed with
Fatal error: Exception code=C0000005 @ 08/07/13 12:00:38 PM. Error log file: C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9err.log
and i lose all work non saved.

oscarrd May 29, 2013 at 4:50 PM 
Increible trabajo, felicidades.....asombrosos resultados, algunos detalles insignificantes desde mi punto de vista, pero para mi que desarrollo en .Net encontrar esto en mi querido Foxpro, es mas que excitante.

marciolas May 28, 2013 at 11:25 AM 
Uso e recomendo! Parabéns Rodrigo, a versão ficou "show de bola".

marciolas May 21, 2013 at 6:34 PM 
Excelente trabalho Rodrigo! Voltei a utilizar e estou gostando muito. De vez em quando o VFP pára de funcionar, não sei exatamente se é por conta do FoxCodePlus ou do FoxTab, vou verificar isso depois. Tenho alguns pontos para ver com você, vou ti passar um e-mail. Mais uma vez parabéns, a ferramenta realmente está ficando excelente.

z_grzelczak May 15, 2013 at 2:15 PM 
Congratulations !
Wonderful job !

Thank you.
Zibi

mk_common May 7, 2013 at 4:32 AM 
Excellent!

Warm regards,
mk.

juanziur Apr 24, 2013 at 12:23 AM 
Excelente herramienta, Larga vida al zorro!

Ugurlu2001 Apr 10, 2013 at 8:44 AM 
FoxcodePlus Error :
****
---------------------------
Microsoft Visual FoxPro
---------------------------
A FoxcodePlus error has occured. Press CTRL+C to copy this error or send the file foxcodeplus.err to the author.
FoxcodePlus version: Beta 3.11
OS version: Windows 6.01
Wontop:
Localization: PROCEDURE FOXCODEPLUSMAIN.MAIN C:\VFP9\FOXCODEPLUS.APP
Method: main
Line: 416
Error message: Unknown member INTELLISENSE.
Error number: 1925
Line contents: ...
****

How I get Error Message :
When I use 'cd..' at "command window"

itamarnunes Apr 5, 2013 at 2:56 PM 
Muito com, parabéns Rodrigo.
Notei uma coisa somente.
É que eu não gosto da fonte que veio, então eu mudo para Courier New.
Mas a configuração não fica salva, nem pro prgs, nem pro command e nem em potions setando o default.
Sabes como posso resolver isso?
Abraço

bruscain Apr 3, 2013 at 4:25 PM 
Hi everyone,

If you want to post an issue, please use the option ISSUE TRACKER.
I can't answer the issues in this place.
Remember, FoxcodePlus is a BETA version and FREE. However, several developers have been using normaly.

Thanks

Rodrigo

abergquist Mar 26, 2013 at 6:03 AM 
WRT '22- Help pressing F1 - Pressing F1 to open intellisense, VFP will open the help with the command, function, method or event positioned.', I don't see any difference when compared against the non-FoxCodePlus behavior.

abergquist Mar 26, 2013 at 1:54 AM 
Per '21- Documenting properties with custom tooltip', you have to use a triple ampersand after a property definition to get custom tool tip for that property. It would be great if FoxCodePlus could give us a custom tool tip for a property that has the "regular" double ampersand after it.

abergquist Mar 25, 2013 at 6:48 PM 
Analogous issue with 'PROTECTED': if I *slowly* type 'PROTECTED' and then slowly press the [SpaceBar] key, I end up with 'PROTECTED ' ('PROTECTED' followed by a space) and the PROTECTED IntelliSense tooltip (correctly) displays (with a list of 'FUNCTION' and 'PROCEDURE'). If, however, I *quickly* type 'PROTECTED' and then quickly press the [SpaceBar] key, I end up with 'PROTECTED d' ('PROTECTED' followed by a space followed by an 'd') and the PROTECTED IntelliSense tooltip displays --> in this 2nd scenario, I should only see 'PROTECTED ' ('PROTECTED' followed by a space); 'd' should not be inserted for me.

abergquist Mar 25, 2013 at 6:19 PM 
Issue with 'PROCEDURE' (same issue I reported with 'REPLACE'): if I *slowly* type 'PROCEDURE' and then slowly press the [SpaceBar] key, I end up with 'PROCEDURE ' ('PROCEDURE' followed by a space) and the PROCEDURE IntelliSense tooltip (correctly) displays. If, however, I *quickly* type 'PROCEDURE' and then quickly press the [SpaceBar] key, I end up with 'PROCEDURE e' ('PROCEDURE' followed by a space followed by an 'e') and the PROCEDURE IntelliSense tooltip displays --> in this 2nd scenario, I should only see 'PROCEDURE ' ('PROCEDURE' followed by a space); 'e' should not be inserted for me.

abergquist Mar 25, 2013 at 6:16 PM 
In '9- Functions and Procedures in write-time', it correctly displays 'MyFuncGetName' and 'MyProcGetNumber' in the IntelliSense list; when I select either of them, though, they get capitalized (because of my IntelliSense settings). I would like to have native (built-in) VFP functions and commands capitalized but would like user-defined functions and procedures to retain the casing in which they were defined (this would be an enhancement to FoxCodePlus).

abergquist Mar 25, 2013 at 6:04 PM 
Issue with 'REPLACE': if I *slowly* type 'REPLACE' and then slowly press the [SpaceBar] key, I end up with 'REPLACE ' ('REPLACE' followed by a space) and the REPLACE IntelliSense tooltip (correctly) displays. If, however, I *quickly* type 'REPLACE' and then quickly press the [SpaceBar] key, I end up with 'REPLACE e' ('REPLACE' followed by a space followed by an 'e') and the REPLACE IntelliSense tooltip displays --> in this 2nd scenario, I should only see 'REPLACE ' ('REPLACE' followed by a space); 'e' should not be inserted for me.

abergquist Mar 25, 2013 at 5:14 PM 
Issue with '3 - Accessing the list variables in write-time.': when I type 'm.', I see the same list of memory variables as you show in Image 6, except the text 'ARRAY ' is in front of 'aCars' and 'laNames'. When I 'ARRAY aCars', I end up with 'm.ARRAY aCars'; it should be 'm.aCars'. When I 'ARRAY laNames', I end up with 'm.ARRAY laNames'; it should be 'm.laNames'.

abergquist Mar 25, 2013 at 5:04 PM 
Rodrigo,

*Fantastic* tool!

I did encounter a bug while testing, though; if I type '#', I correctly see a list of all the preprocessor directives, starting with '#DEFINE'. When I then type 'D' (so that I now have typed '#D'), it replaces the list of preprocessor directives with a list of functions (starting with 'cdx') and highlights 'Date'. What I should see at this point is just the #DEFINE preprocessor directive (because that's the only preprocessor directive that starts with '#D').

bruscain Feb 22, 2013 at 3:53 AM 
Hi StefanNbg,
I have been working in a new version for windows8.
Thanks,
Rodrigo

bruscain Feb 22, 2013 at 3:52 AM 
Hi Cyberfacz... download the documentation for you know how to install FoxcodePlus.
Thanks,
Rodrigo

Cyberfacz Feb 21, 2013 at 6:01 PM 
Como se instala?

StefanNbg Feb 21, 2013 at 3:32 AM 
Still Not working under windows 8 :(

dexsys Dec 26, 2012 at 7:37 PM 
Excelente herramienta, muchas gracias. desde chile

Ugurlu2001 Dec 13, 2012 at 11:55 AM 
The Foxcodeplus look like a great tool Rodrigo, Thank you for shared on codeplex.

carbcoder02 Dec 3, 2012 at 4:41 AM 
I have encounter a bug in 3.03 when using the (m.) IntelliSense the local variables are not appearing, while I issue the variable name without the (m.) it is displaying. So I use the 3.00 version of foxcodeplus I have no issues as of now.