Saving And Exporting

In Foobar you typically work with individual files which are plugged into different development environments. For example, if you open a JavaScript file you can either run it with the pre-configured jQuery template, the Apple Script template or any other template which supports JavaScript. In fact, a single file can be used to represent many programs, something referred to as Polyglot programming. Let's have a closer look how to work with your project files.

saving and exporting

Saving Your Projects

In order to save your current work, simply go to "File" and click on "Save" or "Save As" menu items. You will be asked to save your current work if there are unsaved changes before you close the current window.

Keep in mind that both "Save" and "Save As" will only save your code changes. If you want to save the entire project, which also includes all dependencies and an configuration options, you need to use the Export menu item.

Exporting Your Projects

In order to export your project as a standalone bundle, simply go to File and click on the Export menu item. Select the folder where you want to export the project. Click on the "Export" button.

Foobar will output your program, including all dependencies, into a single, re-distributable bundle. In other words, you do not need Foobar to run your program. You can run it as it is.