Commit Graph

388 Commits

Author SHA1 Message Date
mattias
90ddf0774e codetools: find references: find method overrides in other units 2025-01-29 16:08:05 +01:00
mattias
5979037e86 codetools: find references: started find method overrides 2025-01-29 16:08:05 +01:00
mattias
584fb864fa codetools: fixed FindReferences for expression inherited name 2025-01-28 18:43:56 +01:00
mattias
2706cc285c codetools: fixed method jump from objfpc generic method body to decl 2025-01-26 15:23:38 +01:00
mattias
b7aafac192 codetools: fixed class completion of objfpc generic method 2025-01-26 14:55:54 +01:00
mattias
85dd5c0743 codetools: fix xml: option to remove unopen close tags, aissist: fix xml 2025-01-24 12:29:52 +01:00
mattias
7fa47dc222 codetools: fixed modeswitch autoderef for forward pointer, issue #41353 2025-01-23 13:52:20 +01:00
mattias
b30984ef03 codetool: fixed find declaration of pointer type to type behind, issue #31320 2025-01-23 13:25:26 +01:00
mattias
e8156b8eb5 codetools: fixed resolve forward defined pointer, patch from WooBean007, issue #31230 2025-01-23 10:45:30 +01:00
mattias
1a0fb4c487 codetools: start test forward decl pointer resolve 2025-01-16 15:33:12 +01:00
mattias
c92a49b9f9 codetools: test uses vs local precedence 2025-01-13 19:50:54 +01:00
mattias
ae48e9841e codetools clean up 2025-01-02 10:22:00 +01:00
mattias
f6b5cd0a9d codetools: fixed node cache for nested proc, RenameIdentifier: do not check for conflict 2025-01-02 10:10:44 +01:00
mattias
09db774d44 codetools: moved rename test to refactoring tests 2025-01-01 19:58:33 +01:00
mattias
4e797f0590 codetools: disabled findrefs test 2025-01-01 19:28:35 +01:00
mattias
6786a53330 codetools: fixed more tests 2025-01-01 17:50:41 +01:00
mattias
d6fd8ec102 codetools: fixed crash on searching in used namespaces 2025-01-01 17:50:41 +01:00
mattias
6acd693a4b codetools: fixed jump from uses to unit 2025-01-01 15:27:12 +01:00
mattias
35910aa7d6 codetools: tests: fixed test for nodes 2025-01-01 10:15:53 +01:00
mattias
1448213e24 codetools: test for scope rule local before uses 2025-01-01 09:47:49 +01:00
mattias
be497b7252 codetools: disabled wrong preflight check for unitnames 2024-12-31 14:29:21 +01:00
mattias
f0826a35cb codetools: fixed rename nested proc, issue #23994 2024-12-29 17:51:58 +01:00
mattias
f6270da71a codetools: added test rename other nested proc 2024-12-29 17:04:30 +01:00
mattias
04f1b35255 codetools: added test rename nested proc 2024-12-29 17:02:14 +01:00
mattias
6950c5a06c codetools: fixed rename proc args 2024-12-29 16:50:39 +01:00
mattias
ed2a217e45 ide+codetools: list and rename dotted units and identifntifiers and amp identifiers, from WooBean007 2024-12-29 16:50:38 +01:00
mattias
562e9fbe7c codetools: fixed searching fpc namespaced include without extension, issue #41275 2024-12-27 11:26:50 +01:00
mattias
6f72566182 codetools: added test for advanced record completion class operator 2024-11-10 18:01:56 +01:00
Martin
35c1846863 Codetools: more tests for ampersand. 2024-09-03 15:46:06 +02:00
mattias
066e82b25d codetools: test ampersand array 2024-09-03 14:06:16 +02:00
mattias
c9e59018d2 codetools: tests: added finddeclaration of ampersand unit 2024-08-14 11:19:03 +02:00
mattias
a360ff46d2 codetools: test find ampersand identifiers 2024-08-05 17:57:27 +02:00
mattias
75483dbcd5 codetools: CompareIdentifiersCaseSensitive: check ampersands 2024-08-05 17:46:29 +02:00
mattias
d1740179af codetools: CompareDottedIdentifiersCase: check ampersands 2024-08-05 17:21:05 +02:00
mattias
0004dffe30 codetools: CompareDottedIdentifiers: check ampersands 2024-08-05 17:03:15 +02:00
mattias
df8ab730bb codetools: CompareIdentifiers: support ampersand identifiers 2024-08-03 10:20:34 +02:00
mattias
b79c366239 codetools: added test for non identifiers TestCompareIdentifiers 2024-07-30 12:20:05 +02:00
mattias
fdef402c5a codetools: added TestCompareIdentifiers 2024-07-27 22:08:58 +02:00
mattias
e1482c3582 codetools: added tests for RenameIdentifier, simplified RenameIdentifier 2024-07-27 21:36:49 +02:00
mattias
3e38d50ffa codetools: added test 2024-07-27 09:21:04 +02:00
Martin
e50183f6d1 Codetools: FindDeclaration handle nested specialize (specialize as param to outer specialize) 2024-04-14 16:59:50 +02:00
DomingoGP
a14eb97eaa Codetools: solve issue #40592 parsing sealed/abstract objects. 2024-03-03 15:52:38 +00:00
Martin
dab39f77d5 Codetools: added test 2024-02-12 01:21:40 +01:00
Martin
998b38112f CodeTools, Test: Add test for FindIdentifierReferences. 2024-02-08 18:47:02 +01:00
mattias
f0652397b9 codetools: fixed parsing record align, issue #40731 2024-01-28 20:01:35 +01:00
mattias
cd514961b0 codetools: FindClose in try finally 2024-01-15 15:18:56 +01:00
mattias
d2954c9818 codetools: searching fpc source namespaced includes, issue #40670 2023-12-30 15:29:44 +01:00
mattias
dacecb3f91 codetools: started test for namespaced units in fpc sources 2023-12-18 10:12:02 +01:00
Maxim Ganetsky
5d6a599d92 Codetools: fixed compilation of tests 2023-11-21 02:14:47 +03:00
mattias
0ac09485c6 codetools: ReadNextPascalAtom: delphi multi line string literal 2023-11-10 15:01:03 +01:00
mattias
6fac14495b codetools: linkscanner: skip delphi multi line string literal 2023-11-10 15:01:03 +01:00
mattias
3ff0868ca6 codetools: started parsing delphi 12 multiline string literals 2023-11-09 16:29:06 +01:00
mattias
e38a298110 codetools: fixed SetApplicationTitleStatement for Application as param 2023-10-08 00:19:01 +02:00
mattias
a8cde74bcf codetools: test case insensitive 2023-08-06 09:55:56 +02:00
mattias
d41a475c27 codetools: parse proc type with specialized function result 2023-08-05 11:09:53 +02:00
mattias
70c4c85414 codetools: parse attribute in proc param 2023-08-04 13:17:57 +02:00
mattias
357928192e ide: inspect chksum changed: fixed updating cache 2023-08-03 18:12:46 +02:00
Maxim Ganetsky
a26e43f773 Codetools: fixed compilation of tests after 977c3d1383 2023-07-26 01:43:44 +03:00
mattias
636cae9653 codetools: fixed tests on windows 2023-07-17 17:35:33 +02:00
mattias
c472699a81 codetools: fixed pas2js tests 2023-07-15 11:22:19 +02:00
mattias
9d18e66aa8 codetools: fixed two tests 2023-07-15 11:04:18 +02:00
mattias
0cf38f57c7 IDE: added option for global star directory excludes 2023-07-09 22:20:56 +02:00
mattias
427ba37baf codetools: tests for star directory 2023-07-09 14:03:22 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
mattias
67c1c58793 codetools: moved DateToCfgStr to LazConfigStorage 2023-06-11 21:34:37 +02:00
Juha
54086209c6 IDE, Codetools: Fix renaming non-dotted identifiers. Same function RenameIdentifier is used for dotted unit names. Issue #40195. 2023-05-25 13:02:00 +03:00
mattias
37d638661f codetools: added GatherPublishedVarTypes, CompleteComponent with optional CheckUnits 2023-04-13 15:38:12 +02:00
mattias
aee6888497 codetools: renamed CompleteComponent to AddPublishedVariables, added tests 2023-04-09 19:48:37 +02:00
mattias
a7f2330310 codetools: CheckLFM: variable type with unit name 2023-04-07 14:03:40 +02:00
mattias
7dec126e98 codetools: test wrong object unitname 2023-04-07 11:29:42 +02:00
mattias
d8a835dd17 codetools: test wrong root unitname 2023-04-07 11:29:41 +02:00
mattias
35a67fba04 codetools: started checking type unitnames 2023-04-06 12:33:47 +02:00
mattias
454f272551 codetools: fixed event assignment completion with existing @name 2023-03-31 15:36:20 +02:00
mattias
d3a9a217b2 codetools: test class completion: insert first method body 2023-03-13 05:26:41 +01:00
mattias
d0a8be0821 codetools: add test complete event assignment 2023-03-12 23:11:06 +01:00
Martin
f0901a9512 Codetools: parse specialization as function result (in function type def) Issue #38970 2023-03-10 16:56:06 +01:00
Martin
7172fd48e9 Codetools: test for Issue #28989 2023-03-10 16:27:42 +01:00
Martin
258d843914 Codetools: fix "a:=TSpcecialized.Create". When completing/declaring variables find the name of the specialized class. 2023-03-10 14:32:31 +01:00
Martin
44b14e0702 Codetool: nested (inside class) declaration of generic. Issue #37640 2023-03-09 20:21:53 +01:00
Martin
84e5a5ba02 CodeTools: fix guesstype (type for declaration) with generics. 2023-03-08 17:25:09 +01:00
Martin
89ab07a39f Codetools: Find type of generic, if specialized with build-in type (e.g. string) 2023-03-07 22:41:24 +01:00
Martin
31c8f2dadd Codetools: add testcase for issue 40145 / allow "{completion" after dot. 2023-03-07 20:10:19 +01:00
Martin
04337988d9 Codetools, tests: Add test for issue #32252 2023-03-06 16:53:27 +01:00
Martin
6fda552055 Codetools: Return generic params for found identifier / Update calling Parameters 2023-03-06 12:53:54 +01:00
Martin
19d12f194d Codetools: Prevent node caching for results in generics. 2023-03-06 11:46:29 +01:00
Martin
ddc435d313 Codetools: Match generic params with the correct specialize. In case of specialize inside of a generic params were mismatched. 2023-03-06 00:30:56 +01:00
Martin
5f053c5a52 CodeTools: test for improve FindDeclaration in nested specialized classes 2023-03-05 21:36:16 +01:00
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