lazarus/components/codetools/examples
mattias 08e20f0ff0 IDE: external tools: fixed show/hide window
git-svn-id: trunk@53196 -
2016-10-21 22:00:15 +00:00
..
scanexamples IDE: external tools: fixed show/hide window 2016-10-21 22:00:15 +00:00
addclass.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addclass.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addeventmethod.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addeventmethod.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addfpprofcalls.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addfpprofcalls.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addmethod.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addmethod.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addmethodassign.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addmethodassign.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addwith.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
addwith.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
autoindent.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
autoindent.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
changeparamlist.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
changeparamlist.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
codecompletion.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
codecompletion.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
completeabstractmethods.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
completeabstractmethods.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
completeblock.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
completeblock.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
convert_glib3.sh codetools: replace macro functions with simple values 2011-03-14 12:54:58 +00:00
finddeclaration.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
finddeclaration.lpr codetools: example: fixed compilation 2016-07-21 10:48:16 +00:00
findunusedunits.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
findunusedunits.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
findusedunitreferences.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
findusedunitreferences.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
fixdefinitionorder.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
fixdefinitionorder.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
fixfilenames.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
fixfilenames.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
fixh2pasdirectives.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
fixh2pasdirectives.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
getcontext.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
getcontext.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
getexpandedoperand.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
getexpandedoperand.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
h2pastest.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
h2pastest.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
identifiercompletion.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
identifiercompletion.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
initvariable.lpr codetools: added InsertStatements 2015-02-16 21:52:05 +00:00
listinterfaceclasses.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
listinterfaceclasses.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
methodjumping.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
methodjumping.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
parsefpcmsg.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
parsefpcmsg.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
ppudependencies.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
ppudependencies.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
proctomethod.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
proctomethod.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
README.txt codetools: aded FindProcDeclaration 2011-05-02 09:08:23 +00:00
reduceifdefs.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
reduceifdefs.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
removeemptymethods.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
removeemptymethods.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
removewith.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
removewith.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
replaceresourcedirectives.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
replaceresourcedirectives.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
retypepublishedvars.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
retypepublishedvars.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
runcfgscript.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
runcfgscript.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
scanfpcerrormsgfiles.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
scanfpcerrormsgfiles.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
setincludepath.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
setincludepath.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
sourcecloser.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
sourcecloser.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
testexpreval.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
testexpreval.pas Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
testfpcsrcunitrules.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
testfpcsrcunitrules.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
TestNewXMLCfg.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
TestNewXMLCfg.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
testunitdirectives.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
testunitdirectives.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
unitdicttest.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
unitdicttest.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
usedbyunits.lpi Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00
usedbyunits.lpr Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild. 2015-07-07 15:35:28 +00:00

Examples for the CodeTools

Some basic examples run out of the box.
Some examples require the path of the FPC sources, which can be given via the
environment variable FPCDIR.
If you see an error message like this:

Scanning FPC sources may take a while ...
TDefinePool.CreateFPCSrcTemplate FPCSrcDir does not exist: ...

Then you must set the FPCDIR variable and start the example again. For example:
Under linux:
  export FPCDIR=/home/username/freepascal/fpc

For instance the FPC 2.4.2 source directory contains the following files:
  compiler
  ide
  installer
  Makefile
  Makefile.fpc
  packages
  rtl
  tests
  utils

See here for more information:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#FPC_Sources

The examples will scan the directories and store the result in a file named
'codetools.config'. So the next time you start any of the examples it does
not need to scan.

List of environment variables:
FPCDIR       = path to FPC source directory
PP           = path of the Free Pascal compiler. For example /usr/bin/ppc386.
LAZARUSDIR   = path of the lazarus sources
FPCTARGET    = FPC target OS like linux, win32, darwin
FPCTARGETCPU = FPC target cpu like i386, x86_64, arm