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 - 466 through 480 (of 597 total)
  • Author
    Posts
  • #10816

    Diffrenzy
    Keymaster

    this version crashes on MacOS after a few minutes, not sure why yet.

    #10817

    nerobot
    Participant

    @difference

    To catch crash you can build&run ted2go in debug mode from ted2go, and use running version for your usual coding.

    #10846

    Ethernaut
    Participant

    Definitely crashing within a few seconds on MacOS. Seems to be related to the error hilighting since it happens as soon as I hover the error red line in the document.

    I launched a debug build from the command line and got this (I removed any file paths in the error):

    Attempt to invoke method on null instance
    {{!DEBUG!}}
    >?????:Void();/home/ … /Ted2Go/view/HintView.monkey2;33;533590191
    >?????:Void();/home/… /monkey2/modules/std/time/timer.monkey2;38;530998829
    period:Double=0.55555555555555558
    timeout:Double=200.16928584955556
    now:Double=200.17998897400003
    sleep:Double=-0.010703124444461309

    #10848

    cocon
    Participant

    nerobot said:
    Similar feature is right inside of Ted2Go IDE [to clean the buildv directories]
    It works if you have a .buildv right inside project folder. So you can’t clean modules inside of ‘monkey2’ project. I can add recursive search if needed.

    MojoX Build Cleaner Utility

    It seems that once a directory is imported as a Project the command can be triggered from right click context menu in the Project tab. It does the trick however perhaps there could be room for improvement.

    a) It seems by GUI design the functionality is related to the right click context menu. This will allow me to import first the directory and then trigger the clean command (I will assume recursive search exists). Perhaps there could be also another alternative way to use the tool in a more project-independent way.

    b) Having a recursive function might be useful. For example I might open a massive directory that contains many monkey2 projects.

    c) If you are interested to attach this utility in the IDE feel free to do so, if you find it good. Perhaps by throwing an entry in the main menu, it will show this GUI to be used accordingly, alternatively activating the project clean command from the Project tab might still present this GUI but initialized with the appropriate values.

    d) A note to myself I might consider later on to add the option to include .project directories or not as well in the deletion process.

    No need to respond to this message, do anything you like. 🙂

    #10853

    nerobot
    Participant

    Seems to be related to the error hilighting since it happens as soon as I hover the error red line in the document.

    Fixed now.

    No need to respond to this message, do anything you like.

    Thanks.

    Fix in completion
    Current version (on itch.io) have bug – modules don’t parsed and you can see insufficient completion list.

    Now it fixed in repository.

    #10854

    Ethernaut
    Participant

    Tested the latest dev branch for a few minutes, crash seems fixed now. Thanks!

    #10857

    nerobot
    Participant

    A few words about my development.

    Updated version numeration

    Now I name current dev version with ‘a’ postfix (alpha) – like v2.7a.

    And will remove postfix when ready to release.

    Started to improving parser / completer

    Now completion can understand namespaces!

    Just type filesystem. (with dot) and see what happen. Namespaces are filtered by ‘using’ directives, to see filesystem you should to ‘using’ it (via Using std.. for example).

    Also completion works inside of ‘Using root.sub1.sub2’ section.

    In new version I pass into parser new data about document – docLineStr and docPosInLine. They help to understand where we are.

    More improvements are coming.

    Look at all new stuff in dev-branch.

    #10924

    Diffrenzy
    Keymaster

    I can reproduce MacOS crash in Itch version of MX2 1.107 , by opening modules/mojo/graphics/texture.monkey2

    #10925

    nerobot
    Participant

    Can you build v2.6 from sources?

    https://github.com/engor/Ted2Go/releases/tag/v2.6

    #10954

    Diffrenzy
    Keymaster

    I’ve rebuilt from https://github.com/engor/Ted2Go master, so far no Mac crash. 🙂

    #11002

    nerobot
    Participant

    There was a bug in process reader which raised an app crash.

    You can catch it working with huge files (about 2000+ lines).

    Good news – it fixed now in dev branch!

    Thanks to Mark Sibly for help fixing that.

     

    PS. I found, that “Goto declaration” works better if you are using namespaces for your code.

    For example, in PromptInvasion banana, if you try to go to Entity declaration, you will jump to mojo3d.graphics.Entity class. But if you specify “Namespace inv ; Using inv..” then you will jump to Entity class inside of invasion project.

    #11015

    nerobot
    Participant

    I just uploaded new binaries v2.7a at https://nerobot.itch.io/ted2go

    • Fixes in parser.

    It’s an ‘alpha’, but it should be more stable than v2.6.

    #11043

    nerobot
    Participant

    Improved keywords capitalizer.

    Now, if you were typing chars and then jump to another text line – by mouse click or up / down / left / right keys – formatter will try to fix all words in line, not just word-under-cursor.

    Also disabled autocompletion inside of commented blocks (rem / end). If it was useful for anybody – please let me know.

    And version bumped to v2.7.

    #11052

    regulark
    Participant

    I’ve been using Ted2Go for a few weeks now and enjoying it. Thank you for the work nerobot!

     

    Does anyone else experience the IDE throttling CPU? Right now it’s at 98% CPU on my MacBook Air early-2014, and it regularly idles around 15% CPU on my desktop Windows 10.

    #11053

    nerobot
    Participant

    I’ve been using Ted2Go for a few weeks now and enjoying it. Thank you for the work nerobot!

    Glad to hear! 🙂

Viewing 15 posts - 466 through 480 (of 597 total)

You must be logged in to reply to this topic.