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
Martin
12530d0cfe
Codetools: Fix testcase. Added "filemask" as long-option, so example invocations from unit TestFindDeclaration will work.
2022-03-11 16:59:30 +01:00
Martin
9007567a5e
Codetools: Fix compilation of IFDEFed code.
2022-03-11 16:59:30 +01:00
Martin
de1c148c6e
Codetools: Include fdfSearchInAncestors when resolving aliases, specializations or properties. "procedure SearchIdentifier" in "TFindDeclarationTool.FindBaseTypeOfNode". Fix issue #39498
...
Added test
2022-03-11 16:59:29 +01:00
Martin
0e3c87e83d
Codetools: Fix setting "SubParams.Flags" in SearchIdentifier nested in TFindDeclarationTool.FindBaseTypeOfNode.
...
- "SubParams.Flags" originally copied flags from the outer search (masked with fdfGlobals).
- Before fa76ed282c "SubParams" was named"Params"
- In 2cbc2f4f5a the code was refactored into a subroutine. "Params" became a new local var (with a newly created instance). So "... +(fdfGlobals*Params.Flags);" no longer copied the existing flags.
2022-03-11 16:59:29 +01:00
mattias
4030fcc52c
codetools: fixed TSourceLog.Replace
2022-03-09 10:02:26 +01:00
Juha Manninen
62db64ddb8
Merge branch 'codetools-internproc-add' into 'main'
...
Internproc processing added to CodeTools when modeswitch PrefixedAttributes
See merge request freepascal.org/lazarus/lazarus!73
2022-02-24 13:17:09 +00:00
Juha Manninen
0cec6db9e6
Merge branch 'noinline-noreturn' into 'main'
...
Updated supported procedure modifiers: noinline, noreturn
See merge request freepascal.org/lazarus/lazarus!72
2022-02-24 12:43:06 +00:00
mattias
26c9421318
updated Makefiles
2022-02-24 12:55:45 +01:00
Sergey Larin
ef53a0ca6e
Internproc processing added to CodeTools when modeswitch PrefixedAttributes.
...
Implemented by analogy with `alias:'name1'` processing.
2022-02-19 14:51:03 +03:00
Sergey Larin
abf2576e8d
Updated supported procedure modifiers: noinline, noreturn
2022-02-19 13:16:20 +03:00
Sergey Larin
1a49e68465
Updated the list of intrinsic functions: IsManagedType, IsConstValue
2022-02-19 12:46:48 +03:00
mattias
451ba64bde
codetools: added pas2js platforms electorn and module
2022-02-05 16:18:30 +01:00
mattias
8a8bee71f8
codetools: added unitsearch path for ide to debugger
2022-01-30 19:14:45 +01:00
mattias
6183eb288d
codetools: clean up
2022-01-26 13:30:42 +01:00
Marcus Sackrow
b22acaab2e
codetools: include defines for Amiga-style systems
2022-01-25 18:37:20 +01:00
Juha
dfa66431c4
Codetools: Complete code correctly for "procedure xxx; forward;". Issue #39510 , patch by Domingo Galmés.
2022-01-23 12:10:21 +02:00