Commit Graph

379 Commits

Author SHA1 Message Date
mattias
04d81bf59c codetools: identifier completion: updated list of directives
git-svn-id: trunk@47932 -
2015-02-21 09:06:14 +00:00
mattias
6025925c8a codetools: fixed directive WriteableConst, bug #27512
git-svn-id: trunk@47930 -
2015-02-21 08:44:19 +00:00
mattias
3ea49cce88 codetools: identifier completion: $codepage parameter
git-svn-id: trunk@47806 -
2015-02-15 15:22:24 +00:00
mattias
43847bb0b3 IDE+codetools: identifier completion: Options to disable sorting for history and scope
git-svn-id: trunk@46599 -
2014-10-18 21:34:06 +00:00
mattias
06bf8e9ec7 codetools: comments
git-svn-id: trunk@46596 -
2014-10-18 20:21:52 +00:00
mattias
f5e2ee41a5 codetools: find declaration and gather identifiers: labels, issue #26882
git-svn-id: trunk@46592 -
2014-10-18 10:22:38 +00:00
mattias
2e2ab0b2b3 codetools: TSourceLog.GetLine: added parameter WithLineEnd
git-svn-id: trunk@46039 -
2014-08-12 10:44:40 +00:00
mattias
9ddf3d4196 codetools: FindAbstractMethods: search class interfaces
git-svn-id: trunk@45593 -
2014-06-21 15:35:46 +00:00
mattias
aa4c4a8a9e codetools: identifier completion: GetParamTypeList: catch error
git-svn-id: trunk@44358 -
2014-03-05 18:30:46 +00:00
mattias
95e8a23869 codetools: code contexts: list global properties
git-svn-id: trunk@44255 -
2014-02-26 19:25:51 +00:00
mattias
c8dcad58c9 codetools: identifier completion: list global properties
git-svn-id: trunk@44254 -
2014-02-26 19:11:12 +00:00
mattias
1fe37e15a2 fixed spelling mistakes, found by lintian
git-svn-id: trunk@43900 -
2014-02-05 12:07:46 +00:00
mattias
b22e3f25f8 codetools: identifier completion: i directive keywords
git-svn-id: trunk@42045 -
2013-07-09 20:44:16 +00:00
mattias
f49fed72d4 codetools: identifier completion: i directive keywords
git-svn-id: trunk@42044 -
2013-07-09 20:20:35 +00:00
mattias
81346fae7b codetools: fixed error message if include file name is empty
git-svn-id: trunk@42041 -
2013-07-09 19:43:41 +00:00
mattias
bba30188f8 codetools: identifier completion: fixed typo
git-svn-id: trunk@42040 -
2013-07-09 19:34:27 +00:00
mattias
7b17aaf0b3 codetools: identifier completion: ignore parser errors when gathering keywords, bug #20919
git-svn-id: trunk@41886 -
2013-06-25 09:33:37 +00:00
mattias
d76a13f72c IDE: parameter hints: fixed showing parameters of procedure types
git-svn-id: trunk@41816 -
2013-06-23 12:19:40 +00:00
mattias
2c367b3767 codetools: identifier completion: fixed checking for hidden procs
git-svn-id: trunk@41507 -
2013-06-03 09:23:48 +00:00
mattias
3c0ed10d93 codetools: identifier completion: fixed checking for hidden procs
git-svn-id: trunk@41506 -
2013-06-03 09:04:57 +00:00
mattias
81d66a4964 codetools: identifier completion: fixed checking for overloaded procs
git-svn-id: trunk@41498 -
2013-06-02 17:38:54 +00:00
mattias
f7647f0574 codetools: identifier completion: fixed crash
git-svn-id: trunk@41263 -
2013-05-18 21:36:32 +00:00
mattias
53b20cfa97 codetools: small optimizations
git-svn-id: trunk@41262 -
2013-05-18 21:30:16 +00:00
mattias
62f6dfef9d codetools: fixed TIdentifierList.FindIdentifier searching identifier that is not a proc
git-svn-id: trunk@41261 -
2013-05-18 21:18:44 +00:00
mattias
60c696effd codetools: identifier completion: fixed range of with statement
git-svn-id: trunk@41252 -
2013-05-18 09:03:21 +00:00
mattias
2f413bde0a codetools: identifier completion: directives mixed case
git-svn-id: trunk@41250 -
2013-05-17 22:26:00 +00:00
mattias
910bf5ba13 codetools: fixed crash if identifier is not a node
git-svn-id: trunk@41143 -
2013-05-12 08:02:02 +00:00
juha
712a0979f0 Codetools: Improvement for FindContext for hidden methods. Part of issue #18929, patch from Anton
git-svn-id: trunk@41085 -
2013-05-09 08:56:19 +00:00
mattias
b6a35980e9 codetools: fixed LineColIsOutSide
git-svn-id: trunk@40929 -
2013-04-29 10:08:49 +00:00
mattias
93bfcac232 codetools: identifier completion: fixed ilcfEndOfLine
git-svn-id: trunk@40922 -
2013-04-28 23:08:11 +00:00
mattias
6c82fdfde1 codetools: identifier completion: fixed when cursor outside of code, e.g. beyond end of line
git-svn-id: trunk@40920 -
2013-04-28 22:40:44 +00:00
juha
3964d7f1f3 CodeTools: Make completion tool work correctly with hidden methods. Issue #18929, patch from Anton
git-svn-id: trunk@40918 -
2013-04-28 21:03:14 +00:00
mattias
e9156f83de codetools: gather identifiers: use tool beautifier
git-svn-id: trunk@40816 -
2013-04-15 09:14:12 +00:00
mattias
bd361cb359 codetools: fixed debugging code, bug #23827
git-svn-id: trunk@40183 -
2013-02-04 22:26:36 +00:00
mattias
bf5b2dd230 codetools: identifier completion: added pic directive
git-svn-id: trunk@40005 -
2013-01-28 14:13:06 +00:00
mattias
e9f840669c codetools: TFindDeclarationTool.CheckParameterSyntax: check comments
git-svn-id: trunk@39956 -
2013-01-24 19:39:25 +00:00
mattias
2a11a349ff codetools: debugging
git-svn-id: trunk@39947 -
2013-01-24 10:52:26 +00:00
mattias
f8cf0578cf codetools: FindCodeContext: show error on fail
git-svn-id: trunk@39943 -
2013-01-23 21:35:09 +00:00
mattias
f9b63c0b1c codetools: identifier completion: in directives: used macros in source
git-svn-id: trunk@39941 -
2013-01-23 18:51:21 +00:00
mattias
47e20342b2 codetools: identifier completion: property procs: use compatibility exact
git-svn-id: trunk@39927 -
2013-01-21 15:23:16 +00:00
mattias
a5bf4cd13b codetools: better debugging out
git-svn-id: trunk@39900 -
2013-01-19 19:56:48 +00:00
mattias
5e17d8358a codetools: identifier completion: verbosity when FindDeepestNode fails after BuildTree
git-svn-id: trunk@39889 -
2013-01-19 12:29:06 +00:00
mattias
20382c7ed0 codetools: skipped code is now converted to special comments
git-svn-id: trunk@38521 -
2012-09-05 10:47:44 +00:00
mattias
55d2c4b322 codetools: identifier completion: added longint to predefined identifiers
git-svn-id: trunk@38080 -
2012-07-28 15:13:52 +00:00
mattias
2f0a0b9f8e codetools: identifier completion: when creating an override hide higher visibility members
git-svn-id: trunk@37632 -
2012-06-12 12:12:03 +00:00
mattias
b05ef05a04 codetools: identifier completion: added mode directives
git-svn-id: trunk@37287 -
2012-05-15 10:21:47 +00:00
mattias
4e977b1300 codetools: identifier completion: warn directive
git-svn-id: trunk@37128 -
2012-05-01 17:40:01 +00:00
mattias
5b0d16c0df codetools: identifier completion: unit name of self
git-svn-id: trunk@37071 -
2012-04-28 20:42:57 +00:00
mattias
b47c4e7481 codetools: fixed uninitialized result
git-svn-id: trunk@37022 -
2012-04-25 16:41:37 +00:00
mattias
458181f496 IDE: recent/history lists: replaced case sensitive comparison with three types
git-svn-id: trunk@37020 -
2012-04-25 09:03:37 +00:00
mattias
0f2bb9b9f9 codetools: identifier completion: ilcfNeedsDo check for in middle of statement
git-svn-id: trunk@36992 -
2012-04-23 19:35:20 +00:00
mattias
15f4afc429 IDE: identifier completion: add do after with, issue #16850
git-svn-id: trunk@36991 -
2012-04-23 19:23:21 +00:00
mattias
d4e8790811 codetools: identifier list: skip identifier at cursor
git-svn-id: trunk@36990 -
2012-04-23 15:03:13 +00:00
mattias
acc234b672 codetools: identifier completion: keyword initialization for library
git-svn-id: trunk@36985 -
2012-04-22 23:03:50 +00:00
mattias
f373591417 codetools: less verbose
git-svn-id: trunk@36984 -
2012-04-22 22:58:17 +00:00
mattias
b381e2ecce codetools: identifier completion: some keywords for library, program
git-svn-id: trunk@36983 -
2012-04-22 22:55:58 +00:00
mattias
e055f6003b codetools: fixed find declaration
git-svn-id: trunk@36982 -
2012-04-22 22:46:47 +00:00
mattias
cd6db590b3 codetools: identifier completion: keyword initialization
git-svn-id: trunk@34955 -
2012-01-26 14:54:25 +00:00
mattias
fb13a79dee codetools: identifier completion: method specifiers
git-svn-id: trunk@34796 -
2012-01-19 16:11:45 +00:00
mattias
766b0311e9 codetools: identifier completion: hidden used units
git-svn-id: trunk@34795 -
2012-01-19 15:04:48 +00:00
mattias
eb5f4cfb5d codetools: clean up
git-svn-id: trunk@34611 -
2012-01-06 10:40:06 +00:00
mattias
4f6154b6ff codetools: identifier completion: modeswitches
git-svn-id: trunk@34424 -
2011-12-26 12:19:05 +00:00
mattias
8744c46131 codetools: identifier completion: removed static directive
git-svn-id: trunk@34319 -
2011-12-20 10:23:12 +00:00
mattias
7eb95d77dc codetools: removed modeswitch cs_pointermath
git-svn-id: trunk@34318 -
2011-12-20 10:20:53 +00:00
mattias
e302aba155 codetools: ientifier completion: directive: namespace
git-svn-id: trunk@34298 -
2011-12-19 23:15:34 +00:00
mattias
a4a5380b4a codetools: clean up
git-svn-id: trunk@34139 -
2011-12-13 01:23:25 +00:00
mattias
a461a202af codetools: identifier completion: show macros for IFDEF
git-svn-id: trunk@34094 -
2011-12-10 19:05:44 +00:00
mattias
8936771e6d codetools: added class sections for objcprotocol: required, optional
git-svn-id: trunk@33701 -
2011-11-22 21:46:09 +00:00
juha
07d9921f94 Codetools: remove obsolete IdentifierCompatibilityNames, use WriteStr
git-svn-id: trunk@33241 -
2011-11-02 23:18:12 +00:00
mattias
08900f28d7 codetools: moved TCodeXYPosition from CodeAtom to CodeCache
git-svn-id: trunk@33220 -
2011-11-02 14:26:05 +00:00
mattias
e8de1dd378 codetools: parameter hints in initialization and finalization section
git-svn-id: trunk@33198 -
2011-11-01 08:20:09 +00:00
mattias
bb0b5e162d codetools: identifier completion: added more compiler directives
git-svn-id: trunk@32672 -
2011-10-04 12:29:16 +00:00
mattias
ae67ba05c7 codetools: fixed initial search flags for local var completion
git-svn-id: trunk@32467 -
2011-09-23 09:30:06 +00:00
juha
6feb51b924 Codetools: improve code completion with generics. Issue #19118, patch from Anton
git-svn-id: trunk@32040 -
2011-08-24 19:23:03 +00:00
mattias
af824f5ad1 codetools: reduced warnings
git-svn-id: trunk@31647 -
2011-07-10 09:11:20 +00:00
mattias
d054dea35c codetools: identifier completion: do not clear on change
git-svn-id: trunk@31625 -
2011-07-09 21:36:19 +00:00
mattias
a1d7624a88 codetools: fixed TIdentCompletionTool.ParseSourceTillCollectionStart check atom in front
git-svn-id: trunk@31318 -
2011-06-21 15:01:29 +00:00
mattias
f278799dc0 codetools: identifier completion: when a tools deletes nodes, clear list only if tool is used
git-svn-id: trunk@31230 -
2011-06-14 19:37:45 +00:00
mattias
755ba26316 IDE: add unit to uses section: search via codetools
git-svn-id: trunk@31228 -
2011-06-14 18:56:21 +00:00
mattias
057f07d894 codetools: validate node caches on every BuildTree, not only when unit changed
git-svn-id: trunk@31218 -
2011-06-14 14:48:12 +00:00
mattias
e0ca53c91b codetools: identifier completion: directives
git-svn-id: trunk@30944 -
2011-05-27 22:15:52 +00:00
mattias
40015048ed codetools: fixed crash
git-svn-id: trunk@30943 -
2011-05-27 21:38:02 +00:00
mattias
27d327e150 codetools: identifier completion: unitname. show only interface
git-svn-id: trunk@30928 -
2011-05-27 08:59:38 +00:00
mattias
5ac8c9c243 codetools: fixed evaluating boolean and boolean
git-svn-id: trunk@30734 -
2011-05-14 21:56:05 +00:00
mattias
557c962f0c codetools: changed CompielrModeSwitch to set
git-svn-id: trunk@30698 -
2011-05-12 18:46:00 +00:00
mattias
4ec34d9f52 codetools: fixed uninitialized value
git-svn-id: trunk@30691 -
2011-05-12 11:06:13 +00:00
mattias
f7906d0507 codetools: added ctnHintModifier nodes for deprecated, unimplemented, experimental, library, platform
git-svn-id: trunk@30683 -
2011-05-11 16:22:46 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +00:00
mattias
77566ccf65 codetools: implemented scanning units in smaller chunks and successive scanning without deleting nodes
git-svn-id: trunk@29769 -
2011-03-09 20:52:44 +00:00
mattias
a43c70c21f codetools: identifier completion: do not show protected member when gather context is in another unit, more Delphi compatible, patch #18888
git-svn-id: trunk@29744 -
2011-03-07 17:08:55 +00:00
mattias
cbc1fddf56 codetools: cextended
git-svn-id: trunk@29731 -
2011-03-05 09:53:59 +00:00
mattias
c66163d8f3 codetools: allow anoynymous records, bug #18838
git-svn-id: trunk@29696 -
2011-03-01 06:19:55 +00:00
mattias
602515e7d2 codetools: identifier completion: fixed search in type of var/const
git-svn-id: trunk@29418 -
2011-02-07 22:55:37 +00:00
mattias
05be735961 codetools: parsing advanced records
git-svn-id: trunk@29359 -
2011-02-03 20:38:14 +00:00
mattias
92a693d145 codetools: removed TCodeTreeNodeExtMemManager, not needed anymore
git-svn-id: trunk@29334 -
2011-02-02 18:56:59 +00:00
mattias
c83a527bce codetools: identifier completion: fixed method override for could be vars, bug #18093
git-svn-id: trunk@28568 -
2010-11-30 12:19:35 +00:00
paul
188361e605 codetools: support new class/generics syntax. like the next:
{ 
 TFoo = class
  const
    Value = 5;
  type
    TBar = integer;
  var
    FSomeField: Integer;
    procedure Dosomething;
  end;  
}

