Shop OBEX P1 Docs P2 Docs Learn Events
Problem adding files to a project in SimpleIDE — Parallax Forums

Problem adding files to a project in SimpleIDE

agsags Posts: 386
edited 2013-05-09 17:01 in Propeller 1
I had to re-read the SimpleIDE documentation to learn that the only way to add a file to a project (as opposed to create a new project) is to right click on the main project file and select from the popup menu (is this correct?)

On a Mac, this isn't working. I cannot get a popup. I'm on a Macbook Air, using the touchpad (not a mouse). Has anyone else seen this? Is there another way to add/delete files in a project?

I'm using version 0.8.5. I followed what I thought were the latest links for the current beta version last weekend - but it appears I may be behind the release curve somehow.

Comments

  • dgatelydgately Posts: 1,630
    edited 2013-05-09 16:12
    ags wrote: »
    I had to re-read the documentation to learn that the only way to add a file to a project (as opposed to create a new project) is to right click on the main project file and select from the popup menu (is this correct?)

    On a Mac, this isn't working. I cannot get a popup. I'm on a Macbook Air, using the touchpad (not a mouse). Has anyone else seen this? Is there another way to add/delete files in a project?

    Probably good to edit the title of this post to denote that you are using SimpleIDE and giving its version would also help as there has been a lot of activity in changes to the IDE... Also, are you working with a Spin project or C? Are you using Simple View or Project View? All good things to know in order to get help!

    Having said that, you can always select the "New" menu item the "File" menu to create a new file for editing or select "Set Project View" to get the "Open" file menu item in the "File" menu. Project View also has a "New" file icon so turning on "Set Project View" will help with that, too. Then, there's the "Add Tab to Project" icon that is visible from Project View as well.

    The pop-ups that you want to use only work when you have an open "C" project as far as I can tell. The fact that you do not get a pop-up menu is possibly a bug, but more likely just not yet implemented for Spin projects. I know that the intent for SimpleIDE's Beta release was to support C first with the additional ability to develop Spin but on a lesser scale. at this time...

    dgately
  • agsags Posts: 386
    edited 2013-05-09 16:31
    Seems my reply was lost. Yes, the compiler was set to SPIN (the project main file was main.c though). Changing to C enables the popup as you suggested.

    I don't see an option for simple/project view selection. I guess I'm on an older version (0.8.5). I thought it was the latest, I checked this past weekend.

    I don't see any way to add a file to an existing project (without the popup menu).
  • dgatelydgately Posts: 1,630
    edited 2013-05-09 16:47
    You can download version 0-9-26 for Mac OS X from: http://learn.parallax.com/mac

    More-recent versions for Windows are available (0-9-28), but the Mac OS X versions should work for you!

    dgately
  • edited 2013-05-09 16:51
    Hello ags,

    There are 0.9.x installers for Mac and Windows installers are here:

    http://learn.parallax.com/propeller-c-set-simpleide

    Make sure to rename your current Documents/SimpleIDE folder before you install the new version. When you open the newer SimpleIDE, it will detect that a SimpleIDE folder is not there and copy the an updated version into your Documents folder.

    As degately mentioned, you can click Tools and select Project View to get more features than 0.9.x's initial Simple View. In Project View, the Project menu will have menu items that are apparently not available to you in the 0.8.5 right-click menu, including: Add File Copy, Add File Link, Add Include Path and Add Library Path. There are a few other nice features, including Add Tab and Open Tab, which are shortcuts to adding files that are in the same folder with your C language projects.

    With these newer versions of SimpleIDE< the manual is accessible through SimpleIDE's Help menu.

    Andy
  • jazzedjazzed Posts: 11,803
    edited 2013-05-09 17:00
    In SimpleIDE the Spin compiler being selected does not offer any right-click menu in the project manager. Spin deals with libraries by specifying objects.

    My next project is the PropellerTool-like SPIN open source, internationalized IDE based on the Simple Tools Foundation.
  • edited 2013-05-09 17:01
    Okay, in Spin, make sure you are in Project View. File -> New and then File -> Save As will allow you create a new .spin file. Or, if you want to open an existing top file, use File -> Open, and select the .spin file.

    To make your Spin file the project file, click Project and select Set Project.

    To add files to the Project, just make sure they are in the same folder with your top file.

    Andy
Sign In or Register to comment.