Commit Graph

213 Commits

Author SHA1 Message Date
juha
35b4131a89 Codetools: move similar functions dealing with unit name together.
git-svn-id: trunk@41591 -
2013-06-08 16:32:31 +00:00
mattias
38d3882f1f codetools: fixed TPascalReaderTool.ProcNodeHasSpecifier ctnProcedureHead
git-svn-id: trunk@41504 -
2013-06-03 08:49:59 +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
a0f58c4b7d codetools: moved CommentCode to TStdCodeTool
git-svn-id: trunk@40815 -
2013-04-15 09:09:08 +00:00
mattias
ea88f1f9bd codetools: fixed class completion and method jumping for generic methods in delphi mode, bug #23496
git-svn-id: trunk@40454 -
2013-03-01 19:47:22 +00:00
mattias
e9f840669c codetools: TFindDeclarationTool.CheckParameterSyntax: check comments
git-svn-id: trunk@39956 -
2013-01-24 19:39:25 +00:00
mattias
154e3f3567 codetools: fixed parsing #3 comment
git-svn-id: trunk@39929 -
2013-01-21 18:18:44 +00:00
mattias
3b88607393 codetools: FindCommentInFront: fixed range error
git-svn-id: trunk@38532 -
2012-09-06 07:31:14 +00:00
mattias
cfa24e7773 codetools: skip codetools skip comment
git-svn-id: trunk@38209 -
2012-08-08 22:40:14 +00:00
mattias
1264a95e7c codetools: skip codetools comment
git-svn-id: trunk@38201 -
2012-08-08 07:58:43 +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
286e5828d2 codetools: class completion: fixed searching var node when first is class var
git-svn-id: trunk@37627 -
2012-06-11 20:01:27 +00:00
mattias
2b6a6b48bd codetools: class completion: fixed searching var node when first is class var
git-svn-id: trunk@37626 -
2012-06-11 19:16:11 +00:00
mattias
27de8bc684 codetools: class completion: search variables in all sections, bug #22246
git-svn-id: trunk@37614 -
2012-06-11 08:33:18 +00:00
mattias
24dcd68f83 codetools: save parse error of operator, do not save errors outside parser, fixed parsing method name with generic parameter
git-svn-id: trunk@37482 -
2012-06-02 13:47:16 +00:00
mattias
1eca771511 codetools: save less errors
git-svn-id: trunk@37214 -
2012-05-07 16:13:24 +00:00
mattias
855af79e42 codetools: do not save errors outside parser
git-svn-id: trunk@37213 -
2012-05-07 16:04:57 +00:00
mattias
96694f6d88 codetools: clean up
git-svn-id: trunk@37120 -
2012-05-01 13:34:41 +00:00
mattias
d18e8e49d3 codetools: GetSmartHint: show anonymous arrays
git-svn-id: trunk@37104 -
2012-04-30 14:13:02 +00:00
mattias
c7543c32cb codetools: JumpToPublishedMethodBody: added parameter ErrorOnNotFound
git-svn-id: trunk@36968 -
2012-04-22 10:06:33 +00:00
mattias
4d57d078dd codetools: find inheritance of objccategory
git-svn-id: trunk@36458 -
2012-03-30 13:47:49 +00:00
paul
f9cbe3fbe2 codetools: treat method which contains only an inherited call as an empty method
git-svn-id: trunk@35755 -
2012-03-06 00:48:52 +00:00
mattias
325e87fb8e codetools: fixed MoveCursorToFirstProcSpecifier parsing operator
git-svn-id: trunk@34993 -
2012-01-28 17:18:50 +00:00
mattias
b09a26670a codetools: FindProcNode: read name of a class operator
git-svn-id: trunk@34887 -
2012-01-23 18:07:14 +00:00
mattias
3e692990e1 codetools: fixed crash parsing operator with invalid name
git-svn-id: trunk@34879 -
2012-01-22 22:44:23 +00:00
mattias
8f6bddb835 codetools: find identifier references: fixed searching local identifiers
git-svn-id: trunk@34832 -
2012-01-21 11:39:20 +00:00
mattias
5010a42914 codetools: complete parameter: methods
git-svn-id: trunk@34723 -
2012-01-13 00:25:26 +00:00
juha
0bf4bf0d2a Codetools: initialize string result value in TPascalReaderTool.ExtractUsedUnitNameAtCursor. It broke at least TFindDeclarationTool.FindUnitInUsesSection.
git-svn-id: trunk@34092 -
2011-12-10 18:49:27 +00:00
juha
72a709a931 Formatting
git-svn-id: trunk@34091 -
2011-12-10 18:49:02 +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
95f93fb4a6 codetools: GetPasDocComment: fixed endless loop
git-svn-id: trunk@33014 -
2011-10-22 07:25:01 +00:00
mattias
e509196a2b codetools: TFindDeclarationTool.FindDeclarationInUsesSection: dotted names
git-svn-id: trunk@32122 -
2011-08-30 17:28:11 +00:00
mattias
5190b83a71 codetools: TStandardCodeTool.UsesSectionToUnitnames: dotted names
git-svn-id: trunk@32117 -
2011-08-30 16:03:46 +00:00
mattias
ef465ef95f codetools: TStandardCodeTool.FindDelphiProjectUnits: dotted names
git-svn-id: trunk@32115 -
2011-08-30 15:58:33 +00:00
mattias
eacc24bb69 codetools: TStandardCodeTool.FixUsedUnitCaseInUsesSection: dotted name
git-svn-id: trunk@32110 -
2011-08-30 09:55:24 +00:00
mattias
421f9a390f codetools: TStandardCodeTool.UnitExistsInUsesSection: dotted name
git-svn-id: trunk@32106 -
2011-08-30 09:08:20 +00:00
mattias
116c4b1bbd codetools: AddUnitToUsesSection: dotted unit
git-svn-id: trunk@32103 -
2011-08-30 08:34:17 +00:00
mattias
e9498b62da codetools: reader tool: dotted uses
git-svn-id: trunk@32102 -
2011-08-30 07:37:30 +00:00
mattias
3695f21e44 codetools: parser: read dot source name
git-svn-id: trunk@32100 -
2011-08-29 22:01:05 +00:00
mattias
0288156d40 codetools: class completion: ignore method bodies of sub classes, bug #20066
git-svn-id: trunk@32069 -
2011-08-27 10:04:48 +00:00
juha
db121af7a1 Codetools: support generics in extended record syntax. Issue #18566, patch from Anton
git-svn-id: trunk@32015 -
2011-08-20 07:07:20 +00:00
juha
1cb3753a6f Codetools: Fix hint directives after vars and consts in PascalReader. Issue #19614, patch from Anton
git-svn-id: trunk@31952 -
2011-08-11 21:37:30 +00:00
mattias
347515afc3 codetools: fixed range check
git-svn-id: trunk@31356 -
2011-06-24 10:50:02 +00:00
mattias
74e195a9e2 codetools: TPascalReaderTool.ProcNodeHasSpecifier: parse header
git-svn-id: trunk@31215 -
2011-06-14 12:36:31 +00:00
mattias
8c9b6e6548 codetools: unsing less AnsiCompareText
git-svn-id: trunk@30953 -
2011-05-28 10:46:55 +00:00
mattias
b87cbc31f1 cody: declare var
git-svn-id: trunk@30934 -
2011-05-27 17:24:02 +00:00
mattias
a75a29091c codetools: find declaration: inherited;
git-svn-id: trunk@30920 -
2011-05-27 05:41:52 +00:00
mattias
84ea3ef4f9 codetools: record case variable is now a ctnVarDefinition, bug #18368
git-svn-id: trunk@30781 -
2011-05-17 09:53:10 +00:00
mattias
83bf96457b codetools: find declaration: fixed constructor result type, fixed param compatiblity for convertable
git-svn-id: trunk@30737 -
2011-05-15 07:56:50 +00:00
mattias
4f1223747b cody: add call inherited
git-svn-id: trunk@30720 -
2011-05-13 10:38:57 +00:00
mattias
fbca65edab codetools: find declaration: fixed search Result
git-svn-id: trunk@30697 -
2011-05-12 17:19:58 +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
e39bb2d05b codetools: reading operand: old tp style character constants, bug #19260
git-svn-id: trunk@30600 -
2011-05-07 16:19:57 +00:00
mattias
005d8e828c codetools: parse param list
git-svn-id: trunk@30584 -
2011-05-06 12:06:35 +00:00
mattias
7a98756abb codetools: added cache to FindReferences
git-svn-id: trunk@30547 -
2011-05-04 13:40:35 +00:00
mattias
fbc076999d codetools: example for FindAssignMethod
git-svn-id: trunk@30495 -
2011-04-28 12:50:19 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +00:00
mattias
ab79608453 codetools: TPascalReaderTool.GetNodeIdentifier: check if node starts at end of code, bug #19076
git-svn-id: trunk@30178 -
2011-04-04 10:58:32 +00:00
mattias
3601dd2d4d codetools: fixed crash
git-svn-id: trunk@30036 -
2011-03-27 14:23:26 +00:00
mattias
2af49962ac codetools: parse programs without program keyword
git-svn-id: trunk@30035 -
2011-03-27 14:19:18 +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
6495ad0a79 codetools: find declaration: search in type of constant/variable
git-svn-id: trunk@29415 -
2011-02-07 14:42:26 +00:00
mattias
de68945dc9 codetools: started parsing delphi generics
git-svn-id: trunk@29396 -
2011-02-05 16:59:53 +00:00
mattias
3943d23f9b codetools: started nested classes, replaced ctnClassType with ctnTypeSection, ctnClassConst with ctnConstSection, class type,const,var sections are now childs of visibility sections
git-svn-id: trunk@29390 -
2011-02-05 10:09:22 +00:00
mattias
e2de6ffbef codetools: searching top most type section
git-svn-id: trunk@29356 -
2011-02-03 18:19:48 +00:00
mattias
19c0b3a5a2 codetools: always parse class nodes
git-svn-id: trunk@29336 -
2011-02-02 19:33:04 +00:00
mattias
666cc1741f codetools: class completion: if unit was parsed with error: reraise error
git-svn-id: trunk@29105 -
2011-01-18 10:03:16 +00:00
mattias
fc610a8a98 codetools: findreferences: fixed searching procs 18153
git-svn-id: trunk@28619 -
2010-12-04 16:58:00 +00:00
mattias
e5ff2b2def codetools: ExtractProcHead: extract parameter type colon only if names and types are wanted
git-svn-id: trunk@28531 -
2010-11-28 13:28:54 +00:00
mattias
82f7e95ca0 codetools: ExtractProcHead extract operator result name
git-svn-id: trunk@28528 -
2010-11-28 13:05:36 +00:00
vincents
56646eb28c removed support for compiled units in .ppw files, this is obsolete after fpc 1.0 (issue #16067)
git-svn-id: trunk@28053 -
2010-11-03 09:48:49 +00:00
mattias
8f9d20991a codetools: fixed CommentCode, bug #17403
git-svn-id: trunk@27483 -
2010-09-26 21:05:59 +00:00
mattias
f684b879a0 codetools: added comment
git-svn-id: trunk@27482 -
2010-09-26 21:05:38 +00:00
mattias
fd6b0bde63 codetools: fixed endless loop ExtractProcHead
git-svn-id: trunk@26967 -
2010-08-01 22:10:44 +00:00
mattias
1e473ef5c9 codetools: BuildTree: check if last error was in implementation and only interface is needed, bug #16867
git-svn-id: trunk@26551 -
2010-07-09 20:18:28 +00:00
mattias
54ce6e667b codetools: fixed range of FindCommentInFront
git-svn-id: trunk@26546 -
2010-07-09 12:48:05 +00:00
mattias
29839a9707 codetools: findreferences: search declaration comment, bug #13497
git-svn-id: trunk@26542 -
2010-07-08 21:41:56 +00:00
mattias
f9840ae34a IDE: when changing build IDE extra options, invalidate macros, bug #16844
git-svn-id: trunk@26467 -
2010-07-05 07:41:47 +00:00
mattias
421757e81f codetools: fixed rename identifier
git-svn-id: trunk@26458 -
2010-07-04 12:48:49 +00:00
mattias
c94fd8c234 codetools: fixed find identififier references corresponding proc node
git-svn-id: trunk@26248 -
2010-06-22 07:01:12 +00:00
mattias
234a5b2de1 codetools: find main declaration: find corresponding method parameter, bug #16398
git-svn-id: trunk@26223 -
2010-06-21 09:04:50 +00:00
mattias
5aed4cd577 codetools: fixed TPascalReaderTool.MoveCursorToPropType not raising exception
git-svn-id: trunk@25905 -
2010-06-04 22:09:11 +00:00
mattias
7029a5ebf8 IDE: codecontext hints: added ranged array type
git-svn-id: trunk@25533 -
2010-05-20 10:13:19 +00:00
mattias
227801c427 codetools: implemented parsing class property
git-svn-id: trunk@23406 -
2010-01-09 16:27:36 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
ef08824411 codetools: code completion: operator enumerator current
git-svn-id: trunk@22429 -
2009-11-04 15:07:08 +00:00
mattias
170f532285 codetools: sealed and abstract classes
git-svn-id: trunk@22300 -
2009-10-27 00:02:41 +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
fcf2e7f4fb IDE: identifier completion: do not replace virtualwith overrides for object, bug #14432
git-svn-id: trunk@21448 -
2009-08-25 17:25:33 +00:00
mattias
901245e1af codetools: fixed PositionInFuncResultName, bug #11395
git-svn-id: trunk@21434 -
2009-08-24 11:46:09 +00:00
mattias
3a20a03570 codetools: findoverloads: add source type nodes
git-svn-id: trunk@21260 -
2009-08-17 12:25:04 +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
ef037bb0b6 codetools: class completion: copying calling convention
git-svn-id: trunk@20604 -
2009-06-12 15:46:53 +00:00
mattias
faabdd53fd codetools: fixed crash on checking position in funcresultytoe
git-svn-id: trunk@20274 -
2009-05-28 05:28:25 +00:00
mattias
40586875a2 IDE: code help: allow result type
git-svn-id: trunk@20264 -
2009-05-27 13:38:40 +00:00
mattias
802d6ef059 codetools: FindDeclarationAndOverload return function result type when cursor on colon
git-svn-id: trunk@20263 -
2009-05-27 13:04:04 +00:00
mattias
de7660d56f IDE: codeexplorer: fixed crash on incomplete property
git-svn-id: trunk@20231 -
2009-05-26 10:39:46 +00:00
mattias
e3c48b9278 codetools: mem stat categories
git-svn-id: trunk@19864 -
2009-05-09 09:44:56 +00:00