Commit Graph

379 Commits

Author SHA1 Message Date
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
mattias
dbf2c24c6e codetools: GetIdentStartEndAtPosition: check if within number
git-svn-id: trunk@56170 -
2017-10-23 11:48:46 +00:00
mattias
eee3db1cf7 codetools: GetValuesOfCaseVariable: WithTypeDefIfScoped default true
git-svn-id: trunk@56168 -
2017-10-23 11:22:39 +00:00
juha
8e89ff11f9 CodeTools: Don't throw an error with "(" inside a comment in front of unit. Issue #32235.
git-svn-id: trunk@56054 -
2017-10-14 16:12:50 +00:00
mattias
d315ac952d codetools: identifier completion: Delphi directives
git-svn-id: trunk@54834 -
2017-05-08 18:31:30 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
01f25f27ce codetools: debug gather unit names
git-svn-id: trunk@54671 -
2017-04-21 20:33:14 +00:00
mattias
a378409b29 codetools: added unique ids for errors
git-svn-id: trunk@54663 -
2017-04-21 18:35:53 +00:00
mattias
f10396a790 codetools: added nativeint, nativeuint for pas2js
git-svn-id: trunk@54659 -
2017-04-21 17:05:58 +00:00
mattias
5ad98a7bcf codetools: ctnReferencTo for typeinfo, code hints and type check
git-svn-id: trunk@54642 -
2017-04-19 11:49:51 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
7547019d49 codetools: identifier completion: added concat(array), insert(array)
git-svn-id: trunk@54506 -
2017-04-01 22:07:24 +00:00
mattias
52bcdebadd codetools: added compiler type pas2js
git-svn-id: trunk@54488 -
2017-03-27 20:50:08 +00:00
ondrej
bf5c8ee375 CodeTools: identifier completion: allow procedures as parameters in Delphi mode. Issue #31342
git-svn-id: trunk@54076 -
2017-02-02 14:35:23 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
ondrej
0e8a762c9f CodeTools: fix Copy and Delete compiler intrinsic parameters for FPC 3.1.0+
git-svn-id: trunk@53256 -
2016-10-28 20:37:01 +00:00