Commit Graph

394 Commits

Author SHA1 Message Date
mattias
dbf2c24c6e codetools: GetIdentStartEndAtPosition: check if within number
git-svn-id: trunk@56170 -
2017-10-23 11:48:46 +00:00
mattias
eee3db1cf7 codetools: GetValuesOfCaseVariable: WithTypeDefIfScoped default true
git-svn-id: trunk@56168 -
2017-10-23 11:22:39 +00:00
juha
8e89ff11f9 CodeTools: Don't throw an error with "(" inside a comment in front of unit. Issue #32235.
git-svn-id: trunk@56054 -
2017-10-14 16:12:50 +00:00
mattias
d315ac952d codetools: identifier completion: Delphi directives
git-svn-id: trunk@54834 -
2017-05-08 18:31:30 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
01f25f27ce codetools: debug gather unit names
git-svn-id: trunk@54671 -
2017-04-21 20:33:14 +00:00
mattias
a378409b29 codetools: added unique ids for errors
git-svn-id: trunk@54663 -
2017-04-21 18:35:53 +00:00
mattias
f10396a790 codetools: added nativeint, nativeuint for pas2js
git-svn-id: trunk@54659 -
2017-04-21 17:05:58 +00:00
mattias
5ad98a7bcf codetools: ctnReferencTo for typeinfo, code hints and type check
git-svn-id: trunk@54642 -
2017-04-19 11:49:51 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
7547019d49 codetools: identifier completion: added concat(array), insert(array)
git-svn-id: trunk@54506 -
2017-04-01 22:07:24 +00:00
mattias
52bcdebadd codetools: added compiler type pas2js
git-svn-id: trunk@54488 -
2017-03-27 20:50:08 +00:00
ondrej
bf5c8ee375 CodeTools: identifier completion: allow procedures as parameters in Delphi mode. Issue #31342
git-svn-id: trunk@54076 -
2017-02-02 14:35:23 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
ondrej
0e8a762c9f CodeTools: fix Copy and Delete compiler intrinsic parameters for FPC 3.1.0+
git-svn-id: trunk@53256 -
2016-10-28 20:37:01 +00:00
mattias
0248f28552 codetools: tests: fixed
git-svn-id: trunk@53178 -
2016-10-20 15:02:39 +00:00
mattias
2e697531df codetools: identifier completion: fixed ilcfNeedsDo when as is next token, bug #30703
git-svn-id: trunk@53115 -
2016-10-14 18:11:56 +00:00
ondrej
c0cc369d3d IDE, CodeTools: support {scopedenums on} in "case ofall" code template
git-svn-id: trunk@53039 -
2016-09-26 18:14:15 +00:00
mattias
54af11a069 codetools: identifier completion: method specifiers
git-svn-id: trunk@52647 -
2016-07-07 23:34:45 +00:00
mattias
ff5f987936 codetools: identifier completion: procedure specifiers and procedure type specifiers
git-svn-id: trunk@52646 -
2016-07-07 09:11:39 +00:00
mattias
21f07de277 codetools: identifier completion: method specifiers, patch #30352
git-svn-id: trunk@52645 -
2016-07-07 08:57:19 +00:00
ondrej
72d7b7a01a codetools: add Insert compiler intrinsic from FPC 3.1.1
git-svn-id: trunk@52567 -
2016-06-22 18:16:03 +00:00
ondrej
243ffe08c1 codetools: fix Copy() intrinsic
git-svn-id: trunk@52566 -
2016-06-22 18:02:41 +00:00
ondrej
a21850f1bc codetools: add Delete compiler intrinsic from FPC 3.1.1
git-svn-id: trunk@52565 -
2016-06-22 17:31:02 +00:00
ondrej
f12d1d31f1 codetools: show protected methods after the inherited keyword.
git-svn-id: trunk@52397 -
2016-05-27 15:35:59 +00:00
mattias
7072474850 codetools: identifier completion: directive i %line%
git-svn-id: trunk@51716 -
2016-02-26 15:25:06 +00:00
ondrej
c2748fe332 codetools: use crc for identifier list item hash for speed reasons
git-svn-id: trunk@51652 -
2016-02-18 04:24:14 +00:00
ondrej
263929eb6c codetools: move StoreNodeHash to SetNode. See r51650 #a5cd34a174
git-svn-id: trunk@51651 -
2016-02-18 03:32:43 +00:00
ondrej
a5cd34a174 codetools: add StoreNodeHash for identifier list items.
Solves issue in identifier list painting after typing some text while identifier list is open.

