Commit Graph

319 Commits

Author SHA1 Message Date
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