Commit Graph

437 Commits

Author SHA1 Message Date
mattias
6391c8f12f codetools: FindUnitInAllUsesSections changed UpperUnitName to AnUnitName
git-svn-id: trunk@19836 -
2009-05-07 08:54:44 +00:00
mattias
8f19b73c43 codetools: removed TCustomCodeTool.UpperSrc
git-svn-id: trunk@19832 -
2009-05-07 08:16:34 +00:00
mattias
3e5a744e2d codetools: find declaratuion: added flag to skip forward class
git-svn-id: trunk@19814 -
2009-05-05 18:02:20 +00:00
mattias
0c66bbff3b codetools: adding units to uses sections: fixed adding first indentation
git-svn-id: trunk@19812 -
2009-05-05 09:52:39 +00:00
mattias
871e67c3a5 codetools: complete local var assignments: adding unit to uses section
git-svn-id: trunk@19811 -
2009-05-05 09:41:10 +00:00
mattias
620900273e codetools: identifier completion used unit
git-svn-id: trunk@19810 -
2009-05-05 09:14:08 +00:00
mattias
b67b6ddaa2 codetools: fixed find declaration in uses sections, bug #13146
git-svn-id: trunk@19809 -
2009-05-05 08:49:07 +00:00
mattias
5abefaf3bf codetools: fixed marking very short classes as unfinished, bug #13638
git-svn-id: trunk@19806 -
2009-05-04 20:03:21 +00:00
mattias
3d95973a6c codetools: implemented adding to uses sections with options
git-svn-id: trunk@19802 -
2009-05-04 16:12:03 +00:00
mattias
f5399721bf codetools: using identifier cache when find declaration "unitname."
git-svn-id: trunk@19799 -
2009-05-04 12:43:38 +00:00
mattias
b41d00e4e3 codetools: fixed finding ancestors in non class node
git-svn-id: trunk@19796 -
2009-05-04 11:45:22 +00:00
mattias
fd88c3a5bd codetools: find declaration of selfunit.identifier
git-svn-id: trunk@19795 -
2009-05-04 10:10:07 +00:00
mattias
7d13a8ca36 IDE: find overloads: scanning project sources
git-svn-id: trunk@19760 -
2009-05-02 11:28:45 +00:00
mattias
6dcfefb293 codetools: identifier completion in ancestor list
git-svn-id: trunk@19757 -
2009-05-02 09:15:50 +00:00
mattias
386678457d codetools: find overloads: edges for ancestors
git-svn-id: trunk@19756 -
2009-05-02 08:29:14 +00:00
mattias
ca2c76b484 codetools: added class ancestor nodes
git-svn-id: trunk@19717 -
2009-04-30 21:38:40 +00:00
mattias
c05f0392f7 codetools: fixed gathering interface identifiers
git-svn-id: trunk@19695 -
2009-04-29 15:45:35 +00:00
mattias
91fc870ec6 codetools: using less memory for global identifier table
git-svn-id: trunk@19693 -
2009-04-29 13:47:04 +00:00
mattias
d861d852d9 clean up
git-svn-id: trunk@19676 -
2009-04-28 22:31:31 +00:00
mattias
668b4abdb4 LCL: TLCLNonFreeMemManager extended for 64bit
git-svn-id: trunk@19675 -
2009-04-28 22:30:27 +00:00
mattias
9b30996e9e codetools: fixed find declaration of compatible procs
git-svn-id: trunk@19666 -
2009-04-28 14:21:51 +00:00
mattias
46cf4464ea IDE: implemented code macro ofall
git-svn-id: trunk@19654 -
2009-04-27 20:58:04 +00:00
mattias
704ca1cbd9 codetools: fixed identifier completion searching interfaces
git-svn-id: trunk@19649 -
2009-04-27 12:25:19 +00:00
mattias
cfc67e3541 codetools: implemented complete gathering of identifiers in interface
git-svn-id: trunk@19647 -
2009-04-27 09:35:08 +00:00
mattias
b46c4051e3 codetools: fixed closing with variable nodes, bug #10640
git-svn-id: trunk@19633 -
2009-04-26 13:25:24 +00:00
mattias
ee6cc0c5be codetools: identifier completion after inherited, bug #10560
git-svn-id: trunk@19605 -
2009-04-24 11:44:36 +00:00
mattias
de190884ee codetools: as operator in with variables
git-svn-id: trunk@19533 -
2009-04-20 22:59:04 +00:00
mattias
7400ba8680 IDE: code explorer: added figures for Paul
git-svn-id: trunk@19458 -
2009-04-16 22:55:18 +00:00
mattias
b4ea776023 IDE: file save as: implemented changing unit references in pascal sources
git-svn-id: trunk@19342 -
2009-04-11 07:06:16 +00:00
mattias
8de576a7a4 codetools: searching unit references in source
git-svn-id: trunk@19340 -
2009-04-11 06:40:37 +00:00
mattias
36c8c8f079 IDE+codetools: started finding unit references
git-svn-id: trunk@19310 -
2009-04-10 14:52:57 +00:00
mattias
26ef5cd496 IDE+codetools: started heuristic to find unused units
git-svn-id: trunk@19281 -
2009-04-08 23:45:15 +00:00
mattias
9bcfe33630 codetools: finddeclaration: find base node of unit alias
git-svn-id: trunk@19279 -
2009-04-08 21:23:11 +00:00
mattias
5799bab4d1 codetools: added nodes for units in uses sections
git-svn-id: trunk@19271 -
2009-04-07 09:21:23 +00:00
mattias
2c7f72498b codetools: find declaration jump to unit name in uses section
git-svn-id: trunk@19249 -
2009-04-06 12:35:27 +00:00
mattias
4ba2b2770c codetools: implemented class-of without point operator, bug #8759
git-svn-id: trunk@18928 -
2009-03-09 15:20:30 +00:00
mattias
90f305ab51 codetools: fixed find base type of constructor
git-svn-id: trunk@18616 -
2009-02-09 14:02:11 +00:00
mattias
ae4d09be24 codetools: identifier completion: improved variable start check
git-svn-id: trunk@18135 -
2009-01-05 12:05:59 +00:00
paul
fb380a80d4 ide, codetools, ideintf: fix warnings
git-svn-id: trunk@17616 -
2008-11-28 02:53:56 +00:00
mattias
700eeb710e codetools: identifier completion: listing nested procedures
git-svn-id: trunk@17474 -
2008-11-20 14:49:13 +00:00
mattias
2e17592d31 codetools: fixed av when find declaration after function keyword
git-svn-id: trunk@17156 -
2008-10-30 10:11:18 +00:00
mattias
e0a5b9322b codetools: scanning for comments in type nodes too
git-svn-id: trunk@16842 -
2008-10-02 09:17:38 +00:00
mattias
3e2ce6e7d3 codetools: fixed checking unit dependencies each time a unit is parsed, bug #12269
git-svn-id: trunk@16838 -
2008-10-02 07:52:08 +00:00
mattias
9d6674f3bb codetools: fixed uninitialized result
git-svn-id: trunk@16727 -
2008-09-25 10:23:07 +00:00
mattias
1f803a6d9a codetools: added unicodestring
git-svn-id: trunk@16682 -
2008-09-23 12:16:44 +00:00
mattias
c2a3f47f4d codetools: fixed CleanPosIsInComment
git-svn-id: trunk@16545 -
2008-09-11 14:24:36 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
869c4ea65e codetools: fixed find declaration of property types
git-svn-id: trunk@16029 -
2008-08-12 11:35:45 +00:00
mattias
d80f64ab53 IDE: notifying referred units: ignoring components with csDestroying
git-svn-id: trunk@16018 -
2008-08-10 21:20:32 +00:00
mattias
a261ea868b IDE: started searching in fpdoc files
git-svn-id: trunk@15964 -
2008-08-05 21:51:30 +00:00
mattias
9b4a380f50 codetools: returning false on error searching ancestors, bug #11665
git-svn-id: trunk@15828 -
2008-07-21 11:39:11 +00:00
mattias
1546f3eee9 IDEIntf: TPropertyEditorHook changed method names to be ansistring instead shortstring
git-svn-id: trunk@15712 -
2008-07-08 18:48:15 +00:00
mattias
6db258bc44 codetools: fixed stop/continue searching for overload procs, bug #8632
git-svn-id: trunk@15270 -
2008-05-28 12:47:36 +00:00
mattias
252f7ee831 codetools: fixed: not searching with context in parent nodes
git-svn-id: trunk@15267 -
2008-05-28 08:17:30 +00:00
mattias
a45d589f57 codetools: extended ctnWithStatement EndPos to next atom when possible, bug #7970
git-svn-id: trunk@15207 -
2008-05-22 14:48:32 +00:00
mattias
5122d3eaaf codetools: not reparsing when cursor in valid interface
git-svn-id: trunk@15064 -
2008-05-06 19:19:40 +00:00
mattias
e2b3577222 codetools: fixed result of FindDeclarationOfIdentAtParam
git-svn-id: trunk@14935 -
2008-04-23 07:59:56 +00:00
mattias
d8737e8a09 codetools: added h2ptree, converted some consistencychecks to exceptions
git-svn-id: trunk@14517 -
2008-03-14 11:56:14 +00:00
mattias
e033e82e6d codetools: fixed using the right keyword DoIt function
git-svn-id: trunk@14290 -
2008-02-27 20:15:49 +00:00
mattias
b961973398 codetools: find declaration: implemented if string is ansistring
git-svn-id: trunk@14167 -
2008-02-16 22:57:10 +00:00
mattias
cd21cbb318 codetools: FindDeclarationAndOverload: fixed starting search on proc name
git-svn-id: trunk@13932 -
2008-01-31 10:30:23 +00:00
mattias
fb2f004237 codetools: code completion: auto create procedure from call statement
git-svn-id: trunk@13508 -
2007-12-28 19:35:10 +00:00
mattias
82e314a897 codetools: fixed mem leak when searching for proc expr lists
git-svn-id: trunk@13492 -
2007-12-28 00:23:11 +00:00
mattias
f8a6cc5969 codetools: fixed AV when searching the ancestor of an empty class declaration
git-svn-id: trunk@13487 -
2007-12-27 18:31:26 +00:00
mattias
a719b4f6ef IDE: lazdoc editor now uses lazdoc engine
git-svn-id: trunk@13305 -
2007-12-13 00:01:50 +00:00
mattias
3492130ddf codetools: replaced some var with out
git-svn-id: trunk@13222 -
2007-12-08 14:17:46 +00:00
mattias
e49aa002da IDE: added quick fix for fpc warning constructing a class with abstract methods
git-svn-id: trunk@13218 -
2007-12-08 12:49:00 +00:00
mattias
b27b9bb629 IDE: added refactoring tool show abstract methods
git-svn-id: trunk@13212 -
2007-12-07 23:16:21 +00:00
mattias
d62038c83e codetools: fixed finddeclaration in generic methods searching ancestor class
git-svn-id: trunk@13014 -
2007-11-24 22:56:09 +00:00
mattias
9a550b80fd codetools: FindDeclarationAndOverload now starts at property names, proc names, vars, consts and types
git-svn-id: trunk@13006 -
2007-11-24 19:11:42 +00:00
mattias
49f48b68dd IDE: lazdoc: started simple hints
git-svn-id: trunk@12990 -
2007-11-23 19:52:54 +00:00
mattias
0c5ee1ee92 IDE: lazdoc: implemented TLazDocManager.GetElementChain
git-svn-id: trunk@12959 -
2007-11-21 22:18:22 +00:00
mattias
cf3d81df7b codetools: finddeclaration: implemented using generics parameters as type identifiers
git-svn-id: trunk@12408 -
2007-10-10 17:07:00 +00:00
mattias
e81fcb8abc codetools: fixed mem leak when searching for overloaded procs with default values, IDE: improved searching for event types declaration for TMethodPropertyEditor
git-svn-id: trunk@12076 -
2007-09-19 09:30:53 +00:00
mattias
d7a0682a5b codetools: fixed FindDeclarationOfIdentAtParam searching keywords
git-svn-id: trunk@12051 -
2007-09-17 10:25:57 +00:00
mattias
afcbbf4db0 codetools: implemented local type and var section for generics
git-svn-id: trunk@11833 -
2007-08-17 12:48:29 +00:00
mattias
13c2b40e20 codetools: implemented parsing the new fpc 2.3.1 generics, simple find declaration for generics
git-svn-id: trunk@11829 -
2007-08-16 17:12:56 +00:00
mattias
8e8e776887 codetools: added FindDeclarationInUsesSection from Darek
git-svn-id: trunk@11242 -
2007-05-31 17:34:59 +00:00
mattias
efaec13a02 codetools, TSynPasSyn: aded bitpacked keyword
git-svn-id: trunk@11173 -
2007-05-21 10:09:46 +00:00
mattias
a6d2e13791 replaced calls to MethodName with hooks
git-svn-id: trunk@11036 -
2007-04-29 22:18:42 +00:00
mattias
23890766ca codetools: local var assignment completion: checking for Self and Result
git-svn-id: trunk@10601 -
2007-02-07 11:26:02 +00:00
mattias
a8c68262ef fixed mem leak
git-svn-id: trunk@10452 -
2007-01-15 16:32:24 +00:00
mattias
735b70957a codetools: code completion: implemented adding methog declaration for method body at cursor
git-svn-id: trunk@10386 -
2007-01-06 13:00:36 +00:00
mattias
8c34006c95 codetools: fixed not caching collect results
git-svn-id: trunk@10385 -
2007-01-06 10:07:42 +00:00
mattias
e7be3ae1d3 codetools: added record case variables to identifier completion
git-svn-id: trunk@10157 -
2006-11-02 03:29:30 +00:00
mattias
7144ddb3e2 identifer completion: implemented adding complete method declaration in class contexts
git-svn-id: trunk@9969 -
2006-09-22 23:16:25 +00:00
mattias
a8acc7c8ca fixed 64bit compilation
git-svn-id: trunk@9771 -
2006-08-30 08:24:17 +00:00
mattias
ecc5c01e5b messagedlg: default button No comes now before Abort fro Delphi compatibility
git-svn-id: trunk@9769 -
2006-08-29 21:34:51 +00:00
mattias
bb6be8d3c7 codetools: searching macpas unit in macpas mode
git-svn-id: trunk@9761 -
2006-08-28 18:03:19 +00:00
mattias
6a518397b9 IDE Help for source: skipping forwards and forward circles
git-svn-id: trunk@9755 -
2006-08-27 15:49:19 +00:00
mattias
17e38277d0 fixed finding help for Form properties
git-svn-id: trunk@9753 -
2006-08-27 15:13:47 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
d6550769d0 fixed memleak on exception
git-svn-id: trunk@9714 -
2006-08-10 23:01:34 +00:00
mattias
f0b0ae7a39 codetools: code context: now works with empty param lists
git-svn-id: trunk@9621 -
2006-07-17 09:51:59 +00:00
mattias
54775b843e adding events for properties of method types of indirect units implemented issue #1990
git-svn-id: trunk@9600 -
2006-07-13 22:06:24 +00:00
mattias
ab98d4268e codetools: implemented finding the expression type of a constant
git-svn-id: trunk@9584 -
2006-07-10 17:03:32 +00:00
mattias
6df73a9fb9 codetools: not found identifiers of fdfcollect are not cached
git-svn-id: trunk@9583 -
2006-07-10 15:21:33 +00:00
mattias
34ec62a9ca fixed PChar typecasts
git-svn-id: trunk@9394 -
2006-06-04 09:35:45 +00:00
mattias
bcf7aed80c fixed a mem leak
git-svn-id: trunk@9392 -
2006-06-02 23:24:24 +00:00
mattias
a4b841a712 ct: find declaration array of cont TVarRec instead of TVarData
git-svn-id: trunk@9358 -
2006-05-26 15:19:59 +00:00