git-svn-id: trunk@51650 -
2016-02-17 17:23:01 +00:00
ondrej
fef0aed03e revert r51463 #2022201d06+r51465: IfThen was removed from FPC.
git-svn-id: trunk@51577 -
2016-02-10 16:36:57 +00:00
ondrej
1aef9cf770 codetools: make IfThen available only for FPC 3.1+
git-svn-id: trunk@51465 -
2016-01-31 19:22:19 +00:00
ondrej
2022201d06 codetools: add IfThen compiler intrinsic. Issue #29555
added to FPC in r33036 #2e2567a84d.

git-svn-id: trunk@51463 -
2016-01-31 17:03:50 +00:00
ondrej
4343883f8b codetools: revert r51425 #9305ef5172: show protected methods after the inherited keyword.
It enabled protected methods also from foreign context.

git-svn-id: trunk@51461 -
2016-01-30 19:34:22 +00:00
ondrej
3cc07414d3 codetools: allow methods with higher visibility in class headers with lower visibility. show them in gray color.
git-svn-id: trunk@51426 -
2016-01-26 23:50:35 +00:00
ondrej
9305ef5172 codetools: show protected methods after the inherited keyword.
git-svn-id: trunk@51425 -
2016-01-26 23:16:04 +00:00
ondrej
2b1e36c811 codetools: fixes for the assignment atom flag.
git-svn-id: trunk@51411 -
2016-01-25 16:13:41 +00:00
ondrej
6fe2a8440e codetools: fix ShowCodeContext for predefined functions
git-svn-id: trunk@51386 -
2016-01-23 15:17:03 +00:00
ondrej
06fb297a2c codetools: fix ShowCodeContext for predefined functions
(e.g. "L := Length(|A)")

