Hello guys


Hello guys,

I have changed the text editor theme in Visual Studio and RAD Studio (via Delphi IDE Theme Editor), I searched for some themes on https://studiostyl.es/ and found SweetCode (https://studiostyl.es/schemes/sweetcode) a pretty nice theme :D

In Visual Studio it looks nice but in RAD Studio it loses its luster :(
I would love to be able to colorize:
- Type
- Base types
- Global functions
- Enums
Types could have 2 different ways to color: one for type declaration and another for type usage (in case of accessing static members).

In a different way to make things more clear when typing the code.

Thanks in advance :D

Comments

  1. Delphi IDE Theme editor will let you do that and more download it from here and don't forget to hit star :D

    https://github.com/RRUZ/delphi-ide-theme-editor

    ReplyDelete
  2. When did code with curly braces look nice?

    ReplyDelete
  3. What you are looking for is semantic highlighting. That will not be available for Delphi without the existence of a fast and correct symbol resolution that even cares about editing. Stefan Glienke asked about our opinion on semantic highlighting back in May https://plus.google.com/+StefanGlienke/posts/S3YWdS9BYhv

    ReplyDelete
  4. I use a very similar color scheme in emacs called plan 9

    ReplyDelete
  5. Uwe Schuster I am not sure he is asking for semantic highlighting. VS does not do that but highlights types in a different color with already makes a big difference.
    Semantic highlighting groups the same symbol by giving it the same color withing a scope. Former could be done in Delphi I think because the type informations are there.

    ReplyDelete
  6. Stefan Glienke Offering the same as Visual Studio does is enough to me :D Thanks for the clarifications :D

    ReplyDelete
  7. Stefan Glienke I do not think that Delphi provides fast and reliable the information that are required for the semantic highlighting from the blog post you did refer to.

    So whatever semantic related color scheme someone wants - first at least 95 percent of the work needs to be put into fast and correct symbol resolution that even cares about editing. This is what a modern compiler infrastucture has and VS has with Roslyn.

    Once one can resolve a symbol it is easy to assign the color. One could give intrinsics a different color than symbols from the RTL and can give each library (e.g. JCL) another color if someone prefers that.

    ReplyDelete
  8. Given the fact that `message` is bolded virtually everywhere, getting the highlighting you want anything near-right will be a tremendous undertaking.

    ReplyDelete

Post a Comment