git-svn-id: trunk@28513 -
2010-11-27 18:25:25 +00:00
mattias
e80f406103 codetools: identifier comletion: put keywords behind fitting identifiers
git-svn-id: trunk@27606 -
2010-10-07 12:36:52 +00:00
mattias
95aebd5804 codetools: do not show identifier at cursor at start of list and ignore it on tab completion
git-svn-id: trunk@27605 -
2010-10-07 12:28:09 +00:00
mattias
1fc4c3a359 codetools: identifier completion: check base context only once on error, bug #17345
git-svn-id: trunk@27308 -
2010-09-11 15:27:27 +00:00
mattias
513cb6bd7b IDE: identifier completion: ignore errors on completion, bug #17111
git-svn-id: trunk@27010 -
2010-08-04 14:23:25 +00:00
mattias
5f4f03d6e9 IDE: using new codetools FPC caches
IDE: fixed macro FPCVer for multiple versions used by fpc.exe
IDE: fixed rescan of FPC sources if not changed, bug #16824
codetools: replaced fpc source heuristic with rule set, needed for bug #13912, #14572
IDE: fixed unneeded rescan of fpc sources if only target changed, needed for 12828
IDE: fixed calling compiler on every start, needed by lazarus on a stick
codetools: fixed search for fpc units without ppu, needed for 15534
IDE: implemented cache for fpc include files, needed by debugger
lazbuild: fixed using non default lclwidgettype of lpi
IDE: fixed auto update if fpc.cfg or target compiler changed, needed for 16824

