Commit Graph

499 Commits

Author SHA1 Message Date
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
regs01
cb225ab6f1 Keywords in Code Completion list, when auto invoke 2022-05-03 21:59:17 +02:00
mattias
e18dd7be66 codetools: added OnGetClassUnitName 2022-04-16 09:05:50 +02:00
mattias
01bf54a2cc codetools: test RenameIdentifier
git-svn-id: trunk@64978 -
2021-04-12 18:49:28 +00:00
mattias
13450f46a2 codetools: FindReferences for unit names
git-svn-id: trunk@64931 -
2021-04-06 00:11:28 +00:00
juha
2fa9987008 IDE, Codetools: Simplify LoadAncestorDependencyHidden. Use "out" parameter when appropriate.
git-svn-id: trunk@64762 -
2021-03-07 13:24:51 +00:00
martin
06eb834614 Implement "Select code block"
git-svn-id: trunk@64672 -
2021-02-26 22:01:33 +00:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
mattias
665ab3cba6 codetools: AddUnitToMainUsesSection using flags, test
git-svn-id: trunk@63404 -
2020-06-20 15:52:42 +00:00
juha
9aaa7c7143 IDE: Disable 'Guess Misplaced IFDEF/ENDIF' feature until it gets fixed. Can be enabled by defining GuessMisplacedIfdef.
git-svn-id: trunk@62427 -
2019-12-21 08:11:26 +00:00
juha
a2c685b569 Codetools: Rename a namespaced unit correctly in project source. Issue #35803.
git-svn-id: trunk@62134 -
2019-10-27 15:46:17 +00:00
mattias
7167eb3bd1 codetools: fixed GetPascalCompilerForDirectory using same algo as TLinkScanner
git-svn-id: trunk@60592 -
2019-03-05 10:12:21 +00:00
mattias
6e9fee2984 IDE: fixed fpc version check for resources
git-svn-id: trunk@60552 -
2019-03-01 10:03:36 +00:00
mattias
70529aa22d IDE/codetools: unified compiler check, fixed testing compiler twice
git-svn-id: trunk@60551 -
2019-03-01 09:32:14 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
juha
41dc46374f LazUtils: Move string manipulation functions from LazUtilities to LazStringUtils.
git-svn-id: trunk@58634 -
2018-07-25 23:44:54 +00:00
ondrej
55dd4fef2b IDE: word completion: don't add words in place of a sub-identifier (myObject.|)
git-svn-id: trunk@58158 -
2018-06-06 20:13:29 +00:00
mattias
0aeaf2facf codetools: added AddProcModifier
git-svn-id: trunk@57914 -
2018-05-13 09:57:40 +00:00
mattias
157312616b IDE: started pas2js message parser
git-svn-id: trunk@57902 -
2018-05-11 19:59:48 +00:00
mattias
7943f543f2 codetools: use unit scopes from fpc output
git-svn-id: trunk@57844 -
2018-05-08 09:09:48 +00:00
mattias
65f9818baa IDE: parse custom compiler option -FN for default namespaces
git-svn-id: trunk@57801 -
2018-05-07 08:06:37 +00:00
mattias
0d058c9c07 codetools: renamed TFPCConfigFileStateList TPCConfigFileStateList, TFPCTargetConfigCache TPCTargetConfigCache
git-svn-id: trunk@56779 -
2017-12-18 17:03:02 +00:00
mattias
022a515783 codetools: renamed FPCDefinesCache to CompilerDefinesCache
git-svn-id: trunk@56776 -
2017-12-18 12:20:03 +00:00
mattias
f733e63de6 codetools: fixed clearing errormsg, issue #32761, from Pascal
git-svn-id: trunk@56578 -
2017-12-02 10:30:19 +00:00
mattias
ccea2a4b40 codetools: complete property: set defaults, complex type
git-svn-id: trunk@56526 -
2017-11-28 14:39:38 +00:00
mattias
c43215a213 codetools: added TCodeContextInfoItem.AsDebugString
git-svn-id: trunk@56506 -
2017-11-27 14:41:27 +00:00
mattias
87da0fc570 codetools: clean up
git-svn-id: trunk@56361 -
2017-11-11 10:07:34 +00:00
mattias
acd77c3bb0 lazutils: replaced TPASObjectWriter with TCompWriterPas
git-svn-id: trunk@56208 -
2017-10-26 14:18:13 +00:00
mattias
eee3db1cf7 codetools: GetValuesOfCaseVariable: WithTypeDefIfScoped default true
git-svn-id: trunk@56168 -
2017-10-23 11:22:39 +00:00
mattias
548fbd4852 codetools: added TFindDeclarationTool.FindClassMember
git-svn-id: trunk@55238 -
2017-06-05 13:29:16 +00:00