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 - 121 through 135 (of 597 total)
  • Author
    Posts
  • #6448

    nerobot
    Participant

    @xaron   There is save:Action inside of /src/ted2go/fileactions.monkey2, and we have simple setup for hothey that call method OnSave. Try to inspect this.

    #6449

    Xaron
    Participant

    Thanks! Will do that! Is there an easy way to print something to the console inside ted, so I could just output some stuff there? Might be obvious but simple “Print” did not do it down there…

     

    edit: BTW: OnSave() is not called (only via menu)

    #6455

    nerobot
    Participant

    ‘Print’ should work in debug mode. I always use it when debugging.

    #6456

    Xaron
    Participant

    Ah well, but how do I start Ted from Ted itself? It just complains that the working directory is not set so I guess I have to compile it within its original folder structure?

    #6457

    Xaron
    Participant

    Ok I had it once. Was able to compile and start Ted from within Ted but now it doesn’t start anymore. When pressing Build&Run it compiles and the output just says:

    ***** Building app ‘D:/Programme/Monkey2-v1.1.02/src/ted2go/ted2.monkey2’ *****

    Parsing…
    Semanting…
    Translating…
    Compiling…
    Linking D:/Programme/Monkey2-v1.1.02/src/ted2go/ted2.products/Windows/Ted2.exe…
    Application built:D:/Programme/Monkey2-v1.1.02/src/ted2go/ted2.products/Windows/Ted2.exe

    Done.

     

    It simply doesn’t start anymore. Haven’t changed anything yet, cleared build folders, no effect.

    I’m giving up now. Looks like I have to use Notepad++ till ziggy comes up with Jungle for Monkey 2.

     

    That’s nothing against your efforts, dear nerobot, I really appreciate what you’ve done, but I need a IDE I can work with. 😉 Ted 1 was awful, Ted 2 doesn’t work at all for me, probably the problem is my computer, dunno why and how. I’ve disabled everything including virus scanners but no change.

    Edit: Completely forgot about Mollusk. So if anyone has trouble with Ted, there’s another IDE: http://grudlux.com/mollusk/

    #6460

    nerobot
    Participant

    1. You should run D:/Programme/Monkey2-v1.1.02/bin/ted2_windows/ted2.exe and open sources of ted2go – ted2.monkey2 as main ‘locked’ file. If you run from products – compiler can’t ovirwrite ted2.exe because you it is currently running.

    2. If ted2go stop launching – open your windows task manager and kill all [mx2_…..] processes and try again.

    3. Let’s find the problem. Ask any help from me.

    #6482

    Xaron
    Participant

    Thanks nerobot, will try that! You’re very kind and sorry when I was a bit too harsh.

    #6529

    nerobot
    Participant

    New stuff !

    • Added status bar:
      • quick help
      • line number info
      • building progress bar
      • insert / override mode marker
    • Building dialog moved into status bar. Also there is a cancellation button.
    • More accurately keywords detection for F1-help.  [*]
    • Showing quick help in status bar. Also there is a description of user’s code members, not only modules members.

    See screenshots.

    [*]  – more accurately help will be available after Mark update mx2cc.
    In previous version if we press F1 on word ‘String’ we’ll see help for chipmunk.cpVersionString – incorrect.
    In new version we’ll see help for monkey.types.String – correct!

    #6533

    Jesse
    Participant

    Hey Nerobot, thank you for your hard work and your efforts with this IDE. It has really been useful to me and great help. I don’t know if you are getting donations from the download page but you really should be. it is great work you are doing. you should do something like what Mark is doing for Monkey2, sell the precompiled latest update to whoever donates and give it to whoever have donated :). Keep the public code one or two steps behind. Just a suggestion. sometimes people need some sort of motivation. I wish this website allowed signatures that way you could add a donation button to your signature.

    #6542

    nerobot
    Participant

    @jesse thanks. 🙂 I got few donations, less than expect, heh, but I want to make this app better. Until my interest is go away.

    Unfortunately I can make windows binaries only to ‘sale’. Don’t know how many windows users is here.

    So I just make my name more famous.

    #6545

    Danilo
    Participant

    Hello @nerobot,

    I just installed MX2 and ted2go directly from github, and I got some issues/questions.

    1.) Menu “Help/Browse Manuals” does nothing here. How can I open the help system for reading (language reference)?

    2.) Menu “Help/Online help” opens http://monkey2.monkey-x.com/modules-reference/ in the default browser. This page does not exist: “Sorry, but I can’t find that page!”

    3.) The module manager does not work. Menu “Build/Module Manager”: I can select the modules for installation (pyro, timelineFX, portmidi), but all .zip files can’t be found!
    – Error downloading file ‘portmidi-v0.0.2.zip’
    – Error downloading file ‘timelinefx-v1.0.0.zip’
    – Error downloading file ‘pyro-framework-v1.0.1.zip’

    All of the above problems happen with original Ted2 *and* Ted2go.

    How can I change the editor font in Ted2Go? And the syntax highlighting colors?

    I’m testing on latest macOS Sierra Version 10.12.2

    Thanks in advance!

    #6546

    nerobot
    Participant

    Hi @danilo,

    1. Did you makemods before using “Help/Browse manuals”?
    2. and 3. It seems Mark did some changes on the site. I can’t touch original links. I’ll fix links after he done if needed.

    Create your own theme to change fonts and colors. Just copy one existing theme and make changes. Look at \bin\ted2_windows\assets\themes\. Also see the default.json to understand how to change fonts.

    I didn’t try to change fonts, hope it works. 🙂

    #6547

    Danilo
    Participant

    Thanks @nerobot,

    I will take a look at the colors/font themes, thanks!

    Yes, I rebuilt all, rebuilt modules, Update modules, Rebuilt documentation.
    The menu entry “Help/Browse manuals” does nothing here.

    What should happen if I click this menu entry? Should it open a help window?
    Pressing ‘F1’ key on keywords and classes also does nothing.

    #6548

    nerobot
    Participant

    What should happen if I click this menu entry? Should it open a help window?

    It should open %PATH_TO_MONKEY2% / docs / index.html  page in your default browser.

    Pressing ‘F1’ key on keywords and classes also does nothing.

    Does your ted2go version have status bar (is it the latest)? If no update version. The reasons are:

    • there is no keywords help in prev version
    • if you press F1 on monkey’s class right after start app – probable module with needed class name don’t parsed yet. type this word – if you see it in autocomplete then it parsed.
    #6549

    Danilo
    Participant

    I got the latest ted2go git today. It has a status bar.

    F1 key works now. Still, the menu entry does not open and display any help here on macOS.

Viewing 15 posts - 121 through 135 (of 597 total)

You must be logged in to reply to this topic.