git-svn-id: trunk@26796 -
2010-07-24 08:12:27 +00:00
mattias
9a69db4955 codetools: started collecting FPC units from set
git-svn-id: trunk@26738 -
2010-07-19 15:59:57 +00:00
mattias
4bf027e470 codetools: identifier completion: check for directives behind
git-svn-id: trunk@26553 -
2010-07-09 20:43:01 +00:00
mattias
2e8ba297f0 IDE: show readonly icon for readonly properties, bug #16851
git-svn-id: trunk@26511 -
2010-07-07 19:08:00 +00:00
mattias
ef4fa43915 IDE: identifier completion: add := even if there is a semicolon at end
git-svn-id: trunk@26470 -
2010-07-05 12:35:42 +00:00
mattias
97ae6679ec codetools: identifier completion: request semicolon even for statement starts
git-svn-id: trunk@26454 -
2010-07-04 07:36:30 +00:00
mattias
e03811d82e codetools: clean up
git-svn-id: trunk@26423 -
2010-07-02 19:43:27 +00:00
mattias
75f8643d7d codetools: parsing class inheritance with error position on unexpected token, bug #8093
git-svn-id: trunk@26422 -
2010-07-02 19:28:11 +00:00
mattias
2fae5d61df codetools: identifier completion: property keywords
git-svn-id: trunk@26303 -
2010-06-27 18:30:31 +00:00
mattias
9df7b33b05 codetools: identifier completion: added class keywords property etc at start of variable
git-svn-id: trunk@26301 -
2010-06-27 17:41:29 +00:00
mattias
f4e38dd872 IDE: identifier completion: do not auto add assignment operator for array types
git-svn-id: trunk@25960 -
2010-06-07 08:07:25 +00:00
mattias
e2538d01bc codetools: removed cafBegin
git-svn-id: trunk@25737 -
2010-05-28 18:47:50 +00:00
mattias
0a5e197f49 IDE: codecontext: added string[]
git-svn-id: trunk@25528 -
2010-05-20 09:04:13 +00:00
mattias
01193ff9e0 codetools: GetValuesOfCaseVariable: resolve function results, needed by macro ofall
git-svn-id: trunk@25467 -
2010-05-16 15:43:35 +00:00
mattias
03a54bdb36 codetools: identifier completion: add system units
git-svn-id: trunk@25188 -
2010-05-04 18:17:52 +00:00
mattias
e9d4b90835 codetools: identifier completion: list used units
git-svn-id: trunk@24999 -
2010-04-27 10:14:49 +00:00
mattias
908f074127 codetools: fixed range check in TIdentifierList.CompletePrefix
git-svn-id: trunk@24767 -
2010-04-20 22:56:31 +00:00
mattias
40ef364f5d codetools: identifier completion: True, False
git-svn-id: trunk@23822 -
2010-03-02 10:02:42 +00:00
paul
6a33b4b69e codetools: add WordBool and QWordBool predefined fpc types
git-svn-id: trunk@23505 -
2010-01-20 14:45:36 +00:00
paul
9e02d5824f codetools: distinct dispinterface and other interfaces
git-svn-id: trunk@23500 -
2010-01-20 13:18:11 +00:00
mattias
54c8997fd4 IDEIntf: TFileDescPascalUnit now uses syntax mode of project compiler options, bug #15394
git-svn-id: trunk@23286 -
2009-12-25 14:56:08 +00:00
mattias
ddd8c3ab11 codetools: identifier completion: showing text and file not in statements
git-svn-id: trunk@23196 -
2009-12-19 17:13:11 +00:00
mattias
84ca3d5b33 codetools: identifier completion: added base types, bug #15354
git-svn-id: trunk@23164 -
2009-12-17 14:18:09 +00:00
mattias
837f13ad0c codetools: parsing specialize in class inheritage brackets, bug #15081
git-svn-id: trunk@22649 -
2009-11-17 12:11:33 +00:00
mattias
b64abcbd7a codetools: parsing objccategory
git-svn-id: trunk@22611 -
2009-11-16 00:39:35 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
443f653af0 codetools: identifier completion: fixed GetLineLength
git-svn-id: trunk@22521 -
2009-11-10 12:26:48 +00:00
mattias
0fd3251391 codetools: identifier completion: fixed line index
git-svn-id: trunk@22519 -
2009-11-10 12:14:19 +00:00
mattias
9418344681 codetools: identifier completion: fixed checking for cursor beyond end of line
git-svn-id: trunk@22510 -
2009-11-09 22:38:43 +00:00
mattias
c0f0ab2673 codetools: parsing deprecated for variables
git-svn-id: trunk@22476 -
2009-11-07 14:00:03 +00:00
mattias
aec217654e codetools: identifier completion: check if cursor beyond eol
git-svn-id: trunk@22470 -
2009-11-07 11:39:26 +00:00
mattias
192ee15737 codetools: renamed unitname identifiers
git-svn-id: trunk@22334 -
2009-10-29 11:23:40 +00:00
mattias
c66ecbfe45 codetools: objcprotocol
git-svn-id: trunk@21694 -
2009-09-13 23:00:19 +00:00
mattias
ddad9c8091 codetools: implemented objcclass
git-svn-id: trunk@21689 -
2009-09-13 21:31:32 +00:00
mattias
c286c1ba10 codetools: identifier completion: compiler function objselector, find predefined identifier
git-svn-id: trunk@21686 -
2009-09-13 14:06:03 +00:00
mattias
6a4ad23422 codetools: fixed parsing paremeter type array of const, bug #14247
git-svn-id: trunk@21072 -
2009-08-02 16:16:15 +00:00
mattias
5eef813fb1 codetools: clean up
git-svn-id: trunk@21045 -
2009-08-01 07:13:40 +00:00
mattias
5c6c61bf25 codetools: identifier completion: fixed checking parameterless procedures
git-svn-id: trunk@21023 -
2009-07-31 14:16:40 +00:00
mattias
4e8f764cea codetools: identifier completion: added ParamNameList
git-svn-id: trunk@21022 -
2009-07-31 14:11:42 +00:00
mattias
cde0653dfb codetools: identifier completion: add := only if at end o line
git-svn-id: trunk@21021 -
2009-07-31 13:47:46 +00:00
mattias
8bff99b9f7 codetools: renamed ilcfStartOfStatement
git-svn-id: trunk@21020 -
2009-07-31 13:40:54 +00:00
mattias
9b6129ffaa codetools: fixed checking protected properties in ancestors, bug #14027
git-svn-id: trunk@20988 -
2009-07-28 12:20:43 +00:00
mattias
084169277d codetools: parsing pointer types in terms
git-svn-id: trunk@20973 -
2009-07-27 11:25:23 +00:00
mattias
a070a6a7e9 codetools: refactoring
git-svn-id: trunk@20971 -
2009-07-27 11:10:55 +00:00
mattias
ff0557c43f codetools: improved heuristic for protected properties, bug #14027
git-svn-id: trunk@20970 -
2009-07-27 10:06:13 +00:00
mattias
de301ed56c codetools: do not add found public properties twice
git-svn-id: trunk@20969 -
2009-07-27 09:46:17 +00:00
paul
6f6f893f6c codetools: minor changes to predefined compiler functions arguments
git-svn-id: trunk@20909 -
2009-07-20 14:59:47 +00:00
mattias
0d3009fb76 codetools: comment
git-svn-id: trunk@20904 -
2009-07-20 10:42:46 +00:00
paul
6ba5f1c1d1 codetools: add more compiler predefined functions, minor change of some declarations
git-svn-id: trunk@20903 -
2009-07-19 15:22:41 +00:00