Engee documentation

Engee Path Editor

Search path (hereinafter path) is a list of directories in which Engee will search for files if no absolute path is specified for them. You can change the directory listing using the Engee path editor.

Path editor — this is a tool that allows you to set a list of directories in which files will be searched. The editor works according to the following algorithm:

  1. Get the file name to search for;

  2. Check the current directory:

    1. 2.1. If the file is found, then end the search;

    2. 2.2. If the file is not found, go to the next directory;

  3. Repeat step 2 until the file is found or there are no more directories to search;

  4. If the file is not found in any directory, terminate the process with a message that the file is not found.

Setting up Paths

The path can be configured in file browser Engee file browser 7:

  • Right-click on the desired directory and select Add to path:

    engee path from menu en

  • Click on the icon with three dots and select from the menu that appears Set path to open the path editor:

    engee path 1 en

    engee path 2 en

In the path editor, you can:

  • engee path 3 — add a folder to the path;

  • engee path 4 — add a folder along with subfolders to the path;

    Folders added to the path are colored blue.
  • engee path 5 — move the selected path to the top of the list;

  • engee path 6 — move the selected path one position higher;

  • engee path 7 — move the selected path one position lower;

  • engee path 8 — move the selected path to the end of the list;

  • engee path 9 — delete the selected path from the editor.

Paths in Engee commands

Engee and language software control commands Julia can also use directories specified through the path editor to locate files. This means that if the absolute path to the file is not specified, the commands will search for it in the directories added to the path.

For example, there is a model file my_model.engee, which is located deep in the project directory. Instead of writing the absolute path to this file, you can add the path to this file through the path editor and simply specify the file name:

engee.open("my_model")

advanced users en

In Engee, path management is based on the Julia language environments implemented using LOAD_PATH and JULIA_LOAD_PATH:

  • 'LOAD_PATH' is an array of paths used by Julia to find packages and modules needed to run a project or application.

  • `JULIA_LOAD_PATH' is an environment variable containing the paths to the folders in which Julia is looking for packages.

Understanding their work allows you to effectively manage paths and provide access to the necessary packages and modules (for more information, see Working with Julia packages).