Commit Graph

742 Commits

Author SHA1 Message Date
mattias
a1d47beded codetools: shrinked scan ranges from lsrEnd to lsrInitializationStart where possible
git-svn-id: trunk@42202 -
2013-07-25 12:49:04 +00:00
mattias
71afb213fb codetools: rename identifier: procedure jump to prochead
git-svn-id: trunk@42074 -
2013-07-13 12:42:32 +00:00
mattias
4d11ba6ac9 codetools: resourcestring
git-svn-id: trunk@41980 -
2013-07-03 07:48:30 +00:00
mattias
30c64c2982 codetools: code complete: for c in char
git-svn-id: trunk@41952 -
2013-07-01 11:14:55 +00:00
mattias
e16523559c codetools: fixed parsing expression with &keyword
git-svn-id: trunk@41950 -
2013-06-30 22:40:51 +00:00
mattias
7201e34ba9 codetools: on variable only valid in the on block, bug #24494
git-svn-id: trunk@41842 -
2013-06-23 17:32:52 +00:00
mattias
f4ed4c5b85 codetools: fixed code completion for c in enum
git-svn-id: trunk@41837 -
2013-06-23 16:28:50 +00:00
mattias
ad78656157 codetools: CheckParameterSyntax: fixed ([])
git-svn-id: trunk@41819 -
2013-06-23 12:45:53 +00:00
juha
673142547e Converter + codetools: try to find out why FInterfaceIdentifierCache is Nil sometimes in TFindDeclarationTool.FindIdentifierInInterface.
git-svn-id: trunk@41712 -
2013-06-14 13:45:12 +00:00
mattias
4ce8683fd7 codetools: set DirectoryCache of tool, removed auto fetching
git-svn-id: trunk@41552 -
2013-06-05 19:07:50 +00:00
juha
a9ad45f767 Codetools: make TFindDeclarationTool.CheckDirectoryCache public. Needed for converter.
git-svn-id: trunk@41426 -
2013-05-26 17:49:16 +00:00
mattias
186067a9f8 codetools: findreferences: when on proc body search proc interface
git-svn-id: trunk@41133 -
2013-05-11 19:29:04 +00:00
mattias
01e46f51c9 codetools: fixed find term type of function returning a pointer type
git-svn-id: trunk@41093 -
2013-05-09 14:42:45 +00:00
mattias
878a5a0321 codetools: undo hack
git-svn-id: trunk@40921 -
2013-04-28 22:41:31 +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
juha
727f6ddd62 Codetools: Fix FindDeclaration tool to not finds inaccessible private/protected fields. Issue #22464, patch from Anton
git-svn-id: trunk@40909 -
2013-04-28 15:20:16 +00:00
mattias
fc203991d0 codetools: find declaration: searching in class of method: search in parent classes of nested classes
git-svn-id: trunk@40201 -
2013-02-06 19:20:29 +00:00
mattias
e9f840669c codetools: TFindDeclarationTool.CheckParameterSyntax: check comments
git-svn-id: trunk@39956 -
2013-01-24 19:39:25 +00:00
mattias
7db10c0527 codetools: fixed searching identifier in constant, bug #23643
git-svn-id: trunk@39897 -
2013-01-19 19:15:38 +00:00
mattias
a9f38a9a10 codetools: TLinkScanner.CursorToCleanPos: fixed reporting wrongly skipped code for beyond code
git-svn-id: trunk@39792 -
2013-01-06 22:57:41 +00:00
mattias
0d543afcbf codetools: more verbosity for fd fail
git-svn-id: trunk@39755 -
2013-01-03 18:34:24 +00:00
mattias
60bdd54869 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39753 -
2013-01-03 16:30:56 +00:00
mattias
9b7bd51717 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39751 -
2013-01-03 15:28:07 +00:00
mattias
8298e344f3 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39749 -
2013-01-03 13:56:50 +00:00
mattias
60fd65da29 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39748 -
2013-01-03 13:48:12 +00:00
mattias
9862bf3af8 codetools: TLinkScanner.CursorToCleanPos: fixed cursorpos outside of code
git-svn-id: trunk@39655 -
2012-12-26 09:58:20 +00:00
mattias
a00deda670 codetools: findbasetypeofnode: undo skip current context
git-svn-id: trunk@39567 -
2012-12-17 11:22:03 +00:00
mattias
8ba97d8a17 codetools: clean up
git-svn-id: trunk@39560 -
2012-12-16 10:48:05 +00:00
mattias
2f53e5d41c codetools: fixed TEventsCodeTool.FindMethodTypeInfo when type is an alias
git-svn-id: trunk@39559 -
2012-12-16 10:46:37 +00:00
mattias
0869cb145f codetools: findbasetype: skip current context in type defs
git-svn-id: trunk@39558 -
2012-12-16 10:25:33 +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
8367792c04 codetools: resolve indexed ancestor properties, bug #22687
git-svn-id: trunk@38421 -
2012-08-28 19:55:36 +00:00
mattias
859caab881 codetools: fixed range check error
git-svn-id: trunk@38419 -
2012-08-28 14:23:59 +00:00
mattias
ac5fdad655 undo
git-svn-id: trunk@38292 -
2012-08-21 07:48:52 +00:00
mattias
8700716f40 codetools: example for skipped code
git-svn-id: trunk@38291 -
2012-08-21 07:47:20 +00:00
mattias
1bc9682635 codetools: fixed find declaration of a.b
git-svn-id: trunk@38227 -
2012-08-12 08:15:56 +00:00
mattias
51c7a42e32 codetools: workaround until CalculateBinaryOperator supports alias types
git-svn-id: trunk@38195 -
2012-08-07 07:43:49 +00:00
mattias
a5f1df8c7c codetools: fixed FindDeclarationOfIdentAtParam searching if proc()then
git-svn-id: trunk@38189 -
2012-08-06 22:36:23 +00:00
mattias
8bb7d5a78e codetools: improved unit not found error message for implicit used units
git-svn-id: trunk@38073 -
2012-07-28 12:29:00 +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
juha
141260a23a Converter: Improve converting TabbedNotebook to TPageControl.
git-svn-id: trunk@37270 -
2012-05-13 17:08:41 +00:00
mattias
bb32bf4cdb codetools: improved error message on unit not found
git-svn-id: trunk@37265 -
2012-05-13 13:03:58 +00:00
mattias
2b2f0f00f8 codetools: improved error message on unit not found
git-svn-id: trunk@37263 -
2012-05-13 09:40:15 +00:00
mattias
1802fda674 codetools: GetSmartHint: ^, .., file of, class of
git-svn-id: trunk@37215 -
2012-05-07 16:16:17 +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
e870b21355 codetools: fixed resolving inherited
git-svn-id: trunk@37132 -
2012-05-02 12:06:32 +00:00
mattias
d18e8e49d3 codetools: GetSmartHint: show anonymous arrays
git-svn-id: trunk@37104 -
2012-04-30 14:13:02 +00:00
mattias
5f3801e1ee codetools: nested types: Self and inherited
git-svn-id: trunk@37103 -
2012-04-30 13:37:41 +00:00
mattias
15b8f2e5c3 codetools: fixed GetSmartHint for unit
git-svn-id: trunk@37098 -
2012-04-30 08:08:02 +00:00
mattias
815fe6af00 codetools: do not try to search in record ancestors
git-svn-id: trunk@37090 -
2012-04-29 18:33:24 +00:00
mattias
40fdca11df codetools: GetSmartHint: use unit
git-svn-id: trunk@37089 -
2012-04-29 18:31:03 +00:00
mattias
8be47d95a1 codetools: GetSmartHint: property params and type
git-svn-id: trunk@37087 -
2012-04-29 18:21:33 +00:00
mattias
b5a7e440c9 codetools: GetSmartHint: add inheritance
git-svn-id: trunk@37083 -
2012-04-29 12:52:03 +00:00
mattias
e158e14d5b codetools: getsmarthing: array of
git-svn-id: trunk@37082 -
2012-04-29 12:48:27 +00:00
mattias
b65f87aa5b codetools: getsmarthing: enum: add "enum"
git-svn-id: trunk@37081 -
2012-04-29 12:47:10 +00:00
mattias
20f137ac1f codetools: getsmarthing: simplified
git-svn-id: trunk@37080 -
2012-04-29 12:45:33 +00:00
mattias
c5f819c616 codetools: getsmarthing: class variables
git-svn-id: trunk@37079 -
2012-04-29 12:41:36 +00:00
mattias
3c82a53c6b codetools: find declaration: selfunit.implementationidentifie
git-svn-id: trunk@37078 -
2012-04-29 10:35:52 +00:00
mattias
c98e01db84 codetools: resolve expr: thisunitname.implementationenidentifier
git-svn-id: trunk@37073 -
2012-04-29 09:28:15 +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
e055f6003b codetools: fixed find declaration
git-svn-id: trunk@36982 -
2012-04-22 22:46:47 +00:00
mattias
9d8803bbcc codetools: identifier completion: fixed continue searching
git-svn-id: trunk@36981 -
2012-04-22 21:26:33 +00:00
mattias
11216625db codetools: fixed search in hidden used units
git-svn-id: trunk@36978 -
2012-04-22 20:15:40 +00:00
mattias
297804938e codetools: fixed searching identifier in program, library
git-svn-id: trunk@36975 -
2012-04-22 18:33:35 +00:00
mattias
f2b5e73135 codetools: fixed find declaration in library starting in initialization, bug #21832
git-svn-id: trunk@36974 -
2012-04-22 18:25:25 +00:00
mattias
28123ac857 codetools: fixed treating initialization, finalization as statements
git-svn-id: trunk@36973 -
2012-04-22 18:15:24 +00:00
mattias
4d57d078dd codetools: find inheritance of objccategory
git-svn-id: trunk@36458 -
2012-03-30 13:47:49 +00:00
mattias
d87025efb7 codetools: auto dereferencing on mode switch autoderef
git-svn-id: trunk@36152 -
2012-03-18 19:10:51 +00:00
mattias
6fdd286ea2 codetools: fixed type of property
git-svn-id: trunk@35791 -
2012-03-07 08:35:47 +00:00
mattias
2b47f40c2f codetools: find declaration of default property without type
git-svn-id: trunk@35789 -
2012-03-07 06:26:37 +00:00
mattias
dd14bccb30 codetools: less verbosity
git-svn-id: trunk@35727 -
2012-03-05 11:20:32 +00:00
mattias
dd23bc3128 codetools: fixed typo
git-svn-id: trunk@35440 -
2012-02-18 13:55:21 +00:00
mattias
af96f00a7e codetools: fixed typo
git-svn-id: trunk@35439 -
2012-02-18 13:54:38 +00:00
mattias
3f83e596a3 codetools: fixed resolving children of global property
git-svn-id: trunk@35438 -
2012-02-18 13:53:11 +00:00
mattias
30b1e72d4f codetools: fixed find global property in used unit
git-svn-id: trunk@35398 -
2012-02-16 10:53:28 +00:00
mattias
5f47718cdd codetools: when cursor pos outside code: give more details
git-svn-id: trunk@35178 -
2012-02-06 12:37:28 +00:00
mattias
bce270836b codetools: FindEndOfExpression: parse inherited
git-svn-id: trunk@34919 -
2012-01-25 13:07:36 +00:00
mattias
6d491f1977 codetools: IsParamExprListCompatibleToNodeList: fixed returning tcCompatible if a param is only compatible
git-svn-id: trunk@34856 -
2012-01-22 11:55:59 +00:00
mattias
6e8cb6fb9b codetools: not searching in system units again
git-svn-id: trunk@34855 -
2012-01-22 11:35:07 +00:00
mattias
4be5c93609 IDE: fpdoc editor: create fpdoc files for fpc units
git-svn-id: trunk@34847 -
2012-01-21 17:23:50 +00:00
mattias
0d8546c33a codetools: fixed find references
git-svn-id: trunk@34842 -
2012-01-21 15:07:55 +00:00
mattias
edf146fe37 codetools: find identifier references: only search after uses section
git-svn-id: trunk@34833 -
2012-01-21 11:51:11 +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
d5279b31a9 codetools: find declaration: fixed searching in default ancestor
git-svn-id: trunk@34797 -
2012-01-19 16:29:12 +00:00
mattias
0bb0793310 codetools: do not search default class ancestor if there is another class ancestor
git-svn-id: trunk@34777 -
2012-01-18 14:02:54 +00:00
mattias
bdd8d247fb codetools: fixed TLinkScanner.SourceName
git-svn-id: trunk@34776 -
2012-01-18 13:50:24 +00:00
mattias
c0a0f6ce67 codetools: searching hidden used units cmem for #usevalgrind, fpextres for FPC_HAS_WinLikeResources, iso7185 for mode iso, profile for #useprofiler, fpcylix,dynlibs for #usekylix, controller macro #controllerunit, modeswitch bojpas for mode delphi and objpas
git-svn-id: trunk@34775 -
2012-01-18 13:38:43 +00:00
mattias
ee53888381 codetools: fixed modeswitch
git-svn-id: trunk@34774 -
2012-01-18 12:53:18 +00:00
mattias
81d67bcdc6 codetools: checklfm: fixed searching types
git-svn-id: trunk@34768 -
2012-01-18 01:54:53 +00:00
juha
03d1306b86 Codetools & LazUtils: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34757 -
2012-01-15 23:50:39 +00:00
mattias
4d8500282c codetools: fixed resolving identifier backward in term
git-svn-id: trunk@34734 -
2012-01-14 16:00:11 +00:00
mattias
1c8d8b843e codetools: resolve sub identifier in type definition: search forward too
git-svn-id: trunk@34720 -
2012-01-12 23:12:01 +00:00
mattias
724765c335 codetools: param completion for @pointertype
git-svn-id: trunk@34714 -
2012-01-12 14:10:11 +00:00
mattias
eae537252c codetools: param completion: extend uses section
git-svn-id: trunk@34711 -
2012-01-11 15:37:19 +00:00
mattias
13f554a1f4 codetools: clean up unit not found code
git-svn-id: trunk@34677 -
2012-01-09 13:23:48 +00:00
mattias
f10bff7b73 codetools: findreferences: fixed searching interface when alias is declared there
git-svn-id: trunk@34618 -
2012-01-06 13:32:47 +00:00
mattias
9221f3df77 codetools: FindUnitFileInUsesSection: clean up
git-svn-id: trunk@34615 -
2012-01-06 11:49:59 +00:00
mattias
eff8ba3ed4 codetools: FindUnitFileInUsesSection: quick check with unit name
git-svn-id: trunk@34614 -
2012-01-06 11:45:10 +00:00
mattias
01a38c08c2 codetools: findreferences: check first if declaration unit is used
git-svn-id: trunk@34613 -
2012-01-06 11:35:27 +00:00