Commit Graph

5424 Commits

Author SHA1 Message Date
mattias
4c53c90895 codetools: test CheckLFM: parse unitname 2023-01-18 10:00:42 +01:00
mattias
2db4892771 codetools: lfmtree: parse unitname and nested class 2023-01-17 22:41:57 +01:00
mattias
09c3e47a45 codetools: test CheckLFM child component 2023-01-17 22:41:17 +01:00
mattias
029f775a85 codetools: started testsuite for CheckLFM 2023-01-17 21:50:16 +01:00
mattias
827fe1fa19 codetools: if sizeof unicodechar 2023-01-15 13:19:52 +01:00
mattias
1b490d997c codetools: implemented $if sizeof() for some built-in types 2023-01-13 12:43:46 +01:00
mattias
6bdd3dfa3d codetools: updated ide unit paths 2023-01-09 20:41:31 +01:00
Ondrej Pokorny
cbef44b7ef CodeTools: fix attribute resolver - remove exception handling 2022-12-28 08:55:51 +01:00
Ondrej Pokorny
0f438c98fe CodeTools: fix attribute resolver 2022-12-28 02:07:17 +01:00
Juha
5719672f10 Codetools: Fix SmartHint for generic specialized types. Issue #29860. 2022-12-23 15:25:06 +02:00
mattias
2e52709c59 codetools: added ide/packages/ideconfig to srcpath of ide 2022-12-14 15:09:15 +01:00
mattias
488c7e32c1 codetools: lazarus definetemplate clean up 2022-12-09 17:19:14 +01:00
Martin
28247a829c IDE: Move LazConf.pp to new base-package "IdeConfig" 2022-12-08 19:28:19 +01:00
Martin
369e4e47a7 IDE: Add base-package "IdeConfig" 2022-12-08 01:38:41 +01:00
Martin
042ddcfe20 Fix UnicodeSpacesToASCII, After "Replace()" p is already replaced. Old code could skip codepoints or iterate past end of string. Don't replace regular space #20 with itself (nop). 2022-12-02 00:58:42 +01:00
mattias
6671244b72 updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01:00
Martin
e1dc8a96d9 Codetool: prevent recursion in ResolveBaseTypeOfIdentifier. Issue 39897
`fdfFunctionResult` will cause `FindExpressionTypeOfTerm` to `ResolveChildren` and recurse forever if the node starts with open brackets. If the cursor is not on an identifier, it should not be a function and the flag is not needed.
2022-10-26 14:58:42 +02:00
Martin
204e3d5734 CodeTools, tests: run "bug*" tests too. 2022-10-26 14:54:02 +02:00
Martin
f47e51faf4 Codetool: FindDeclaration, fix "generic array" in fdt_generics_finddeclaration.pas / Fix issue #39738 2022-10-20 21:39:46 +02:00
Martin
d488d45819 CodeTool: Improve tracking specialized generic parameters (e.g. variable class base).
Undo/Replace commits:
- 797768a965, Branch RevNo: 58874
  codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
  git-svn-id: trunk@63136 -
- 4d12a06af5, Branch RevNo: 62044
  CodeTools: Resolve generic params when searching in ancestors.
2022-10-20 13:55:54 +02:00
Martin
eea8b2cd21 IDE, Debugger, Project: Allow setting up project specific debugger backends 2022-08-28 21:00:28 +02:00
mattias
96cf3062ba codetools: lazarussrc template: added unit paths 2022-07-26 16:37:56 +02:00
Pascal Riekenberg
54aadb67fd Codetools: fixed parsing of directives with in operator + test 2022-07-06 23:32:59 +02:00
Pascal Riekenberg
d5951070d0 Codetools: Tests for: Keep empty () on code completion. Issue #39712. 2022-07-06 22:33:47 +02:00
Pascal Riekenberg
781955e856 Codetools: Keep empty () on code completion. Issue #39712, patch by Domingo Galmés. 2022-07-06 22:32:10 +02:00
Pascal Riekenberg
00fca7c4fa codetools: prevent av/error when typing '.' in array definition or float value, issue #34448 2022-06-29 21:38:45 +02:00
Maxim Ganetsky
b47cfe278d CodeTools: removed unused resource strings, regenerated translations 2022-06-25 01:47:29 +03:00
mattias
66b36cd172 codetools: fixed some tests 2022-06-17 17:35:23 +02:00
mattias
6b9fd935b2 codetools: parse underscore in decimals 2022-06-17 17:20:11 +02:00
Martin
caa6e333a2 Codetools: prevent endless loop in FindExpressionTypeOfTerm 2022-06-06 21:08:57 +02:00
mattias
9e762cde89 udpated makefiles 2022-05-29 19:34:19 +02:00
mattias
da07d07593 codetools: no error on unknown modeswitch 2022-05-29 15:54:10 +02:00
mattias
e8afecf3c7 codetools: pas2js: set fixed modeswitches 2022-05-28 19:56:51 +02:00
mattias
4e92b0a028 codetools: removed modeswitch clousers, added functionreferences and anonymousfunctions 2022-05-27 00:17:10 +02:00
Juha
d84f2a9ebd Lazbuild: Suppress verbose output when requested to be quiet. Issue #39752, patch by BugsBeGone. 2022-05-18 00:27:27 +03:00
Martin
2182681a6e Codetools: Add test for code-completion keywords 2022-05-03 21:59:18 +02: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
Martin
4d12a06af5 CodeTools: Resolve generic params when searching in ancestors. 2022-05-03 02:32:26 +02:00
Martin
599e06f718 CodeTool: Parse packed array params "procedure Foo(bar: packed array of integer)" 2022-05-02 17:44:28 +02:00
Sergey Larin
c78e9a35b8 Support UnderscoreisSeparator modeswitch.
Also ImplicitFunctionSpecialization moved to supported by FPC modeswitches.
2022-04-28 22:41:47 +03:00
mattias
34b3b9a49a IDE: paste text in pascal source: convert unicode spaces to ascii spaces 2022-04-20 23:49:41 +02:00
mattias
5d7bd18469 codetools: less debug 2022-04-16 13:08:41 +02:00
mattias
57c88852ab codetools: fixed complete event assignment keeping spaces after assign operator 2022-04-16 13:08:03 +02:00
mattias
e18dd7be66 codetools: added OnGetClassUnitName 2022-04-16 09:05:50 +02:00
Juha
ae6d20b6a4 Codetools: Add target processor names for SPARC CPU matching the names in FPC. Issue #39692. 2022-03-29 21:42:08 +03:00
Juha
9da44c1c9b Codetools: Do not crash when invoking ident completion on empty editor. Issue #39685. 2022-03-29 19:54:01 +03:00
mattias
e2ad6b3d8d codetools: parse multiline string constant 2022-03-14 16:38:07 +01:00