nerobot

Forum Replies Created

Viewing 15 posts - 391 through 405 (of 805 total)
  • Author
    Posts
  • in reply to: Ted2Go IDE #10096

    nerobot
    Participant

    The First

    I tried to render codemap into image by textview changed only.

    You can look and try it grabbing codemap_dev branch.

    I see that this version eat more CPU when scrolling doc. Because of creation new canvas every render (or why?)

    Or maybe I took mistake somewhere?

    The Second

    Why are you looking at task manager? Please wait for a while (10 sec or more) – ide parse all modules at startup and use extra cpu for that.

    in reply to: Ted2Go IDE #10090

    nerobot
    Participant

    If we do nothing – cpu usage can be significatntly less because of SDL_WaitEvent().

    But if we just move mouse pointer – there is some extra work.

    One design concept I disagree is relayout whole app each frame. Maybe that’a a drop in the sea..

    I’ve also just experimented a bit with adding optional clip rect params to App.RequestRender

    It sounds super-cool!

    If you’ll use Min( clipRect,appClipRect ) inside of TextView to decrease rendered lines..

    So I’m waiting what do you do in the result. 🙂

    in reply to: Ted2Go IDE #10087

    nerobot
    Participant

    I always liked the Blitz help being on a tab in the IDE, rather than having to launch a separate browser and wait for the page to load, etc

    There is a Help tab near to project browser, where you can type words to find.

    CPU usage… There is a method in ted2go sources:

    which runs every time app is idle (endless “game loop” is here).

    What will happen if I comment GCCollect() ? 🙂

    in reply to: Ted2Go IDE #10070

    nerobot
    Participant

    I’m unable to create new files via the tree view.

    fixed.

    Also, searching selects found text a bit weird

    probably, there is my optimization – I don’t search again if there is the same text in ‘find’ field. Try to change text and press ‘find next’.

    in reply to: Ted2Go IDE #10064

    nerobot
    Participant

    To compare, in my home desktop ted2.exe eat 25% of cpu – whole one core of four. Two instances – 50%, etc.

    Need to optimize mojox.TextView class. Look at its rendering code – there are many things happen, split by words before render – just for visible rect , but this rect is huge for code map..

    in reply to: Ted2Go IDE #10062

    nerobot
    Participant

    I think the CodeMap needs some work next.
    It’s still pretty weird when clicking and dragging.

    I understand your concept – map should jump to the code block under cursor.

    It was harder to do than I expect, and I done ‘simple’ realization.

    And it also eats a lot of CPU!

    Did your measure it? Current version render map by one pass, should be better than v2.4.

    in reply to: Ted2Go IDE #10059

    nerobot
    Participant

    Next goal is “Fast dev” – implementing some useful actions with shortcuts following android studio – card in trello.

    in reply to: Ted2Go IDE #10054

    nerobot
    Participant

    Hey! I just finished v2.5 (trello todo list).

    What’s new shortly:

    • ! Added “Generate class” dialog – right click on any folder in Project browser.
    • ! Live templates feature – you just type short combination (like ‘prop’), press TAB and get whole code constuction (for ex. property with setter and getter).
    • Added cut / copy / paste / save buttons (save with ‘dirty’ marker) into main toolbar. Also there are all new icons (from icons8.com).
    • CodeEditor – added context menu by right click with cut / copy / paste items.

    Live (code) templates

    Them shown in completion list (you can on/off it in Preferences — Completion section).

    For example, there is ‘prop’ template which insert that code block for us:

    ${Cursor} will be repleced with real cursor marker.

    You can add your own templates right inside Preferences dialog.

    And generate whole classes by a few typed letters! 🙂

    in reply to: Ted2Go IDE #10050

    nerobot
    Participant

    Hezkore, tx!

    everything seems to scale nicely and looks sharp, except the line height in autocomplete list is not adjusted

    fixed now. 🙂

    in reply to: Ted2Go IDE #10048

    nerobot
    Participant

    Please give me or pull to the repo new images.

    in reply to: Ted2Go IDE #10044

    nerobot
    Participant

    Yeah I see it all the time, even if I change theme a few times, restart Ted2Go etc…

    Try to resave progress image.

    in reply to: Ted2Go IDE #10043

    nerobot
    Participant

    1) seems weird to have a Save All icon but not a Save icon (I don’t always want to save all) and

    added now.

    2) could it store whether or not the window is maximised when it exits? It opens up at the right size but I always have to maximise it manually!

    Do you use Win10 and start Monkey2 (Windows).exe by desktop shortcut?

    If yes – please create shortcut directly to \bin\ted2_windows\ted2.exe.

    I can’t solve that. I tried send these events:

    And even added new window flag – SDL_WINDOW_SHOWN.

    But have no effect.

    Oh, and I don’t really understand the two separate Help menu options, Browse Manuals and Online Help… they seem to go to slightly different versions of the docs pages, and I can’t tell why (or which one I should use at any give time)! Is it maybe something that’s been left in error?

    There is no error. 🙂

    Browse Manuals – opens local docs in your browser. Rebuild docs give you a fresh version of docs here (useful when grab newest version from github).

    Online Help – opens similar page but stored on the server. I don’t know what about actual state here.

    in reply to: Ted2Go IDE #10040

    nerobot
    Participant

    For some reason, all my new themes have a messed up loading bars…

    It’s strange – I can see that one time, and now it looks normally. Do you see that all the time now? If chenge theme or just at run with current theme?

    The abort button background also isn’t transparent anymore.

    Fixed now via theme’s attribute “backgroundColor”:”transparent” for StatusBarButton.

    in reply to: Ted2Go IDE #10022

    nerobot
    Participant

    Hey Nero, could you add

    done.

    Btw the clicking & crash problem is still there

    fixed.

    in reply to: Ted2Go IDE #10013

    nerobot
    Participant

    Hezkore, Please grab the latest monkey2 develop branch and update modules (especially std) – there are changes in json parser.

Viewing 15 posts - 391 through 405 (of 805 total)