Shop OBEX P1 Docs P2 Docs Learn Events
I really like the new PropellerIDE! - Page 2 — Parallax Forums

I really like the new PropellerIDE!

24

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-04 22:33
    More on tabs. The Propeller Tool is smart about tab widths, which necessarily vary in different sections of the program. Two spaces are appropriate in the Spin section, but not in the DAT (PASM) section. PropIDE needs to emulate the PropTool's behavior regarding tab widths.

    -Phil
  • dgatelydgately Posts: 1,630
    edited 2014-12-04 22:40
    Actually, it does happen in the OSX version. Position the cursor ahead of the first character of line 1. Hold down Shift, and hit down-arrow to select that line and however many more you want. Hit Tab. The lines selected and the line that follows will get indented. Now try the same thing in the BASIC Stamp editor, and you will see how it's supposed to work.

    -Phil

    I see! Not how I generally select text, but yes that seems to set the cursor at the beginning of the next line. This might be an inherent side-effect of the Qt text editor code. I'll look at the source and see if I can suggest a fix in the bug tracker, for Brett.


    Thanks for pointing this out,
    dgately
  • dgatelydgately Posts: 1,630
    edited 2014-12-04 22:46
    BTW... The issue tracker for PropellerIDE is a great place to get issues and possible enhancements noticed and maybe even solved! I'm sure the tracker makes it much easier for Brett to monitor issues, rather than scouring the forum for issues. Check it out, add your issues, get results!


    https://lamestation.atlassian.net/browse/IDE-61?jql=project%20%3D%20IDE



    dgately
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-05 10:02
    One thing that bothered me a little with PropIDE was that the edit screen was not as comfortable to look at for some reason. Now I know why. The font rendering (at any scale) is not as good as PropTool's. Here's a side-by-side comparison (Win7: PropIDE on the left, PropTool on the right):

    attachment.php?attachmentid=112159&d=1417802506

    PropIDE's font rendering has some definite quirks, mainly in the stroke weights, which are not uniform. For example, look at the equal signs. Also, the tops of the characters look a bit scalped. Hopefully, this is something that can be addressed and is not endemic to Qt.

    I've just noticed, too, that PropIDE does not render the Unicode glyphs at all:

    attachment.php?attachmentid=112160&d=1417803033

    -Phil
    729 x 639 - 45K
    815 x 697 - 49K
  • JonnyMacJonnyMac Posts: 9,105
    edited 2014-12-05 10:30
    Despite improvements, I still think there are problems with the Parallax font. I have switched all the editors I use to Courier New.

    BTW, I looked and found the default style was bold for the Parallax font in PropellerIDE.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-05 10:34
    I just discovered that PropIDE defaults to the "Parallax2" font. If I change it to the "Parallax" font that comes with PropTool, everything looks much better.

    I've also discovered that the OSX version provides a means to insert special characters. But the characters you get to choose from are emoticons and other weird stuff, instead of the special Propeller characters for drawing schematics and such.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-05 10:41
    JonnyMac wrote:
    I have switched all the editors I use to Courier New.
    My favorite font for non-Propeller program editing is ProggyCleanTT. It's much easier on the eyes than Courier.

    -Phil
  • JonnyMacJonnyMac Posts: 9,105
    edited 2014-12-05 10:49
    Thanks for the tip, Phil, I'll have a look.
  • mklrobomklrobo Posts: 420
    edited 2014-12-05 11:01
    msrobots wrote: »
    @mklrobo,

    There are TWO different IDEs out there.

    SimpleIDE for C and Spin

    PropellerIDE for Spin.

    Bothe are basically made by Steve Denson are multiplatform and use QT for GUI-Elements.

    good stuff.

    Enjoy!

    Mike

    :) Thanks, I will check it out! :)

    I checked out the codemonkey :) video in your footnotes; AWESOME! :)
    Thanks again.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-05 11:24
    jazzed wrote:
    The most typical problem associated with serial ports is in not having sufficient privilidges for using it. Add your userid to the "dialout" group, then log out and back in again.

    That worked. Thanks! For anyone wanting to know how to do this, here's the bash command:
    sudo usermod -a -G dialout <username>

    Then log out and log back in.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-05 22:11
    'Just noticed something else: the font used in the terminal screen of the OSX version is proportionally spaced, not monospaced. That makes it impossible to align textual output in columns. (I haven't checked that in the other versions yet.)

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-05 23:47
    OS X version crashed when I selected and copied text from the terminal screen.

    -Phil
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:13
    Hi Ray,

    OpenSpin is used as the default compiler on PropellerIDE for all platforms. It's just missing dead code removal so the BST compiler is included for people who need that feature until OpenSpin supports it.

    Also yes, openspin has a preprocessor.
    Rayman wrote: »
    I'll have to give that a try. I'm pretty entrenched in Prop Tool, but open to new things.
    I thought I saw over in that other thread:
    http://forums.parallax.com/showthread.php/158373

    that it used Brad Spin compiler while openspin was further developed...
    Does it compile with openspin now?
    Also, I thought I saw that openspin now has a precompiler. Is that included now?
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:30
    Hi John,

    Development download links are currently hosted here: http://www.lamestation/downloads/

    I'm working on creating a proper landing page to publish progress at the moment.
    Is 0.19 the latest? I went to the user manual page on lame station and that link didn't have the manual. I used the search function on the Parallax site and got nothing to show me where the PropellerIDE is located.

    John Abshier
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:33
    If @@@ does what I think it does, I am proposing an obj@label syntax for accessing sub-object labels.

    https://lamestation.atlassian.net/browse/SPIN-11
    If you implement an equivalent to @@@, could you designate it some other way, please? I'm sypathetic to the opinion that @@@ is pretty ugly. Perhaps @# or #@? The # hints at something that's available as a constant, which is what the operator sort of implies.

    -Phil
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:36
    Here's my experience installing on Linux Mint (KDE). Downloading the package on Firefox automatically invoked the package manager/installer. The installation went without a hitch. But no icon appeared on my desktop, so I had to go looking for the program. 'Found it in /usr/bin, and it started up okay with a "welcome" program in the editor. F9 compiled it just fine after I saved it. But here's where the trouble starts. I plugged in an Activity Board to a USB port. Right away, PropellerIDE recognized a new port on /dev/ttyUSB0. Great! But I thought maybe I'd try the AUTO setting anyway. No dice. Got the message:
    Error is : No such file or directory
    error: opening serial port 'AUTO'

    Okay, so I set the port to the USB port it found. 'Got this error:
    Error is : Permission denied
    error: opening serial port '/dev/ttyUSB0'

    Now I'm stuck. That said, however, I really like that the serial port selector instantly recognizes when a new FTDI chip has been plugged in. If only it could make use of it.

    -Phil

    What does KDE use for a start menu? The debian installer already adds entries in the following places:
    /usr/share/applications/propelleride.desktop
    /usr/share/menu/propelleride 
    
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:43
    Actually, it does happen in the OSX version. Position the cursor ahead of the first character of line 1. Hold down Shift, and hit down-arrow to select that line and however many more you want. Hit Tab. The lines selected and the line that follows will get indented. Now try the same thing in the BASIC Stamp editor, and you will see how it's supposed to work.

    -Phil

    I'm not understanding where the issue lies. If you start on a line, press down arrow twice, three lines should be selected. Are you saying that in said situation, there would be four?
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:54
    More on tabs. The Propeller Tool is smart about tab widths, which necessarily vary in different sections of the program. Two spaces are appropriate in the Spin section, but not in the DAT (PASM) section. PropIDE needs to emulate the PropTool's behavior regarding tab widths.

    -Phil

    PropellerIDE uses a default 4-space tab stop regardless of context. Two spaces makes it extremely difficult for me to see the indent level, so I am not thrilled about implementing this feature.
  • Brett WeirBrett Weir Posts: 288
    edited 2014-12-06 01:55
    dgately wrote: »
    BTW... The issue tracker for PropellerIDE is a great place to get issues and possible enhancements noticed and maybe even solved! I'm sure the tracker makes it much easier for Brett to monitor issues, rather than scouring the forum for issues. Check it out, add your issues, get results!


    https://lamestation.atlassian.net/browse/IDE-61?jql=project%20%3D%20IDE



    dgately

    Thanks Dennis! That is my preferred means of tracking issues. :)
  • Heater.Heater. Posts: 21,230
    edited 2014-12-06 04:17
    Parallax2 font is looking fine here on Debian

    attachment.php?attachmentid=112162&d=1417868257

    Of course putting schematics into text files like that is generally a bad idea anyway.
    901 x 485 - 66K
  • pik33pik33 Posts: 2,366
    edited 2014-12-06 05:35
    The Propeller IDE started to be a good Propeller Tool replacement for me since the OpenSpin compiler was upgraded to support non standard P1V instructions but I didn't test it yet in "production" ( :) (better call it play...) environment. I only tested if it can compile a program with these mul etc. (yes, it works)

    Then the Parallax 2 font looks ugly in Windows. I replaced it with Parallax (without "2") - it is better. Then I set Consolas, as I have set in my other programming environments.
  • Heater.Heater. Posts: 21,230
    edited 2014-12-06 06:01
    Brett
    If you start on a line, press down arrow twice, three lines should be selected.
    That is not what I would expect. Rather if I start at the beginning of a line, hold shift and hit arrow down I would expect one line to be selected. Hit arrow down again and two are selected etc

    This is how it works in Sublime Text, Kate, Simple IDE and many other editors. PropellerIDE is the one one out here. This is reasonable behaviour as one has not selected any characters on that last line so why move anything?

    Starting the selection other than at the beginning of the line is different, one arrow down indeed selects two lines in the editors I mention above.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-06 08:54
    Brett Wier wrote:
    I'm not understanding where the issue lies. If you start on a line, press down arrow twice, three lines should be selected.
    If you position the cursor at the beginning of line 1, hit shift down-arrow twice, you select line1 and line 2, and the cursor lands at the beginning of line 3. Line 3 is NOT selected, though. The cursor is there only because the newline at the end of line 2 is included in the selection. So when you hit TAB, only lines 1 and 2 should get indented. That's the way the BASIC Stamp Editor works, the way UltraEdit works, along with every other code editor (save PropTool) that I've ever used.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-06 09:06
    Brett Weir wrote:
    PropellerIDE uses a default 4-space tab stop regardless of context. Two spaces makes it extremely difficult for me to see the indent level, so I am not thrilled about implementing this feature.
    It's two spaces on my PropIDE installations, and I didn't change anything to make it that way. In PropTool, the tab spacing is context-dependent by necessity. At the very least, the tab spacing in the DAT section should conform to the needs of columnar-oriented PASM, rather than those of indented-nested Spin.

    In any event, the look, feel, and performance of PropTool should be held as a minimum standard for PropIDE. Otherwise Parallax will never be able to make the transition.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-06 09:12
    Brett Weir wrote:
    What does KDE use for a start menu? The debian installer already adds entries in the following places:

    Code:

    /usr/share/applications/propelleride.desktop
    /usr/share/menu/propelleride

    I looked in those places and didn't see any references to PropIDE. Mint/KDE uses something called the Kickoff Application Launcher that works a lot like the Windows Start menu.

    -Phil
  • Heater.Heater. Posts: 21,230
    edited 2014-12-06 10:29
    My KDE on Debian picks up the menu entry just fine. From there I can drag the Propeller beanie onto my desktop.

    I have both /usr/share/applications/propelleride.desktop and /usr/share/menu/propelleride in place.

    attachment.php?attachmentid=112164&d=1417890535
    411 x 563 - 75K
  • dgatelydgately Posts: 1,630
    edited 2014-12-06 10:37
    'Just noticed something else: the font used in the terminal screen of the OSX version is proportionally spaced, not monospaced. That makes it impossible to align textual output in columns. (I haven't checked that in the other versions yet.)

    -Phil

    I'm not seeing this... In fact, the code for setting the font in the Terminal source is:
    termEditor->setFont(QFont("Parallax", 14, QFont::Bold));
    



    dgately
  • dgatelydgately Posts: 1,630
    edited 2014-12-06 10:48
    OS X version crashed when I selected and copied text from the terminal screen.

    -Phil

    On Mac OS, a crash report is placed in one of 2 locations. Either ~/Library/Logs/CrashReporter/ or /Library/Logs/CrashReporter/...

    If you can attach the crash report for PropellerIDE to a tracker item (https://lamestation.atlassian.net/browse/IDE-61?jql=project%20%3D%20IDE) or even here on the forum, it will help Brett and others find and fix the problem.

    dgately
  • jazzedjazzed Posts: 11,803
    edited 2014-12-06 12:21
    Hi.

    I don't want "Yet Another Website Account" unless it's really important to me, so I won't be commenting on the issues pages (the same reason I don't use github ;p ). I see some things do need to be addressed though. For example, to use CP1202, you will need to toggle RTS for reset ... the loader could probably just toggle both RTS and DTR without bad effects.


    The way to make application Icons show up in Debian, Mint, and Ubuntu is to do this:

    Create a .desktop file. For example ....

    PropellerIDE.desktop contents:
    [Desktop Entry]
    Type=Application
    Name=PropellerIDE
    Comment=Parallax PropellerIDE
    Exec=/usr/bin/propelleride
    Icon=/usr/share/pixmaps/PropellerIDEx32.png
    terminal=false
    Categories=Development;

    Make sure you have the Icon and Exec set correctly.
    PropellerIDEx32.png is attached ... I have higher resolutions in an icon file if needed.

    Put PropellerIDE.desktop in /usr/share/applications/PropellerIDE.desktop (need to be root or use sudo).

    "Propably" need to log out then log in again to see the icon in the start menu.
    32 x 32 - 533B
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-12-06 12:26
    dgately wrote:
    'Just noticed something else: the font used in the terminal screen of the OSX version is proportionally spaced, not monospaced. That makes it impossible to align textual output in columns. (I haven't checked that in the other versions yet.)

    -Phil

    I'm not seeing this... In fact, the code for setting the font in the Terminal source is:

    Code:

    termEditor->setFont(QFont("Parallax", 14, QFont::Bold));

    Here's a screenshot. It's definitely not the Parallax font.

    attachment.php?attachmentid=112168&d=1417897558

    -Phil
    820 x 375 - 68K
Sign In or Register to comment.