View Issue Details

IDProjectCategoryView StatusLast Update
0024400Lazarus-public2021-05-13 16:23
ReporterJohn Shand Assigned ToBart Broersma  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionwon't fix 
Platformlinux x86_64OSopensuse 
Product Version1.1 (SVN) 
Summary0024400: Code completion tool should check everything as you type!
DescriptionThis feature would be very helpful because it will tell you if what you are typing is wrong and doesn't fit within any procedure call or variable. this would also check whether or not if a procedure or variable exists and give you options for a possible fix.

Thanks guys. Let me know if you need more info
Steps To ReproduceNA
Additional InformationFPC Version:

Working Copy Root Path: /home/jshand/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_2_6
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 24465
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 24270
Last Changed Date: 2013-04-20 02:31:15 +1200 (Sat, 20 Apr 2013)

Lazarus Version:

Working Copy Root Path: /home/jshand/lazarus
URL: http://svn.freepascal.org/svn/lazarus/trunk
Repository Root: http://svn.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 41061
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 41061
Last Changed Date: 2013-05-08 05:00:02 +1200 (Wed, 08 May 2013)
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetGTK 2
Attached Files

Activities

Mattias Gaertner

2013-05-08 00:32

manager   ~0067554

Do you mean the IDE should compile after every typing and show the errors and warnings?

John Shand

2013-05-08 04:02

reporter   ~0067558

The only thing i know about compiling is when you press the start or play button, as it seems to compile and write the executable in project file.

if what you mean by compiling the code with every keystroke, then you are on the right track. however, if that was to happen, i do realize it would use high processing. however, it can be limited to a word. hope i haven't confused you.

thanks again

Juha Manninen

2013-05-08 07:13

developer   ~0067563

> Let me know if you need more info

How to implement it? Can you please provide a patch?

John Shand

2013-05-08 08:12

reporter   ~0067568

I don't have that kind of knowledge unfortunately. i have no idea how sourceeditor.pp or code tools are set up.

Sven Barth

2013-05-08 11:50

manager   ~0067576

@Mattias: I think what the reporter wants is something like what newer Delphi versions do as well. E.g. underline a function, variable or property that does not exist with a red line (like Word does). Of course using the compiler for this is not a good idea, so CodeTools should be used for this (which of course could be unreliable...).

Regards,
Sven

John Shand

2013-05-08 21:02

reporter   ~0067593

yes that would be brilliant.

thanks guys

Bart Broersma

2021-04-08 17:02

developer   ~0130180

Seems that in the last 8 years nobody wanted to implement this.
Resolve as "won't fix"?

Issue History

Date Modified Username Field Change
2013-05-07 21:20 John Shand New Issue
2013-05-08 00:32 Mattias Gaertner Note Added: 0067554
2013-05-08 04:02 John Shand Note Added: 0067558
2013-05-08 07:13 Juha Manninen Note Added: 0067563
2013-05-08 08:12 John Shand Note Added: 0067568
2013-05-08 11:50 Sven Barth Note Added: 0067576
2013-05-08 21:02 John Shand Note Added: 0067593
2021-04-08 17:02 Bart Broersma Note Added: 0130180
2021-05-13 16:23 Bart Broersma Assigned To => Bart Broersma
2021-05-13 16:23 Bart Broersma Status new => resolved
2021-05-13 16:23 Bart Broersma Resolution open => won't fix
2021-05-13 16:23 Bart Broersma LazTarget => -
2021-05-13 16:23 Bart Broersma Widgetset GTK 2 => GTK 2