Ted2Go IDE

About Monkey 2 Forums Monkey 2 Projects Ted2Go IDE

Tagged: ,

This topic contains 596 replies, has 46 voices, and was last updated by  nerobot 3 months ago.

Viewing 15 posts - 46 through 60 (of 597 total)
  • Author
    Posts
  • #5025

    nerobot
    Participant

    Thanks!:)

    I agree icons need to be replaced with more consistent ones. All of them not only toolbar.

    And thanks for the links.

    #5040

    Hezkore
    Participant

    I’m trying to setup my own theme for Ted2.
    But the colours seem to be a bit off?
    I want the background (content) to be #282C34 but if I set it to that it always turns out as #223333 in Ted2.

    To the left is the colour I want, to the right is the way it ends up in Ted2.
    Does it have to be websafe colours or something?

    #5053

    nerobot
    Participant

    @hezkore

    All you need is

    1. Do work inside of ‘monkey2/bin/ted2_windows/assets/themes/  – if you want to only add theme.
    2. Copy any existing theme into new file.
    3. Add style for TextView inside it.
    4. Add your style info into themes.json to see it inside of ted2.

    Below is resulting style with changed bgColor.

    #5062

    AdamStrange
    Participant

    In my opinion The above is everything wrong with themes! There. I’ve said it!

    22 colors, most not human readable/understandable – what does textview-color0 do? anyone?

    Don’t get me started on using a readable scheme that allows for ANY text, no checking, no help, no advice about any of the settings. This is everything a bad program should be.

    </rant mode off>

    Now. here is how it should be done:

    1. internally it can be anything in any form.
    2. externally, if it is color related then it should be done with colors
    3. there should be some form of internal color base to work from. saying SetRGB( xxx,yyy,xxdx,ggg) is not a solution, it is a hinderance. How about an actual color picker that is directly linked to the internal base color system?
    4. If it is changing UI, then present the UI. And then SHOW what the result would be. that would mean coding a proper GUI to handle all of this with inbuilt global color systems

    OK, below is at least a good example of an editor with a user editable color scheme, and also a demo color picker.

     

    Lastly. I have all the code for internal color pickers, and a lot more if you would like this to be folded into ted2go?

    #5070

    Hezkore
    Participant

    That still doesn’t work.

    content is now #282C34 and TextView backgroundColor is also #282C34 but that colour isn’t actually displayed anywhere in the editor.

    #5071

    nerobot
    Participant

    I agree – themes system is not ideal, but not bad at all.:)

    what does textview-color0 do? anyone?

    these are colors for code highlighting:

    How about an actual color picker that is directly linked to the internal base color system?

    Yes, I have it in todo – “create preferences dialog”. And colors picker will be there.

    Lastly. I have all the code for internal color pickers, and a lot more if you would like this to be folded into ted2go?

    Not for now, but I want to see your code and maybe get some parts of code. Samples looked nice!

    #5072

    nerobot
    Participant

    @hezkore  in which folder did you make changes?

    #5073

    Hezkore
    Participant

    The theme works, I’ve made one called theme-hezkore.json
    I’ve changed the font, font size, icons and most of the colours, but most of the colours are not correct.
    It’s easy to test, just make a new theme and apply this test:

    This is how the editor then looks:

    And that is colour #223333 not #282C34 as the theme says it should be.

    #5074

    nerobot
    Participant

    Try to use all colors from other theme and modify only what you want.

    There is no TextView on the screenshot . To see it you should open any code file.

    #5075

    Hezkore
    Participant

    Fine, here’s the same theme with code.
    Still the wrong colour.
    The IDE loads the colours incorrectly, becaues that is NOT #282C34, it’s colour #223333 which I have not used anywhere.

    #5076

    nerobot
    Participant

    I tried and got properly result. Hm.

    Don’t know.. but did you select your theme in ‘menu — view — themes’?

    How it’s possible…

     

    Did you try to copy/paste whole my first style example?

    #5077

    Hezkore
    Participant

    Yeah here’s a gif showing that the colours ARE applied (Red)
    But when I apply #282C34 it turns out green when it should be blue.

    #5078

    skn3
    Participant

    Been working with ted2go more today. A suggestion:

    Can auto complete lists be sorted by a combination of casing, length and distance/popularity?

    casing
    If I type Item then the list should prioritise ItemBlah over itemBlah

    length
    If i type appl then the list should prioritise apple over AppleColor

    distance/usage (not as important as casing and length)
    The list should try and sort by number popularity of keyword and also the closest recent usage of keyword. So for example if i define a Local variable, then autocomplete should favour this over variables further away in the file.

    #5085

    nerobot
    Participant

    @hezkore  themes loaded at app start, so to see your changes you must to restart ted2.

    @skn3 yes, it is in todo and I’m gonna to implement.

    #5086

    Hezkore
    Participant

    No you can still apply it (as you can clearly see in my GIF!) via selecting the same theme again.
    The red colour works, but when I apply the blue colour it turns out green.
    Theme colours are broken/bugged.
    The problem is not that my theme doesn’t work, the problem is that colours I specify ends up the wrong colour in the IDE.

Viewing 15 posts - 46 through 60 (of 597 total)

You must be logged in to reply to this topic.