Recent

Author Topic: Syntax Highlighting, Indent Lines (vertical lines) and colored classnames  (Read 5277 times)

gonz0

  • New Member
  • *
  • Posts: 15
Hello,

i spent all day trying to find the following plugins but found none  :(

In Delphi there is cnWizard that allows you to get vertical lines between begin-end if-statements loops, ect.
Is there a way to get the same for lazarus?

Also is it possible to get colored classnames like in Visual Studio?


Thanks for reading!




Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
In Delphi there is cnWizard that allows you to get vertical lines between begin-end if-statements loops, ect.
None that I know of. It does have block matching, though.
Is there a way to get the same for lazarus?
Ask CnWizard maintainer to write Lazarus compatible one or write it yourself.
Also is it possible to get colored classnames like in Visual Studio?
Possible? Yes. How? Modify the Pascal lexer (I don't think this would be enough, it will require some semantic analysis to find out whether an identifier is a class name, unless you want to color all identifiers appearing as variable's type or type name).

shobits1

  • Sr. Member
  • ****
  • Posts: 271
  • .
Quote
Also is it possible to get colored classnames like in Visual Studio?
Delphi IDE Theme Editor, should help you achieve that, it also have hundreds of predefined themes.
check out https://github.com/RRUZ/delphi-ide-theme-editor

gonz0

  • New Member
  • *
  • Posts: 15
cnWizard maintainer said they will not provide a Lazarus version :(

Delphi IDE Theme Editor isn't capable of coloring the classnames :(



marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11445
  • FPC developer.
cnWizard maintainer said they will not provide a Lazarus version :(

If the source is available, you can adapt it yourself.

gonz0

  • New Member
  • *
  • Posts: 15
It is available, however this is beyong my skills as a programmer to implement yet.

Maybe someday i am capable of writing IDE plugins, hopefully :)

 

TinyPortal © 2005-2018