Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-09

[FEATURE REQUEST] Check syntax on the fly

5 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Алексей Мухин

Hello,
I'm wondering about checking syntax on the fly in Lazarus, at least like in Visual Studio. Whether it will be implemented?
I wrote a small package that finds simplest errors like 'missing keyword'. It uses CodeTools and I think, it will work quite slowly on big files.

It can be found here:
https://github.com/USKamicadze/lazarus-check-syntax-on-the-fly.

It'll be nice, if Lazarus will be able to check source code on the fly and don't causing stop of the whole system while typing. It's a quite difficult feature, may be because of TCodeBuffer or CodeTools. But if you share your opinion or direct me in the right way, I could try write it by myself.

Alexey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140922/5097c6bf/attachment.html>

Reply by email

leledumbo
to Алексей Мухин
But if you share your opinion or direct me in the right way, I could try

write it by myself.

Feel free to write one, but IMO it's not a good idea to integrate it (or worse: having it installed and turned on by default) with the IDE. My primary reason is regarding speed. Features like this could eat cpu cycle in the middle of coding, thus decreasing IDE's responsiveness. Second, calling the compiler is fast. Only first call will be a bit slow due to loading of required units to RAM. After that, it runs in milliseconds.

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FEATURE-REQUEST-Check-syntax-on-the-fly-tp4038627p4038629.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Kostas Michalopoulos
to leledumbo

I agree with leledumbo, i really dislike that "feature" in modern IDEs which all it does is slow down the editor and make random pauses.

leledumbo wrote 24 lines
> But if you share your opinion or direct me in the right way, I could try write it by myself. Feel free to write one, but IMO it's not a good idea to integrate it (or worse: having it installed and turned on by default) with the IDE. My primary reason is regarding speed. Features like this could eat cpu cycle in the middle of coding, thus decreasing IDE's responsiveness. Second, calling the compiler is fast. Only first call will be a bit slow due to loading of required units to RAM. After that, it runs in milliseconds. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FEATURE-REQUEST-Check-syntax-on-the-fly-tp4038627p4038629.html Sent from the Free Pascal - Lazarus mailing list . -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140922/115e4eed/attachment.html>

Reply by email

Richard Mace
to Kostas Michalopoulos

I also agree with leledumbo. A ctrl-F9 is so quick, it's nearly automatic for me anyway :)

Richard

Kostas Michalopoulos wrote 40 lines
I agree with leledumbo, i really dislike that "feature" in modern IDEs which all it does is slow down the editor and make random pauses. On Mon, Sep 22, 2014 at 5:55 PM, leledumbo wrote: > > But if you share your opinion or direct me in the right way, I could try > write it by myself. > > Feel free to write one, but IMO it's not a good idea to integrate it (or > worse: having it installed and turned on by default) with the IDE. My > primary reason is regarding speed. Features like this could eat cpu cycle > in > the middle of coding, thus decreasing IDE's responsiveness. Second, > calling > the compiler is fast. Only first call will be a bit slow due to loading of > required units to RAM. After that, it runs in milliseconds. > > > > -- > View this message in context: > http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FEATURE-REQUEST-Check-syntax-on-the-fly-tp4038627p4038629.html > Sent from the Free Pascal - Lazarus mailing list . > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140922/9d481ef1/attachment.html>

Reply by email

Václav Valíček
to Richard Mace

+1, I "love" when Netbeans or anything similar lags all the time and consumes my battery x times faster than lazarus...

V?clav Val??eki

Dne 22.9.2014 v 21:19 Richard Mace napsal(a):

Show quoted text 63 lines
I also agree with leledumbo. A ctrl-F9 is so quick, it's nearly automatic for me anyway :) Richard On 22 September 2014 18:02, Kostas Michalopoulos < <mailto:>> wrote: I agree with leledumbo, i really dislike that "feature" in modern IDEs which all it does is slow down the editor and make random pauses. On Mon, Sep 22, 2014 at 5:55 PM, leledumbo < <mailto:>> wrote: > But if you share your opinion or direct me in the right way, I could try write it by myself. Feel free to write one, but IMO it's not a good idea to integrate it (or worse: having it installed and turned on by default) with the IDE. My primary reason is regarding speed. Features like this could eat cpu cycle in the middle of coding, thus decreasing IDE's responsiveness. Second, calling the compiler is fast. Only first call will be a bit slow due to loading of required units to RAM. After that, it runs in milliseconds. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FEATURE-REQUEST-Check-syntax-on-the-fly-tp4038627p4038629.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- _______________________________________________ Lazarus mailing list <mailto:> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list <mailto:> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140922/6f90a6ba/attachment-0001.html>

Reply by email