Shop OBEX P1 Docs P2 Docs Learn Events
Spin Tools IDE - Page 31 — Parallax Forums

Spin Tools IDE

1252627282931»

Comments

  • dgatelydgately Posts: 1,643

    @macca said:

    On MacOS, I don't know if it works (sorry, my testing on MacOS is very limited), it certainly needs some more implementations but I think most needs an actual executable instead of a shell script, with all the signature issues this involves.

    Also implemented drag and drop files to the editor, if you have Spin Tools IDE open, drag a source file from a File Exporer (or the corresponding applet on your OS) and drop to the editor area to open it.

    on MacOS, the "Open With" option (Control click on a .spin2 or .spin file) now shows Spin Tools IDE as an available app for opening the file... Yay!

    And, yes dragging & dropping a spin file into the editor panel works! Dropping a spin code file on the Spin Tools IDE icon in the MacOS Dock, works as well!

    Thanks for all the hard work!

    dgately

  • JonnyMacJonnyMac Posts: 9,588
    edited 2026-01-10 01:24

    Found what may be a small "gotcha." If one clicks on a filename in the tree view, the editor tab changes, but the outline pane doesn't switch to it. I have to manually re-sync by selecting another tab and then going back.

    Toggle Outline View does not refresh the contents of the outline.

    1918 x 1038 - 121K
  • maccamacca Posts: 974

    @dgately said:
    on MacOS, the "Open With" option (Control click on a .spin2 or .spin file) now shows Spin Tools IDE as an available app for opening the file... Yay!
    And, yes dragging & dropping a spin file into the editor panel works! Dropping a spin code file on the Spin Tools IDE icon in the MacOS Dock, works as well!

    That's great!

    Are the files opened in the same Spin Tools IDE instance or do they open a new instance each time ?
    I ask because on Linux and Windows I had to implement a dedicated handler to open the files in the same IDE instance.

  • maccamacca Posts: 974

    @JonnyMac said:
    Found what may be a small "gotcha." If one clicks on a filename in the tree view, the editor tab changes, but the outline pane doesn't switch to it. I have to manually re-sync by selecting another tab and then going back.
    Toggle Outline View does not refresh the contents of the outline.

    I see, I'll fix it soon.

  • dgatelydgately Posts: 1,643

    @macca said:
    Are the files opened in the same Spin Tools IDE instance or do they open a new instance each time ?
    I ask because on Linux and Windows I had to implement a dedicated handler to open the files in the same IDE instance.

    They open in the same instance!

    dgately

  • ke4pjwke4pjw Posts: 1,275

    Thank you so much @macca ! Being able to open spin2 files in Spin-Tools directly from the file Explorer is a godsend. Again, thank you so much!

    If you decide to make a build for Windows on ARM64, let me know. I will happily test for you! I have a Snapdragon Windows machine.

  • JonnyMacJonnyMac Posts: 9,588

    I don't know if it would be a hassle to add, but I would love know the number of lines selected down in this section:

  • JonnyMacJonnyMac Posts: 9,588
    edited 2026-01-14 04:50

    Oof... I spent all day chasing my tail, rewriting code, and doing a lot of swearing. It finally occurred to me that the terminal was set to Line Input mode. Aargh!!! I was trying to use it the way I've always used PST: just press a key. This is on me, but maybe myself and others can be helped down the line.

    Request: Would it be possible to add " (Line Input)" to the title bar of the terminal window when it is in that mode as a reminder to us mortals that the terminal may not be configured they way we think it is?

    Would it be possible to reassign the F12 key so that it invokes PST instead of the internal terminal?

  • @JonnyMac said:
    Oof... I spent all day chasing my tail, rewriting code, and doing a lot of swearing. It finally occurred to me that the terminal was set to Line Input mode. Aargh!!! I was trying to use it the way I've always used PST: just press a key. This is on me, but maybe myself and others can be helped down the line.

    Request: Would it be possible to add " (Line Input)" to the title bar of the terminal window when it is in that mode as a reminder to us mortals that the terminal may not be configured they way we think it is?

    Sorry, I think I understand what happens:

    When the line input mode is enabled there is a text box at the top of the terminal window:

    However I just realized that it doesn't work like PST, with PST each key is sent immediately while in Spin Tools the whole line is sent when Return/Enter is pressed. For some reasons I was sure that PST wasn't sending the keys immediately.

    With the line input disabled there isn't a text box, there is a blinking cursor and the keys are sent immediately. In your screenshot there isn't the text box so I think the line input is disabled, all keys should be sent immediately, if that's not what happens there is something else.

    Since the line input mode was meant to "emulate" PST I think that I can fix the key typing and rename the option as PST Mode, there won't be any line input mode unless this is actually useful for someone. I need to verify what the history does in PST (becase seems it does nothing...).

    Would it be possible to reassign the F12 key so that it invokes PST instead of the internal terminal?

    Not now, maybe with a key shortcut customization option but is not easy. For now you can use the external tools.

  • Okay. PST always has that input box so I didn't notice that it's not present in the Spin Tools terminal when the line input is disabled.

    Why is it not possible to copy text from the terminal window? I ended up switching back to PST because I need to copy messages from laser tag devices.

  • @JonnyMac said:
    Why is it not possible to copy text from the terminal window? I ended up switching back to PST because I need to copy messages from laser tag devices.

    It is, right-mouse button and drag to select the text, when you release the mouse button the text is copied automatically (no need to press CTRL-C or else).
    Doesn't that work ?

  • @dgately said:

    @macca said:
    Are the files opened in the same Spin Tools IDE instance or do they open a new instance each time ?
    I ask because on Linux and Windows I had to implement a dedicated handler to open the files in the same IDE instance.

    They open in the same instance!

    Great, easier than expected.
    Thanks for testing.

  • It does! I didn't know that it worked this way. I checked, and found both left and right mouse drag-select work.

    Forgive me for missing it, but do you have a list somewhere of Spin Tools features and how they work? That came up during the Parallax Zoom call today. Things were a little quiet so I volunteered to share with the participants some of the recent updates to Spin Tools IDE. Thanks again for all the work you've put into it.

    Okay, time for bed. I'm only up this late so I could step outside to watch the SpaceX Dragon capsule reenter the atmosphere and fly-by on its way to San Diego. It was really neat -- like a giant shooting star with a very long, very bright tail.

Sign In or Register to comment.