Commit Graph

333 Commits

Author SHA1 Message Date
mattias
684ea95b51 codetools: deprecated GetUnitNameForUsesSection
git-svn-id: trunk@32108 -
2011-08-30 09:28:53 +00:00
juha
21904840d4 Codetools: Fix to CodeCompletion when adding units for method parameters. Issue #18992, patch from Anton
git-svn-id: trunk@31946 -
2011-08-11 17:15:49 +00:00
juha
d827e28a93 Codetools: Fix code completion for "stored" functions. Issue #19835, patch from Anton
git-svn-id: trunk@31905 -
2011-08-06 21:25:22 +00:00
mattias
c82d807457 codetools: property completion: do not add const in setter
git-svn-id: trunk@31698 -
2011-07-14 09:17:18 +00:00
mattias
9fb8ba331a codetools: fixed TCodeCompletionCodeTool.DeclareVariableNearBy class members
git-svn-id: trunk@31275 -
2011-06-18 23:05:11 +00:00
mattias
cf818de9f4 codetools: FindLineEndOrCodeAfterPosition: fixed parsing (* comments
git-svn-id: trunk@31134 -
2011-06-08 08:17:39 +00:00
mattias
40015048ed codetools: fixed crash
git-svn-id: trunk@30943 -
2011-05-27 21:38:02 +00:00
mattias
0642328271 codetools: class completion: update method bodies if all signatures fit
git-svn-id: trunk@30942 -
2011-05-27 21:13:15 +00:00
mattias
b87cbc31f1 cody: declare var
git-svn-id: trunk@30934 -
2011-05-27 17:24:02 +00:00
mattias
4ef2e5bc3e codetools: AddLocalVariable: fixed reusing var section
git-svn-id: trunk@30923 -
2011-05-27 07:14:27 +00:00
mattias
4e3bb381e3 codetools: AddVariable: interface and implementation
git-svn-id: trunk@30898 -
2011-05-25 15:49:27 +00:00
mattias
bba64bdf3c codetools: GuessTypeOfIdentifier: guess type of for-in
git-svn-id: trunk@30893 -
2011-05-24 21:55:20 +00:00
mattias
3ce75c3558 codetools: AddLocalVariable: insert in front of MaxPos
git-svn-id: trunk@30892 -
2011-05-24 21:42:15 +00:00
mattias
905af7d78c codetools: GuessTypeOfIdentifier: remove contexts conflicting with already defined identifier
git-svn-id: trunk@30881 -
2011-05-23 22:55:29 +00:00
mattias
2932b7395a codetools: started checking existing definitions with possible
git-svn-id: trunk@30879 -
2011-05-23 22:11:16 +00:00
mattias
7b0df7dac3 codetools: class completion: fixed adding public variable after method
git-svn-id: trunk@30870 -
2011-05-23 14:07:05 +00:00
mattias
78a0a9a879 cody: declare var: switch back to src
git-svn-id: trunk@30842 -
2011-05-21 22:15:13 +00:00
mattias
53866fee38 cody: declare var: with statement
git-svn-id: trunk@30841 -
2011-05-21 21:22:42 +00:00
mattias
e1c12a7721 cody: started declare variable
git-svn-id: trunk@30811 -
2011-05-19 15:28:09 +00:00
mattias
a76e3248bf codetools: first section of non class is public
git-svn-id: trunk@30621 -
2011-05-08 15:52:29 +00:00
mattias
3e6fa52fed cody: add assign method: auto enable checkbox for else inherited
git-svn-id: trunk@30604 -
2011-05-07 17:00:20 +00:00
mattias
b7f0a998e7 codetools: class completion: indexed properties, patch #19151
git-svn-id: trunk@30597 -
2011-05-07 15:30:03 +00:00
mattias
bc19f550d3 cody: added dialog to add a Assign method
git-svn-id: trunk@30521 -
2011-05-01 19:24:09 +00:00
mattias
fbc076999d codetools: example for FindAssignMethod
git-svn-id: trunk@30495 -
2011-04-28 12:50:19 +00:00
mattias
90a1dcfc9b codetools: started FindAssignMethod
git-svn-id: trunk@30491 -
2011-04-27 17:51:15 +00:00
juha
3da46051ba CodeTools: Remove also { TForm1 } comment together with empty method when needed, patch by Anton, issue #19150
git-svn-id: trunk@30423 -
2011-04-21 22:42:21 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +00:00
mattias
c2a58808d3 codetools: changed some uppercase parameters to mixed case
git-svn-id: trunk@29982 -
2011-03-22 13:41:30 +00:00
mattias
910c1dfb56 codetools: CompleteLocalVariableAsParameter: trim space of type
git-svn-id: trunk@29908 -
2011-03-19 13:51:37 +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
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
2fa1d11c5c codetools: fixed inserting first published variable
git-svn-id: trunk@29365 -
2011-02-03 22:48:34 +00:00
mattias
05be735961 codetools: parsing advanced records
git-svn-id: trunk@29359 -
2011-02-03 20:38:14 +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
92a693d145 codetools: removed TCodeTreeNodeExtMemManager, not needed anymore
git-svn-id: trunk@29334 -
2011-02-02 18:56:59 +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
2a79108848 codetools: fixed class compltion for indexed property, patch #18416
git-svn-id: trunk@28877 -
2011-01-06 17:22:04 +00:00
mattias
b55cf19954 codetools: class completion: fixed inserting new methods into implementation with only a begin
git-svn-id: trunk@28618 -
2010-12-04 16:25:19 +00:00
mattias
172dde0f4e codetools: class completion: fixed finding Set methods, bug #18112
git-svn-id: trunk@28563 -
2010-11-30 08:14:38 +00:00
mattias
3f492dc212 codetools: code completion: add new methods: fixed adding in front of begin..end
git-svn-id: trunk@28515 -
2010-11-27 19:19:25 +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
fe1d763b7d codetools: class completion: fixed FindInsertPointForNewClass empty implementation
git-svn-id: trunk@28322 -
2010-11-18 18:19:12 +00:00
mattias
ab2f7d54a5 codetools: class completion: adding the first method body using the options for procs
git-svn-id: trunk@28320 -
2010-11-18 17:24:04 +00:00
mattias
508c4988a6 codetools: class completion: adding the first method body using the options for procs
git-svn-id: trunk@28319 -
2010-11-18 17:16:58 +00:00
mattias
6e77b99059 codetools: fixed mem leak on finalization, bug #17915
git-svn-id: trunk@28266 -
2010-11-16 08:07:04 +00:00
mattias
5f8d11d5c2 codetools: CompleteLocalVariableAsParameter: fixed skipping sub context
git-svn-id: trunk@27977 -
2010-10-30 14:10:21 +00:00
mattias
7c74ad750f codetools: property completion: add setter code when read variable exists
git-svn-id: trunk@27608 -
2010-10-07 17:00:36 +00:00
mattias
6ebaacbba1 codetools: clean up and debugging
git-svn-id: trunk@27498 -
2010-09-28 10:51:08 +00:00
mattias
3ebbb2a0a9 codetools: store errors for jit parsed nodes, bug #16992
git-svn-id: trunk@26778 -
2010-07-22 11:35:42 +00:00
mattias
20c18d6616 codetools: copy only calling specifiers when completing a forward proc, bug #16953
git-svn-id: trunk@26692 -
2010-07-16 18:51:03 +00:00
mattias
fa33562c9b codetools: CheckWholeUnitParsed: clear ignore error position
git-svn-id: trunk@26337 -
2010-06-30 04:59:12 +00:00
mattias
63fb9e4fd8 codetools: added ChangeStamp for all boss files
git-svn-id: trunk@26334 -
2010-06-30 04:44:00 +00:00
mattias
c2313cc163 codetools: added debugging
git-svn-id: trunk@26331 -
2010-06-29 17:53:04 +00:00
mattias
8cbbc108e0 codetools: class completion: class properties, bug #16812
git-svn-id: trunk@26330 -
2010-06-29 17:04:36 +00:00
mattias
02207605d0 codetools: AddPublishedVariable: fixed check if var exists
git-svn-id: trunk@26210 -
2010-06-20 14:56:13 +00:00
mattias
0b64f42042 codetools: identifier completion: do not eat unit not found error when searching ancestors
git-svn-id: trunk@25035 -
2010-04-28 17:15:24 +00:00
mattias
1ae2b9cefb codetools: class completion: update changed proc with semicolon, bug #16201
git-svn-id: trunk@24703 -
2010-04-18 18:26:20 +00:00
mattias
0472d5aed6 codetools: resolve operand @identifier directly
git-svn-id: trunk@23816 -
2010-03-01 23:49:57 +00:00
mattias
1c3f06dbb0 codetools: class interface completion: fixed searching existing procs, bug #15823
git-svn-id: trunk@23768 -
2010-02-23 19:42:54 +00:00
mattias
c368ff5ba7 codetools: improved debugging
git-svn-id: trunk@23672 -
2010-02-09 19:20:45 +00:00
paul
23177da4f2 codetools: support dispinterface property declaration
git-svn-id: trunk@23504 -
2010-01-20 14:17:41 +00:00
paul
9e02d5824f codetools: distinct dispinterface and other interfaces
git-svn-id: trunk@23500 -
2010-01-20 13:18:11 +00:00
mattias
19871f26cb codetools: fixed completing empty classes
git-svn-id: trunk@23498 -
2010-01-20 11:30:24 +00:00
mattias
227801c427 codetools: implemented parsing class property
git-svn-id: trunk@23406 -
2010-01-09 16:27:36 +00:00
mattias
20f8159dce codetools: fixed class completion for new public methods without context
git-svn-id: trunk@23312 -
2009-12-28 11:45:59 +00:00
mattias
1b68eafebe codetools: added option to not insert class comment for implementation
git-svn-id: trunk@23086 -
2009-12-11 20:37:22 +00:00
mattias
2f778c1f3b codetools: fixed adding published method into implicit first published section
git-svn-id: trunk@22941 -
2009-12-03 11:29:47 +00:00
mattias
9187f01727 codetools: class completion: copy parameters only if no new method/variable, bug #9244
git-svn-id: trunk@22700 -
2009-11-21 21:55:25 +00:00
mattias
b2b81b9d00 codetools: code completion: refactoring
git-svn-id: trunk@22698 -
2009-11-21 13:15:30 +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
1631325da4 codetools: local var completion for enumerator of class
git-svn-id: trunk@22419 -
2009-11-04 00:23:52 +00:00
mattias
a0bc0d475c codetools: code completion for string iterators
git-svn-id: trunk@22412 -
2009-11-03 23:03:27 +00:00
mattias
40097a760a codetools: local var param completion: searching complex proc calls
git-svn-id: trunk@22201 -
2009-10-17 10:15:33 +00:00
mattias
9f47216bff codetools: class completion: fixed add to published section
git-svn-id: trunk@22059 -
2009-10-06 17:37:56 +00:00
mattias
d03a9eea81 codetools: class completion: support strict private
git-svn-id: trunk@22049 -
2009-10-05 22:10:35 +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
paul
ef638bce2e codetools: fix compilation with fpc 2.5.1
git-svn-id: trunk@21276 -
2009-08-18 08:40:42 +00:00
mattias
69a4d44595 codetools: class completion: do not ignore errors after cursor, bug #14246
git-svn-id: trunk@21068 -
2009-08-02 14:44:34 +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
782c9cf39c codetools: class completion: add missing property semicolons
git-svn-id: trunk@20691 -
2009-06-21 13:03:25 +00:00
mattias
afd2510d5b codetools: class completion: fixed crash on procedure x:, bug #14011
git-svn-id: trunk@20671 -
2009-06-19 13:35:40 +00:00
mattias
84fd1ca4ce codetools: class completion: searching first class visibility section, bug #13937
git-svn-id: trunk@20648 -
2009-06-17 11:21:20 +00:00
mattias
2401f2c20c codetools: code completion: ignoring code after cursor for some completions
git-svn-id: trunk@20620 -
2009-06-13 21:35:28 +00:00
mattias
aba18655f4 codetools: fixed mem leak
git-svn-id: trunk@20125 -
2009-05-22 14:23:42 +00:00
mattias
b85ae0cedb codetools: class completion: do not update abstract methods
git-svn-id: trunk@20003 -
2009-05-17 03:09:09 +00:00
mattias
a2c989e1b4 codetools: started searching published methods in ancestor classes
git-svn-id: trunk@20000 -
2009-05-17 02:16:55 +00:00
mattias
49b74e836b codetools: class completion: ignoring nested nested read/write specifiers
git-svn-id: trunk@19988 -
2009-05-16 23:20:14 +00:00
mattias
e3c48b9278 codetools: mem stat categories
git-svn-id: trunk@19864 -
2009-05-09 09:44:56 +00:00
mattias
6e52d7829c codetools: added memory stats
git-svn-id: trunk@19862 -
2009-05-09 08:34:50 +00:00
mattias
c76dedceee codetools: forward proc completion: copying pascal calling convention
git-svn-id: trunk@19850 -
2009-05-08 09:39:05 +00:00
mattias
8f19b73c43 codetools: removed TCustomCodeTool.UpperSrc
git-svn-id: trunk@19832 -
2009-05-07 08:16:34 +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
e65bef34ba codetools: fixed class completion adding published variables
git-svn-id: trunk@19726 -
2009-05-01 08:07:35 +00:00
mattias
c5b4688ec5 codetools: class completion: implemented property types with units prefixes, bug #11827
git-svn-id: trunk@19590 -
2009-04-23 10:18:57 +00:00
mattias
09148347e9 codetools: class completion: fixed adding behind variable lists, bug #13368
git-svn-id: trunk@19589 -
2009-04-23 09:57:51 +00:00