nerobot

Forum Replies Created

Viewing 15 posts - 751 through 765 (of 805 total)
  • Author
    Posts
  • in reply to: Ted2Go IDE #4589

    nerobot
    Participant

    Added toolbar with basic buttons.

    Added global funcs ShowHint(), HideHint(). You can see the hint “Open project…” on the screenshot.

    in reply to: Ted2Go IDE #4505

    nerobot
    Participant

    Thanks!

    Hint for func/method parameters is in todo.

    in reply to: Playniax news #4474

    nerobot
    Participant

    We will see 🙂

    in reply to: Ted2Go IDE #4451

    nerobot
    Participant

    In new (current) version:

    • Try to add error checking “on the fly”, do background parsing after 3 secs from latest code changes. Modified file saved to ‘ted2go/tmp/tmp’ file and parsing via mx2cc.
    • Added errors hints – mouse over on line with error shows us error message. And errors now marked with curved underline (see sreenshot).

    My logic for background parsing is (pseudocode):

    1. Add callback to TextChanged signal (TextChanges += OnTextChanged)
    2. Inside of OnTextChanged attaching to App.Idle signal (App.Idle += OnParseBg)
    3. Inside of OnParseBg checking time – are we ready to parse, 3 secs is over.
      1. if YES – do parsing and reset changed time (DoParse)
      2. if NO – re-attaching to App.Idle
    4. Inside of DoParse create new Fiber and read mx2cc output inside of it
    5. Goto 1, so wait other textchanged event.

    I tried to use Timer with 1 hz interval, but timer stops to work after some time, so I decide to use App.Idle.

    What is not good – saving to tmp file, need to improve.

    Windows version (Dropbox)

    in reply to: Ted2Go IDE #4402

    nerobot
    Participant

    I googled word ‘ted2go’ and became confused.

    Welcome to http://ted2go.com

    🙂 (not ide)

    in reply to: Mark: 2 additions added to git repo #4401

    nerobot
    Participant

    I vote +1 for this too 🙂

    in reply to: Ted2Go IDE #4399

    nerobot
    Participant

    Thanks for description.

    Hm, I’ll try do it, but a bit later. Yes, ‘If’ keyword is not simple. 🙂

     

    To fix cursor, go to [ted2go]/views/textviewext.monkey2 and comment 2 lines inside TextViewExt.New() method like this:

    And you got default ted2 cursor.

    Further, there will be Preferences dialog, allowed to simple change IDE params.

    in reply to: Mark: 2 additions added to git repo #4397

    nerobot
    Participant

    I use Frame as the first found way to do resizing.

    Adam, try this

    in reply to: Ted2Go IDE #4395

    nerobot
    Participant

    @abakobo  thanks for looking!

    Sorting is in the nearest plans.

    What is “full pass indent” means?

    @admin (Mark)

    Probably easier easiest if I add this myself as it’s in the middle of the/my buildactions file.

    nice!

    in reply to: Mark: 2 additions added to git repo #4386

    nerobot
    Participant

    Mark there is a minor omission in the mojo/app that needs to be added so the user can alter the size of a window programatically.

    You can use ‘Frame’ property to change bounds of a window. All views in mojox have this property because it’s a part of base View class.

    A Mx2cc addition to allow  files to be parsed but not compiled: checkapp

    I thought it already exists but not documented when saw your ted21. 🙂

    in reply to: Ted2Go IDE #4385

    nerobot
    Participant
    in reply to: Ted2Go IDE #4383

    nerobot
    Participant

    @everyone

    Question about “Check for errors” action. I did it this way:

    1. Find “Compiling…” in console
    2. Print “Done.” and call console.Terminate()

    Is it good solution?

    @adamstrange uses “checkapp” parameter for mx2cc. It looks like a better solution.

    Hm?

    in reply to: Ted2Go IDE #4366

    nerobot
    Participant

    Implemented the latest sources from original repository – v1.0.8.

    It brings us themes support and zoom in/out for whole UI.

    Windows Binaries (Dropbox)

    in reply to: Ted2Go IDE #4361

    nerobot
    Participant

    Some improvements are here.

    • Icons – new icons for CodeTree and Autocompletion, almost all taken from Netbeans IDE (see attached screenshot). Also icons reflect member’s access modifiers now.
    • Parser:
      • added support for ‘Alias’;
      • added simple checking for case: “b := ok ? xx else yy” and “b := Not …”;
      • improved checking of numbers (now checks minus sign);
      • fixed type extraction for ‘operator’.
    • Autocompletion – now it shows aliases and generic types members. It’s very simple variant – strip generic type, so not replace generic type with user’s declared type. But to see geteric type <T>,<V> is better than to see nothing.

    Icons mapping to members is in attach too.

     

    Windows Binaries (Dropbox)

    in reply to: Ted2Go IDE #4306

    nerobot
    Participant

    Just commited new release!

    • Parser work with Extends and Implements, so you can see inherited members in autocompletion;
    • Improved scope checking for autocompletion:
      • show all members inside it’s own classes,
      • show protected members inside derived classes,
      • show public for other cases,
      • inheritance checking is recursive, so show members for multiple inheritance. probably, only public for this time.
Viewing 15 posts - 751 through 765 (of 805 total)