mattias
4c53c90895
codetools: test CheckLFM: parse unitname
2023-01-18 10:00:42 +01:00
mattias
09c3e47a45
codetools: test CheckLFM child component
2023-01-17 22:41:17 +01:00
mattias
029f775a85
codetools: started testsuite for CheckLFM
2023-01-17 21:50:16 +01:00
mattias
1b490d997c
codetools: implemented $if sizeof() for some built-in types
2023-01-13 12:43:46 +01:00
Martin
e1dc8a96d9
Codetool: prevent recursion in ResolveBaseTypeOfIdentifier. Issue 39897
...
`fdfFunctionResult` will cause `FindExpressionTypeOfTerm` to `ResolveChildren` and recurse forever if the node starts with open brackets. If the cursor is not on an identifier, it should not be a function and the flag is not needed.
2022-10-26 14:58:42 +02:00
Martin
204e3d5734
CodeTools, tests: run "bug*" tests too.
2022-10-26 14:54:02 +02:00
Martin
d488d45819
CodeTool: Improve tracking specialized generic parameters (e.g. variable class base).
...
Undo/Replace commits:
- 797768a965
, Branch RevNo: 58874
codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
git-svn-id: trunk@63136 -
- 4d12a06af5
, Branch RevNo: 62044
CodeTools: Resolve generic params when searching in ancestors.
2022-10-20 13:55:54 +02:00
Pascal Riekenberg
54aadb67fd
Codetools: fixed parsing of directives with in operator + test
2022-07-06 23:32:59 +02:00
Pascal Riekenberg
d5951070d0
Codetools: Tests for: Keep empty () on code completion. Issue #39712 .
2022-07-06 22:33:47 +02:00
mattias
66b36cd172
codetools: fixed some tests
2022-06-17 17:35:23 +02:00
mattias
6b9fd935b2
codetools: parse underscore in decimals
2022-06-17 17:20:11 +02:00
Martin
2182681a6e
Codetools: Add test for code-completion keywords
2022-05-03 21:59:18 +02:00
Martin
4d12a06af5
CodeTools: Resolve generic params when searching in ancestors.
2022-05-03 02:32:26 +02:00
mattias
e2ad6b3d8d
codetools: parse multiline string constant
2022-03-14 16:38:07 +01:00
Martin
12530d0cfe
Codetools: Fix testcase. Added "filemask" as long-option, so example invocations from unit TestFindDeclaration will work.
2022-03-11 16:59:30 +01:00
Martin
de1c148c6e
Codetools: Include fdfSearchInAncestors when resolving aliases, specializations or properties. "procedure SearchIdentifier" in "TFindDeclarationTool.FindBaseTypeOfNode". Fix issue #39498
...
Added test
2022-03-11 16:59:29 +01:00
mattias
947a183c9c
codetools: added boolean8, boolean16, boolean32, boolean64
2021-12-22 23:58:25 +01:00
Martin
47177f39ca
Codetools: Testcase, add a few options for upcoming tests
2021-12-04 14:20:45 +01:00
mattias
de1209eefb
codetools: started test for nested alias class
2021-12-04 08:43:25 +01:00
mattias
8f307159a6
codetools: fixed tests when no pas2js found
2021-12-03 12:05:40 +01:00
mattias
f84b6b1c5a
codetools: fixed parsing sub proc of anonymous proc
2021-11-18 22:40:39 +01:00
mattias
8fb7b558f3
codetools: test GenericsDelphi_FuncParam
...
git-svn-id: trunk@65080 -
2021-05-02 15:33:23 +00:00
pascal
246e2a5ac2
codetools: extended test (some are still failing)
...
git-svn-id: trunk@65072 -
2021-04-30 10:38:31 +00:00
pascal
7a252352cf
codetools: added new test: find declaration for generic lists and arrays with member of default array property (still fails for generic array)
...
git-svn-id: trunk@65071 -
2021-04-30 10:32:34 +00:00
pascal
d1fdd59831
codetools: fixed program name of test
...
git-svn-id: trunk@65070 -
2021-04-30 04:59:19 +00:00
pascal
88eaecc93d
codetools: added new test
...
git-svn-id: trunk@65068 -
2021-04-30 00:37:11 +00:00
mattias
4a77082939
codetools: test rename proc
...
git-svn-id: trunk@65009 -
2021-04-17 11:21:39 +00:00
pascal
cb6eb68d7e
codetools: added test TTestRefactoring.TestRenameProcReferences
...
git-svn-id: trunk@64998 -
2021-04-15 12:40:31 +00:00
pascal
052438a840
codetools: test for regression due to generic type fixes
...
git-svn-id: trunk@64980 -
2021-04-13 08:16:29 +00:00
mattias
01bf54a2cc
codetools: test RenameIdentifier
...
git-svn-id: trunk@64978 -
2021-04-12 18:49:28 +00:00
mattias
55040cc650
codetools: added test for FindDeclaration proc property
...
git-svn-id: trunk@64966 -
2021-04-11 15:49:23 +00:00
mattias
25a802c34b
codetools: fix for fpc 3.2+
...
git-svn-id: trunk@64965 -
2021-04-11 14:59:24 +00:00
mattias
ed63a0aaea
codetools: less hints
...
git-svn-id: trunk@64696 -
2021-02-28 22:12:36 +00:00
mattias
17781940eb
codetools: added tests
...
git-svn-id: trunk@64691 -
2021-02-28 21:32:43 +00:00
mattias
f7e8f4b52e
codetools: test bug #38554
...
git-svn-id: trunk@64687 -
2021-02-28 08:58:42 +00:00
pascal
31d43390f6
codetools: threadvar support for pascalparsertool. Issue #36947 , patch from Delcio Sbeghen.
...
git-svn-id: trunk@64146 -
2020-11-17 19:25:20 +00:00
pascal
da8c2d75b5
codetools: generate local var for Length() with type SizeInt
...
git-svn-id: trunk@63800 -
2020-08-21 07:43:13 +00:00
pascal
4787a58f27
codetools: fixed identifier completion in or behind empty string. Issue #26964
...
git-svn-id: trunk@63798 -
2020-08-20 11:41:33 +00:00
mattias
c85295938d
codetools: tests: less hints, test search in virtual sub dir
...
git-svn-id: trunk@63674 -
2020-08-02 16:18:21 +00:00
mattias
cefb52cf69
codetools: test add unit does not break dotted names
...
git-svn-id: trunk@63406 -
2020-06-20 16:03:16 +00:00
mattias
665ab3cba6
codetools: AddUnitToMainUsesSection using flags, test
...
git-svn-id: trunk@63404 -
2020-06-20 15:52:42 +00:00
mattias
7c7f225d4f
codetools: parse proc modifier async, built-in function await
...
git-svn-id: trunk@63192 -
2020-05-21 10:22:41 +00:00
mattias
ac6b80f0c2
codetools: fixed extract generic type param names, issue #37081 , from Pascal Riekenberg
...
git-svn-id: trunk@63181 -
2020-05-18 10:29:22 +00:00
mattias
c64cd287c5
codetools: var completion of for-var-in-genericarray, from Pascal Riekenberg, issue #37076
...
git-svn-id: trunk@63160 -
2020-05-15 09:37:49 +00:00
mattias
9083125eb6
codetools: fixed semicolon after specialize on class completion, from Pascal Riekenberg
...
git-svn-id: trunk@63159 -
2020-05-15 08:37:03 +00:00
mattias
eb33c352df
codetools: test parsing nested generic inline expression, from Pascal Riekenberg
...
git-svn-id: trunk@63149 -
2020-05-14 08:18:22 +00:00
mattias
797768a965
codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
...
git-svn-id: trunk@63136 -
2020-05-12 16:47:24 +00:00
mattias
1ba42be4c3
codetools: test varargs
...
git-svn-id: trunk@62659 -
2020-02-22 09:03:05 +00:00
mattias
6f178bc229
codetools: test varargs of type
...
git-svn-id: trunk@62654 -
2020-02-21 11:42:41 +00:00
mattias
ee86d9985c
codetools: test property; experimental; platform
...
git-svn-id: trunk@62393 -
2019-12-14 18:02:43 +00:00