Commit Graph

300 Commits

Author SHA1 Message Date
mattias
29839a9707 codetools: findreferences: search declaration comment, bug #13497
git-svn-id: trunk@26542 -
2010-07-08 21:41:56 +00:00
mattias
c0682eae27 codetools: completeblock when typing begin
git-svn-id: trunk@26515 -
2010-07-07 22:40:38 +00:00
mattias
0b3a7661b0 codetools: completeblock: add newline, bug
git-svn-id: trunk@26512 -
2010-07-07 20:07:49 +00:00
mattias
14c0ca0b26 codetools: FindDanglingComponentEvents: check sub persistents in properties, bug #16831
git-svn-id: trunk@26455 -
2010-07-04 09:10:59 +00:00
mattias
1751469cc8 codetools: completeblock: ignore open brackets on semicolon
git-svn-id: trunk@26453 -
2010-07-04 07:29:19 +00:00
mattias
e454ee7c16 codetools: completeblock: begin ;, bug #16836
git-svn-id: trunk@26452 -
2010-07-04 07:23:42 +00:00
mattias
e03811d82e codetools: clean up
git-svn-id: trunk@26423 -
2010-07-02 19:43:27 +00:00
mattias
2a0aad5e01 codetools: GetStringConstAsFormatString treat " as normal character
git-svn-id: trunk@26036 -
2010-06-11 07:16:41 +00:00
mattias
a15b25d274 codetools: CheckLFM: check types even if parent types was not found
git-svn-id: trunk@25847 -
2010-06-02 19:20:22 +00:00
mattias
e2538d01bc codetools: removed cafBegin
git-svn-id: trunk@25737 -
2010-05-28 18:47:50 +00:00
mattias
331b05a147 IDE: started block completion on char
git-svn-id: trunk@25556 -
2010-05-20 21:44:03 +00:00
mattias
eaa1ff2fba IDE: added quickfix for note local variable not used, remove
git-svn-id: trunk@25498 -
2010-05-18 14:45:02 +00:00
mattias
4809be32c6 codetools: fixed FindCOdeOrLineEndInFrontOf for bracket close, bug #16419
git-svn-id: trunk@25238 -
2010-05-07 11:04:50 +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
d3f232387d codetools: changed RetypeClassVariables parameter to tree
git-svn-id: trunk@24219 -
2010-03-26 12:24:47 +00:00
mattias
a74bc652d2 codetools: added RetypeClassVariables
git-svn-id: trunk@24215 -
2010-03-25 21:16:32 +00:00
mattias
34bcf2c445 codetools: fixed ConvertDelphiToLazarusSource reparse after adding mode delphi
git-svn-id: trunk@23767 -
2010-02-23 12:01:42 +00:00
paul
9e02d5824f codetools: distinct dispinterface and other interfaces
git-svn-id: trunk@23500 -
2010-01-20 13:18:11 +00:00
mattias
3e0e6a5370 codetools: undo parsing ^j
git-svn-id: trunk@23414 -
2010-01-09 21:53:31 +00:00
mattias
dfc20b664d codetools: completeblock: skip if target line is not empty or code behind is more indented
git-svn-id: trunk@22828 -
2009-11-27 16:50:24 +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
ce415836a7 codetools: TStandardCodeTool.GetPasDocComments stop at directives
git-svn-id: trunk@22575 -
2009-11-13 20:42:15 +00:00
mattias
555090ae4f codetools: TStandardCodeTool.ExtractOperand ignore positions in space
git-svn-id: trunk@22558 -
2009-11-13 06:03:49 +00:00
mattias
95af4fb208 codetools: fixed adding uses section
git-svn-id: trunk@22475 -
2009-11-07 13:48:47 +00:00
mattias
c12d17af61 codetools: FindStartOfTerm: fixed starting in an atom
git-svn-id: trunk@22340 -
2009-10-29 14:28:19 +00:00
mattias
192ee15737 codetools: renamed unitname identifiers
git-svn-id: trunk@22334 -
2009-10-29 11:23:40 +00:00
mattias
ceaa5de063 codetools: when adding units to uses section check for special units: cmem, sharedmem, lineinfo, heaptrc, cthreads
git-svn-id: trunk@22307 -
2009-10-27 12:38:10 +00:00
paul
81f665d3c4 codetools: better support 'sealed' and 'abstract' classes
git-svn-id: trunk@22290 -
2009-10-26 15:01:26 +00:00
mattias
2360f0fed7 codetools: reduced debugging
git-svn-id: trunk@21986 -
2009-10-02 18:57:58 +00:00
mattias
1ffd720917 IDE+codetools: ExtractOperand: added WithoutTrailingPoints
git-svn-id: trunk@21985 -
2009-10-02 18:49:58 +00:00
mattias
1803fc05ff codetools: ExtractOperand: do not return if cursor in front of expression
git-svn-id: trunk@21984 -
2009-10-02 18:39:23 +00:00
mattias
19a53151f7 codetools: fixed TStandardCodeTool.ExtractOperand for endpos
git-svn-id: trunk@21982 -
2009-10-02 09:30:11 +00:00
mattias
8442f27d8c IDE: debugger: tool tip for symbol under cursor
git-svn-id: trunk@21980 -
2009-10-02 08:48:32 +00:00
mattias
406489f03e codetools: added ExtractOperand
git-svn-id: trunk@21937 -
2009-10-01 10:41:33 +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
b52f66dabc codetools: renamepublishedvariable: skip .identifier, bug #13823
git-svn-id: trunk@21476 -
2009-08-28 11:08:30 +00:00
mattias
85faf25c1f codetools: GetPasDocComments: check if comment belongs to prior code, bug #12447
git-svn-id: trunk@21135 -
2009-08-07 12:46:20 +00:00
mattias
d25179de98 codetools: complete block: do not add semicolon in front of an else, bug #14021
git-svn-id: trunk@20689 -
2009-06-21 11:16:35 +00:00
mattias
56629b80c6 codetools: indentation for comments
git-svn-id: trunk@20485 -
2009-06-06 17:30:16 +00:00
mattias
a1c288222b codetools: moved indenter to TCodeToolManager
git-svn-id: trunk@20480 -
2009-06-06 16:16:51 +00:00
mattias
8209691967 codetools: complete block: begin begin begin end end
git-svn-id: trunk@20457 -
2009-06-05 18:13:48 +00:00
mattias
a20af130ed reduced output
git-svn-id: trunk@20445 -
2009-06-05 16:18:56 +00:00
mattias
58acb9da65 codetools: completeblock: fixed closing nested if else
git-svn-id: trunk@20433 -
2009-06-05 11:38:03 +00:00
mattias
0ac9217af3 codetools: complete block: fixed closing program begin end.
git-svn-id: trunk@20432 -
2009-06-05 11:17:57 +00:00
mattias
8f78d9aa6a codetools: complete block: checking for end., bug #13895
git-svn-id: trunk@20383 -
2009-06-03 21:34:04 +00:00
mattias
552a63960f codetools: local var assignment completion: address operator
git-svn-id: trunk@20377 -
2009-06-03 17:10:17 +00:00
mattias
807dd50588 codetools: adding units: when no related found and uipBehindRelated: add as last, bug #13899
git-svn-id: trunk@20376 -
2009-06-03 16:27:32 +00:00
mattias
65968ad5bf codetools: complete block: insert needed spaces in front of first line
git-svn-id: trunk@20291 -
2009-05-29 07:59:13 +00:00
mattias
178f494111 codetools: complete block: use first atom for inner indent
git-svn-id: trunk@20280 -
2009-05-28 11:43:48 +00:00
mattias
20fca2cad7 codetools: complete blocks for inner blocks
git-svn-id: trunk@20210 -
2009-05-25 14:13:39 +00:00
mattias
5c4cc7cb58 codetools: complete block: fixed parsing try..finally, if..else
git-svn-id: trunk@20196 -
2009-05-25 09:41:06 +00:00
mattias
f2e68dee8c codetools: complete block: use existing semicolon
git-svn-id: trunk@20149 -
2009-05-23 23:52:09 +00:00
mattias
ec7adf6c05 codetools: complete record block
git-svn-id: trunk@20132 -
2009-05-22 17:50:39 +00:00
mattias
e97ed3191c codetools: complete class interface block
git-svn-id: trunk@20131 -
2009-05-22 17:45:56 +00:00
mattias
06da713f1e codetools: complete class block
git-svn-id: trunk@20130 -
2009-05-22 17:40:23 +00:00
mattias
da88c7b562 codetools: completeblock: complete case colon semicolons
git-svn-id: trunk@20122 -
2009-05-22 09:10:52 +00:00
mattias
ffb32090a1 codetools: completeblock: do not complete if cursor on start of first block, bug #13784
git-svn-id: trunk@20121 -
2009-05-22 08:59:13 +00:00
mattias
9bd290d86e IDE+codetools: implemented complete blocks in statements
git-svn-id: trunk@20108 -
2009-05-21 16:49:01 +00:00
mattias
f8012d194e IDE: fixed result of SaveSourceEditorChangesToCodeCache, codetools: started complete block
git-svn-id: trunk@20107 -
2009-05-21 13:24:15 +00:00
martin
068b9fb3ef Codetools: RangeCheck Exception, Strings start at 1
git-svn-id: trunk@19945 -
2009-05-12 14:32:49 +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
9544e1cffa codetools: option to add units as last ignoring user settings
git-svn-id: trunk@19839 -
2009-05-07 09:44:15 +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
620900273e codetools: identifier completion used unit
git-svn-id: trunk@19810 -
2009-05-05 09:14:08 +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
c774737bb2 codetools: remove unit from uses section: removing space around first unit
git-svn-id: trunk@19367 -
2009-04-12 04:57:27 +00:00
mattias
36c8c8f079 IDE+codetools: started finding unit references
git-svn-id: trunk@19310 -
2009-04-10 14:52:57 +00:00
mattias
54597c0fcb codetools: finding unused units: used global properties
git-svn-id: trunk@19289 -
2009-04-09 13:23:26 +00:00
mattias
8b2cde0cb6 codetools: finding unused units: procedures
git-svn-id: trunk@19288 -
2009-04-09 13:17:59 +00:00
mattias
fe3b0c86d2 codetools: finding unused units
git-svn-id: trunk@19287 -
2009-04-09 13:14:05 +00:00
mattias
9a76510f83 codetools: added example for unused units
git-svn-id: trunk@19286 -
2009-04-09 12:57:21 +00:00
mattias
f7b1dd2b77 codetools: reading all references
git-svn-id: trunk@19285 -
2009-04-09 09:56:00 +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
5d21138707 codetools: fixed finding prior statement when start on source start
git-svn-id: trunk@18316 -
2009-01-16 20:39:59 +00:00
mattias
2d39d8d910 IDE: fixed updating, renaming project resources
git-svn-id: trunk@17021 -
2008-10-16 11:35:48 +00:00
mattias
e5de689ab4 clean up
git-svn-id: trunk@16953 -
2008-10-11 07:31:03 +00:00
mattias
0775a9258a codetools: adding include directives into code
git-svn-id: trunk@16942 -
2008-10-09 10:18:22 +00:00
mattias
7f2d78f450 IDE: project: adding/removing include directive for project resources
git-svn-id: trunk@16932 -
2008-10-08 16:43:14 +00:00
mattias
992d5f74ab codetools: fixed TCodeTreeNode.ConsistencyCheck
git-svn-id: trunk@16859 -
2008-10-03 09:34:52 +00:00
mattias
626815db77 codetools: scanning for comments in type nodes end
git-svn-id: trunk@16843 -
2008-10-02 09:19:47 +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
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
d306cba6ac codetools: improved debugging
git-svn-id: trunk@16191 -
2008-08-23 06:45:17 +00:00
mattias
e374b51dd5 IDEIntf: moved IDE key grabbing to propedits, added button to TShortCutPropertyEditor
git-svn-id: trunk@16136 -
2008-08-19 02:57:17 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
6f64b8639c IDE: not beautifying uses section of package main source, bug #11660
git-svn-id: trunk@15876 -
2008-07-26 16:49:14 +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
ec306d185d codetools: added debugging info or dangling events
git-svn-id: trunk@15811 -
2008-07-18 08:00:07 +00:00
mattias
7f8fab8d64 IDE+codetools: added verbosity via -dVerboseDanglingComponentEvents
git-svn-id: trunk@15798 -
2008-07-17 06:47:25 +00:00
mattias
5399b1c322 codetools: removing empty methods: auto removing class completion comment
git-svn-id: trunk@14971 -
2008-04-25 13:31:19 +00:00
mattias
fdde79363f codetools: lfmtrees are now only updated if source changed
git-svn-id: trunk@14827 -
2008-04-15 12:51:14 +00:00
mattias
92e555f7da codetools: lfmtrees are now kept
git-svn-id: trunk@14826 -
2008-04-15 12:08:36 +00:00
mattias
a7dbaa80d2 codetools: fixed wrong tool context in FindClassNodeForLFMObject
git-svn-id: trunk@13598 -
2008-01-02 23:35:25 +00:00
mattias
a6358840d5 codetools: TStandardCodeTool.RenamePublishedVariable fixed renaming type
git-svn-id: trunk@13510 -
2007-12-28 21:01:50 +00:00
mattias
b883a482c5 codetools: fixed crash on finalization
git-svn-id: trunk@13503 -
2007-12-28 12:28:58 +00:00