Recent

Author Topic: Code error checking  (Read 572 times)

systemgvp

  • New Member
  • *
  • Posts: 28
Code error checking
« on: May 20, 2019, 08:16:32 pm »
I'm moving from Delphi to Lazarus. Is it possible to have continuous control of code errors like in Delphi without having to constantly compile the code?

howardpc

  • Hero Member
  • *****
  • Posts: 3102
Re: Code error checking
« Reply #1 on: May 20, 2019, 08:35:47 pm »
I am not familiar with recent Delphi IDE hand-holding, so I'm not sure what  "continuous control of code errors" looks like.

However, in Lazarus, Run->Quick Compile (which you can assign to a shortcut or toolbutton) gives immediate feedback, with red squiggly lines under offending bits of code, and corresponding warnings, errors etc. in the Messages window.

systemgvp

  • New Member
  • *
  • Posts: 28
Re: Code error checking
« Reply #2 on: May 21, 2019, 11:55:07 am »
No, same also to Android Studio and other. If you write something wrong he signals it with a red underline (example).

valdir.marcos

  • Hero Member
  • *****
  • Posts: 809
Re: Code error checking
« Reply #3 on: May 21, 2019, 05:52:55 pm »
I'm moving from Delphi to Lazarus. Is it possible to have continuous control of code errors like in Delphi without having to constantly compile the code?
No, not so far.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 809
Re: Code error checking
« Reply #4 on: May 21, 2019, 06:01:47 pm »
I am not familiar with recent Delphi IDE hand-holding, so I'm not sure what  "continuous control of code errors" looks like.
This feature is not new. See the video below from 2009 about RAD Studio 2010.
Pay attention when typing code to the fast red curl underline from 0:49 on:

Debug Visualizer in RAD Studio 2010
Embarcadero Technologies
Published in 28 december 2009
https://www.youtube.com/watch?v=qGE8WQQoKho

Quote
However, in Lazarus, Run->Quick Compile (which you can assign to a shortcut or toolbutton) gives immediate feedback, with red squiggly lines under offending bits of code, and corresponding warnings, errors etc. in the Messages window.

systemgvp

  • New Member
  • *
  • Posts: 28
Re: Code error checking
« Reply #5 on: May 23, 2019, 09:58:53 am »
Yes, some "valdir.marcos" user

systemgvp

  • New Member
  • *
  • Posts: 28
Re: Code error checking
« Reply #6 on: June 04, 2019, 03:08:29 pm »
I search this. This is not past compile, but is a runtime