Commit Graph

530 Commits

Author SHA1 Message Date
mattias
d927aa92cb ide: find used unit: search in virtual units 2025-03-16 15:18:58 +01:00
mattias
b09fddb930 ide: comment, codetools: FindSourceNameReferences: search virtual files 2025-03-16 13:45:16 +01:00
Juha
017be98e2f Codetoola: Simplify TCodeToolManager.FindLFMFileName. 2025-03-11 16:23:38 +02:00
mattias
bad8e07ea8 ide: rename identfier for file: using RenameUnit keeping source editor, renaming lfm 2025-02-14 15:31:17 +01:00
mattias
8726dd48e7 ide: find/rename identifier: allow conflict and check if FNode is valid 2025-02-11 16:17:22 +01:00
mattias
87d27af233 ide: save file as: check for pascal keyword in unit name and suggest retry or ampersand 2025-02-10 16:04:05 +01:00
mattias
995c81f4d0 codetools: added IdentifierHasKeywords 2025-02-10 15:31:48 +01:00
mattias
e49854f895 codetools: RenameSource now also updates references in the unit, ide: SaveAs uses FindRenameSourceReferences 2025-02-07 11:26:36 +01:00
mattias
985bbdbf7f ide: find/rename identifier use for source name the new codetools methods 2025-02-07 10:07:55 +01:00
mattias
287832a0e8 codetools: FindSourceNameReferences: elimnate duplicates 2025-02-06 10:24:42 +01:00
mattias
116b91b184 codetools: directorycache: invalidate directory when a codebuffer is marked deleted 2025-02-04 16:45:03 +01:00
mattias
e5c09ba479 codetools: rename source name references: keep omitted namespace 2025-02-04 15:40:25 +01:00
mattias
a8004c0845 codetools: started Find- and RenameSourceNameReferences 2025-02-04 15:40:25 +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
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
f4094028d4 codetools: clean up and simplified 2024-12-31 11:39:21 +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
f9c4b5d7d1 Replace deprecated LazIsValidIdent with IsValidIdent. 2024-09-29 02:21:32 +03: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
e1482c3582 codetools: added tests for RenameIdentifier, simplified RenameIdentifier 2024-07-27 21:36:49 +02:00
mattias
00f3d3b397 codetools: added tree of PCodeToolPos 2024-07-27 09:21:04 +02:00
mattias
32c250f997 codetools: fixed searching include file in fpc.cfg paths, issue #39872 2024-06-18 17:08:20 +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
Juha
593bf2d541 IDE,Codetools: Improve support of dotted unit names. Issue #40596, patch by WooBean007. 2024-01-31 11:27:54 +02:00
mattias
d2954c9818 codetools: searching fpc source namespaced includes, issue #40670 2023-12-30 15:29:44 +01:00
mattias
c9aa80149c ide+codetools: fpc config cache: support working directory and @ param, fixed #40603 2023-11-20 16:40:52 +01:00
mattias
68920c7d01 ide+codetools: less hints 2023-08-03 18:07:54 +02:00
mattias
62657fbfd4 ide: fixed SubTarget to Subtarget 2023-07-26 13:36:16 +01:00
mattias
977c3d1383 ide+codetools: added fpc subtarget to caches 2023-07-25 16:52:59 +01: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
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
74446557f6 Remove old deprecated functions and units. 2023-06-15 02:35:52 +03:00
mattias
d939016d4e codetools: TLinkScanner: search inc file in fpc cfg of current set 2023-06-09 16:51:10 +02:00
mattias
13323a7e32 codetoolsL TLinkScanenr: using TSourceLog 2023-06-09 16:15:46 +02:00
mattias
82af78d8bb codetools: clean up 2023-06-08 13:48:16 +02:00
mattias
c41663daa6 codetools: fixed searching include file first in incpath, then in fpc src, then relative to inc file 2023-06-07 23:25:17 +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
Juha
2a16d0338e Codetools: Improve renaming dotted unit names. Issue #40195. 2023-05-16 02:47:07 +03:00
mattias
b1ed01fde8 IDE: extended Change Class for ambiguous component classes 2023-04-18 22:25:21 +02:00
mattias
16eea4aacd IDE: loadlfm: check for ambiguous classes, heuristics to resolve ambiguous classes 2023-04-13 15:38:12 +02: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
Martin
3e2872c0f7 CodeTools: remove circular ref for "keywords in code completion" 2022-05-03 21:59:18 +02:00
regs01
dcf91fa0b6 Include keywords option 2022-05-03 21:59:17 +02:00