Commit Graph

394 Commits

Author SHA1 Message Date
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
mattias
708776f819 codetools: added SetString overloads
git-svn-id: trunk@63681 -
2020-08-03 20:53:27 +00:00
mattias
9f37792f79 codetools: added SetString overloads
git-svn-id: trunk@63679 -
2020-08-03 20:50:29 +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
ondrej
b21a3831c1 CodeTools: ofall() code macro: keep & prefixes. Issue #35801
git-svn-id: trunk@62244 -
2019-11-15 21:38:13 +00:00
ondrej
d3e927b65c CodeTools: CodeCompletion: include templates (optional). Issue #34389
git-svn-id: trunk@62240 -
2019-11-15 19:26:51 +00:00
mattias
7c75981ce8 codetools: identifier completion: added $DispatchField, $DispatchStrField for pas2js
git-svn-id: trunk@60658 -
2019-03-12 11:40:34 +00:00
mattias
5b51ac5bd6 codetools: identifier completion: fixed keywords within begin block
git-svn-id: trunk@58275 -
2018-06-14 20:47:19 +00:00
ondrej
8b29af0724 IDE: word identifier completion: gather words on filter - and search in all units
git-svn-id: trunk@58167 -
2018-06-07 14:02:43 +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
75417ff3a2 codetools: identifier completion: fixed keywords when cursor on a word
git-svn-id: trunk@58147 -
2018-06-05 21:37:41 +00:00
mattias
d36c84686d codetools: parse external class const
git-svn-id: trunk@57954 -
2018-05-18 08:04:31 +00:00
mattias
e1dcfde200 codetools: identifier completion: list pas2js default units
git-svn-id: trunk@57952 -
2018-05-18 07:31:39 +00:00
juha
58eefa59cd IDE: Rename ExtendedFilter -> ContainsFilter, GUI: 'Include identifiers containing prefix'. Issue #32974.
git-svn-id: trunk@57072 -
2018-01-13 10:04:41 +00:00
mattias
b8a4422c7f codetools: identifier completion fixed empy Prefix
git-svn-id: trunk@57038 -
2018-01-10 08:30:25 +00:00
mattias
6560513c29 codetools: identifier completion: extended: compare only once
git-svn-id: trunk@57029 -
2018-01-09 18:33:53 +00:00
mattias
7b3993f0bd codetools: identifier completion: extended: add only once
git-svn-id: trunk@57028 -
2018-01-09 18:24:19 +00:00
mattias
3581e9d7e4 codetools: fixed compile
git-svn-id: trunk@57026 -
2018-01-09 18:19:43 +00:00
juha
31d90d59f6 IDE: Extended filter for Code Completion. Issue #32974, patch from regs.
git-svn-id: trunk@57014 -
2018-01-08 17:50:59 +00:00
mattias
775c5e6b04 codetools: clean up
git-svn-id: trunk@56514 -
2017-11-27 21:30:31 +00:00
mattias
2b911c68c1 codetools: FindCodeContext of attribute params
git-svn-id: trunk@56513 -
2017-11-27 21:29:04 +00:00
mattias
c43215a213 codetools: added TCodeContextInfoItem.AsDebugString
git-svn-id: trunk@56506 -
2017-11-27 14:41:27 +00:00