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
PeaZomboss
6f8172a61a
Codetools: Allow keyword const in generic parameter list. Issue #38087 .
2022-01-18 23:51:27 +08:00
mattias
a374f1e5e6
cody: store only if modified
2022-01-17 12:43:55 +01:00
mattias
f97a493801
updated makefiles
2022-01-16 21:42:24 +01:00
Juha
3b0b5e67dd
IDE: List different processors for i8086 target. Issue #39565 .
2022-01-15 21:05:41 +02: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
Juha
a57cf215d3
Codetools: Update target processor types for x86_64.
2021-12-30 16:35:39 +02:00
mattias
947a183c9c
codetools: added boolean8, boolean16, boolean32, boolean64
2021-12-22 23:58:25 +01:00
Ondrej Pokorny
1dac8b96e8
CodeTools: don't break one-liner class definitions like "private const". Issue 39514
2021-12-13 17:46:46 +01:00
Martin
47177f39ca
Codetools: Testcase, add a few options for upcoming tests
2021-12-04 14:20:45 +01:00
mattias
de1209eefb
codetools: started test for nested alias class
2021-12-04 08:43:25 +01:00
mattias
8f307159a6
codetools: fixed tests when no pas2js found
2021-12-03 12:05:40 +01:00
Juha
c3a2bf802b
Codetools: Prevent identifier being added many times. A hack but works. Issue #37384 .
2021-11-25 15:19:54 +02:00
Juha
021deb1dee
Codetools: Formatting, cleanup.
2021-11-25 15:18:22 +02:00
Juha
2849fb27e9
Codetools: Hunt for issue #37384 .
2021-11-25 02:18:38 +02:00
mattias
3891f57067
codetools: sourcecloser: warning if something is wrong with implementation section
2021-11-18 22:40:39 +01:00
mattias
f84b6b1c5a
codetools: fixed parsing sub proc of anonymous proc
2021-11-18 22:40:39 +01:00
Juha
937b6bdfef
Codetools: Ignore empty () in function description. Generate function body correctly. Issue #39441 , patch by Domingo Galmés.
2021-10-30 23:17:29 +03:00