git-svn-id: trunk@51355 -
2016-01-20 14:16:59 +00:00
ondrej
696ae12a21 codetools: add Default compiler magic
git-svn-id: trunk@51353 -
2016-01-20 13:50:12 +00:00
mattias
07d6956baa codetools: identifier completion: show generic parameters
git-svn-id: trunk@50341 -
2015-11-16 21:28:38 +00:00
ondrej
ba310dcf48 IDE, CodeTools: improved character case recognition for units and namespaces.
git-svn-id: trunk@50268 -
2015-11-10 10:38:58 +00:00
ondrej
d49143fd83 IDE, CodeTools: support for unit names with dots. Issue #22235
git-svn-id: trunk@50266 -
2015-11-09 22:23:19 +00:00
mattias
105b3e0652 codetools: identifier completion: $optimization directive
git-svn-id: trunk@50161 -
2015-10-25 09:17:25 +00:00
mattias
3b84c9a585 codetools: find protected members in class helpers, bug #28810, patch from Ondrej
git-svn-id: trunk@50115 -
2015-10-18 22:27:22 +00:00
mattias
8d3d4e6a6f codetools: debug
git-svn-id: trunk@50087 -
2015-10-16 21:37:34 +00:00
mattias
649c60cea8 codetools: gather identifiers behind string constant dot
git-svn-id: trunk@50084 -
2015-10-16 15:53:10 +00:00
mattias
ccd0eeebaf codetools: find declaration of string constant dot identifier
git-svn-id: trunk@50083 -
2015-10-16 15:37:23 +00:00
mattias
b3ff6d8167 codetools: fixed find declaration default property, bug #28847
git-svn-id: trunk@50050 -
2015-10-13 20:13:05 +00:00
mattias
28eba57562 codetools: parameter hints: added SetString for FPC 2.7.1+
git-svn-id: trunk@50034 -
2015-10-11 17:54:32 +00:00
mattias
2e77744a8c codetools: identifier completion: added SetString for FPC 2.7.1+, from Ondrej
git-svn-id: trunk@50033 -
2015-10-11 17:46:08 +00:00
mattias
b605c39631 codetools: code completion: support class constructors/destructors, patch #25130 from Ondrej Pokorny
git-svn-id: trunk@49996 -
2015-10-08 14:20:54 +00:00
mattias
bd020c787f codetools: simplified gathering helpers, patch #28794 from Ondrej Pokorny
git-svn-id: trunk@49991 -
2015-10-08 10:09:12 +00:00
mattias
62736acf82 codetools: identifier completion+events: simplified collecting helpers
git-svn-id: trunk@49983 -
2015-10-07 23:08:11 +00:00
mattias
5086ce6b4a codetools: fixed TFindDeclarationParams.Create calls, bug #28410
git-svn-id: trunk@49887 -
2015-09-28 18:10:26 +00:00
mattias
5dadb9fdad codetools: identifier completion: add variant, patch #28615 from Ondrej Pokorny
git-svn-id: trunk@49748 -
2015-09-03 10:52:20 +00:00
mattias
46cd19490b codetools: less hints
git-svn-id: trunk@49617 -
2015-08-08 08:37:38 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
adc179b9ed codetools: fixed typo
git-svn-id: trunk@49475 -
2015-06-30 14:51:21 +00:00
mattias
eec44bce79 codetools: add compiler functions into system., filter predefined compiler functions, patch #28320
git-svn-id: trunk@49474 -
2015-06-30 09:22:06 +00:00
mattias
699bdb9e8f codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny
git-svn-id: trunk@49405 -
2015-06-22 10:02:11 +00:00
juha
8931f18954 IDE: In identifier completion, respect "Add semicolon" option, add '&' when needed. Issue #28226, patch from Ondrej Pokorny.
git-svn-id: trunk@49306 -
2015-06-10 09:02:46 +00:00
mattias
8bf6d51357 codetools: identifier completion: added CurrentRoutine
git-svn-id: trunk@49080 -
2015-05-18 07:58:05 +00:00
mattias
e0a471dc07 codetools: clean up
git-svn-id: trunk@48660 -
2015-04-06 17:35:11 +00:00
mattias
b08d58effc codetools: clean up
git-svn-id: trunk@48659 -
2015-04-06 17:32:06 +00:00
mattias
ac3eedb892 codetools: identifier cpletion: directive interfaces
git-svn-id: trunk@48333 -
2015-03-13 14:42:02 +00:00
mattias
04d81bf59c codetools: identifier completion: updated list of directives
git-svn-id: trunk@47932 -
2015-02-21 09:06:14 +00:00
mattias
6025925c8a codetools: fixed directive WriteableConst, bug #27512
git-svn-id: trunk@47930 -
2015-02-21 08:44:19 +00:00
mattias
3ea49cce88 codetools: identifier completion: $codepage parameter
git-svn-id: trunk@47806 -
2015-02-15 15:22:24 +00:00
mattias
43847bb0b3 IDE+codetools: identifier completion: Options to disable sorting for history and scope
git-svn-id: trunk@46599 -
2014-10-18 21:34:06 +00:00
mattias
06bf8e9ec7 codetools: comments
git-svn-id: trunk@46596 -
2014-10-18 20:21:52 +00:00
mattias
f5e2ee41a5 codetools: find declaration and gather identifiers: labels, issue #26882
git-svn-id: trunk@46592 -
2014-10-18 10:22:38 +00:00
mattias
2e2ab0b2b3 codetools: TSourceLog.GetLine: added parameter WithLineEnd
git-svn-id: trunk@46039 -
2014-08-12 10:44:40 +00:00
mattias
9ddf3d4196 codetools: FindAbstractMethods: search class interfaces
git-svn-id: trunk@45593 -
2014-06-21 15:35:46 +00:00
mattias
aa4c4a8a9e codetools: identifier completion: GetParamTypeList: catch error
git-svn-id: trunk@44358 -
2014-03-05 18:30:46 +00:00
mattias
95e8a23869 codetools: code contexts: list global properties
git-svn-id: trunk@44255 -
2014-02-26 19:25:51 +00:00
mattias
c8dcad58c9 codetools: identifier completion: list global properties
git-svn-id: trunk@44254 -
2014-02-26 19:11:12 +00:00
mattias
1fe37e15a2 fixed spelling mistakes, found by lintian
git-svn-id: trunk@43900 -
2014-02-05 12:07:46 +00:00
mattias
b22e3f25f8 codetools: identifier completion: i directive keywords
git-svn-id: trunk@42045 -
2013-07-09 20:44:16 +00:00
mattias
f49fed72d4 codetools: identifier completion: i directive keywords
git-svn-id: trunk@42044 -
2013-07-09 20:20:35 +00:00
mattias
81346fae7b codetools: fixed error message if include file name is empty
git-svn-id: trunk@42041 -
2013-07-09 19:43:41 +00:00
mattias
bba30188f8 codetools: identifier completion: fixed typo
git-svn-id: trunk@42040 -
2013-07-09 19:34:27 +00:00
mattias
7b17aaf0b3 codetools: identifier completion: ignore parser errors when gathering keywords, bug #20919
git-svn-id: trunk@41886 -
2013-06-25 09:33:37 +00:00
mattias
d76a13f72c IDE: parameter hints: fixed showing parameters of procedure types
git-svn-id: trunk@41816 -
2013-06-23 12:19:40 +00:00
mattias
2c367b3767 codetools: identifier completion: fixed checking for hidden procs
git-svn-id: trunk@41507 -
2013-06-03 09:23:48 +00:00
mattias
3c0ed10d93 codetools: identifier completion: fixed checking for hidden procs
git-svn-id: trunk@41506 -
2013-06-03 09:04:57 +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
f7647f0574 codetools: identifier completion: fixed crash
git-svn-id: trunk@41263 -
2013-05-18 21:36:32 +00:00
mattias
53b20cfa97 codetools: small optimizations
git-svn-id: trunk@41262 -
2013-05-18 21:30:16 +00:00
mattias
62f6dfef9d codetools: fixed TIdentifierList.FindIdentifier searching identifier that is not a proc
git-svn-id: trunk@41261 -
2013-05-18 21:18:44 +00:00
mattias
60c696effd codetools: identifier completion: fixed range of with statement
git-svn-id: trunk@41252 -
2013-05-18 09:03:21 +00:00
mattias
2f413bde0a codetools: identifier completion: directives mixed case
git-svn-id: trunk@41250 -
2013-05-17 22:26:00 +00:00
mattias
910bf5ba13 codetools: fixed crash if identifier is not a node
git-svn-id: trunk@41143 -
2013-05-12 08:02:02 +00:00
juha
712a0979f0 Codetools: Improvement for FindContext for hidden methods. Part of issue #18929, patch from Anton
git-svn-id: trunk@41085 -
2013-05-09 08:56:19 +00:00
mattias
b6a35980e9 codetools: fixed LineColIsOutSide
git-svn-id: trunk@40929 -
2013-04-29 10:08:49 +00:00
mattias
93bfcac232 codetools: identifier completion: fixed ilcfEndOfLine
git-svn-id: trunk@40922 -
2013-04-28 23:08:11 +00:00
mattias
6c82fdfde1 codetools: identifier completion: fixed when cursor outside of code, e.g. beyond end of line
git-svn-id: trunk@40920 -
2013-04-28 22:40:44 +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
mattias
e9156f83de codetools: gather identifiers: use tool beautifier
git-svn-id: trunk@40816 -
2013-04-15 09:14:12 +00:00
mattias
bd361cb359 codetools: fixed debugging code, bug #23827
git-svn-id: trunk@40183 -
2013-02-04 22:26:36 +00:00
mattias
bf5b2dd230 codetools: identifier completion: added pic directive
git-svn-id: trunk@40005 -
2013-01-28 14:13:06 +00:00