Commit Graph

415 Commits

Author SHA1 Message Date
Juha
92187c6d62 Codetools: Support OleVariant type better. Works now. Issue #41704. 2025-07-03 18:35:18 +03:00
mattias
cbefa133c9 codetools: gather identifiers: skip compilerproc 2025-06-25 14:57:32 +02:00
Juha
517925d781 Codetools: Prevent another error in identifier completion while defining a function. Issue #32972, patch by Włodzimierz Bień. 2025-03-05 13:39:52 +02:00
Juha
9dd4b6a97e Codetools: Restore filtering a completion list in TIdentifierList.Add. Issue #32972. 2025-03-04 10:19:09 +02:00
Juha
6f6df5602b Codetools: Prevent error in identifier completion while defining a function. Issue #32972, patch by Włodzimierz Bień. 2025-03-03 22:56:28 +02:00
Juha
3db5d120a5 Codetools: Revert the identifier completion change. Issue #32972. 2025-03-03 20:57:22 +02:00
Juha
5584457e13 Codetools: Prevent identifier completion while defining a function. Issue #32972, based on patch by Włodzimierz Bień. 2025-03-03 13:42:58 +02:00
mattias
5979037e86 codetools: find references: started find method overrides 2025-01-29 16:08:05 +01:00
mattias
b7aafac192 codetools: fixed class completion of objfpc generic method 2025-01-26 14:55:54 +01:00
mattias
9d425ed90b codetools: renamed TCodeTreeNodeExtension ExtTxt fields 2025-01-26 14:55:54 +01:00
mattias
35910aa7d6 codetools: tests: fixed test for nodes 2025-01-01 10:15:53 +01:00
mattias
6950c5a06c codetools: fixed rename proc args 2024-12-29 16:50:39 +01:00
mattias
ab45877d37 codetools: removed unneeded IsIdentifierDotted 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
Juha
7800ab6a1e Codetools: Call CompareIdentifiers directly instead of CompareIdentifierPtrs. 2024-09-28 10:45:12 +03:00
Martin
af5212d267 Codetools: Add a few more keywords to Ident-Completion. 2024-04-22 14:04:02 +02:00
Juha
07941a617c Codetools: Fix compilation. 2024-02-03 07:47:01 +02:00
Juha
34342f269f Revert the Codetools support of dotted names commit (issue #40596). It broke unit tests. 2024-02-03 07:34:44 +02:00
mattias
5469260518 codetools: clean up 2024-02-02 16:07:33 +01:00
Juha
593bf2d541 IDE,Codetools: Improve support of dotted unit names. Issue #40596, patch by WooBean007. 2024-01-31 11:27:54 +02:00
Martin
f813f574d4 Codetools: remove debugln, accidentally added in commit afb5e6376c 2023-12-09 21:37:02 +01:00
Martin
17e62ec5c0 IDE, Identifier-Completion: fix overloaded function in history list. Issue #40332
- Adding 2 versions of an overloaded function did not work. The overloaded params were compared with different functions.
2023-08-14 23:37:19 +02:00
Martin
afb5e6376c IDE, Identifier-Completion: fix sorting in identifier completion. Issue #40332 / Restore order-precedence for Compatibility. 2023-08-14 18:51:29 +02:00
Martin
5fbeef0e07 Codetools: IdentifierCompletion, improve "recent items"
- don't upgrade older recent based on compatibility
- prefer pre-fix matches over "mid word" (except if the user completed the original from mid-word)
2023-08-07 17:26:13 +02:00
mattias
74f240f5f3 ide: identifier completion: gather units in star dirs 2023-08-03 18:07:38 +02:00
Martin
a747d43139 Codetools: IdentifierCompletion, with "include identifier containing prefix" sort recent entries with true prefix before such "only containing" (same as for non recent items) 2023-07-24 12:19:09 +02:00
Martin
4f1297912a Ide, Codetools: IdentifierCompletion, add color for recent Items. Issue #40392 Based(Amended) on Patch by Bruno K 2023-07-21 22:47:39 +02:00
Martin
b087b9f55e Codetools: IdentifierCompletion, apply history limit to filtered list 2023-07-21 22:45:43 +02:00
Martin
8533349aba Codetools: IdentifierCompletion, fix freeing correct item if History.Capacity is reached. Issue #40354 2023-07-17 21:33:12 +02:00
Martin
9146a986b4 Codetools: Identifier completion, improve/fix limit for recent history items shown. issue #40332
- take into account that some items in history may not be in the current unfiltered items, and that "HistoryIndex" may have gaps
2023-07-17 21:33:12 +02:00
Martin
e7c438c50b Codetools: Identifier completion, add limit for recent history items shown. issue #40332 Patch by WooBean007 2023-07-17 21:33:12 +02:00
Martin
c32f97c6c8 Codetools: Identifier completion, don't use CompareIdentifiers for ParamList. ParamList contains symbols ";()". Found in issue #40332 2023-07-17 21:33:11 +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
Martin
ed410cb98c Codetools: fix TIdentifierHistoryList.Add
- If an existing item moves to the front (to HistoryIndex=0) then all Indexes between 0 and the old value need updating (the old value became unused, so items above do not need an update).
- If an new item is inserted, all existing items need to be increased.
2023-06-28 19:30:45 +02:00
Martin
de3a85ac41 Codetools: order Identifier completion by declaration (scoped). Part of issue #40332 (Based on) Patch by WooBean007 2023-06-24 12:37:56 +02:00
Juha
db2bca3949 Support compiling more of Lazarus + its components with -Sy option. 2023-05-21 01:32:42 +03:00
Martin
3e2872c0f7 CodeTools: remove circular ref for "keywords in code completion" 2022-05-03 21:59:18 +02:00
Martin
396d171d16 Refining the conditions when some of the keywords will be added. 2022-05-03 21:59:17 +02:00
regs01
dcf91fa0b6 Include keywords option 2022-05-03 21:59:17 +02:00
regs01
cb225ab6f1 Keywords in Code Completion list, when auto invoke 2022-05-03 21:59:17 +02:00
Juha
9da44c1c9b Codetools: Do not crash when invoking ident completion on empty editor. Issue #39685. 2022-03-29 19:54:01 +03:00
Martin
9007567a5e Codetools: Fix compilation of IFDEFed code. 2022-03-11 16:59:30 +01:00
Sergey Larin
1a49e68465 Updated the list of intrinsic functions: IsManagedType, IsConstValue 2022-02-19 12:46:48 +03:00
Juha
42e38ce991 Revert the assignment ':=' commit. It is useless without the parameter list and fails to work always. Issue #39545. 2022-01-14 13:13:23 +02:00
Juha
2fbce3f5e6 Codetools: Feed UpperKeyword param in PascalReaderTool.PropertyHasSpecifier with uppercase strings. 2022-01-12 17:08:40 +02:00
Juha
86c5fa6b45 IDE: Do not add assignment ':=' after a variable of procedure type. Issue #39545. 2022-01-12 17:08:40 +02:00
mattias
947a183c9c codetools: added boolean8, boolean16, boolean32, boolean64 2021-12-22 23:58:25 +01:00
mattias
9e19eed0b3 codetools: added intrinsic GetTypeKind
git-svn-id: trunk@63832 -
2020-08-26 19:09:33 +00:00
pascal
7fefade33f codetools: changed some types of fpc intrinsics from Integer to SizeInt
git-svn-id: trunk@63799 -
2020-08-21 06:40:19 +00:00
mattias
ec9a94e00b codetools: added SetString overloads
git-svn-id: trunk@63683 -
2020-08-03 20:55:53 +00:00