Difference between revisions of "Ide/Projects"

From wiki.visual-prolog.com

Line 13: Line 13:
#* Delete existing components from the project.
#* Delete existing components from the project.
#* Edit a given component. (In the Project Tree simply double-click a file or select a file and press '''Enter'''.)
#* Edit a given component. (In the Project Tree simply double-click a file or select a file and press '''Enter'''.)
# Using the {{ide|Project Tree|Project Settings}} utility the programmer can change some global project settings.
# Using the {{ide|Project Settings|Project Settings}} utility the programmer can change some global project settings.
# {{ide|Project Settings|In the Project window}} the programmer can see the tree of files used in the project. This tree shows the dependencies and the include structure of the project.
# {{ide|Project Tree|In the Project window}} the programmer can see the tree of files used in the project. This tree shows the dependencies and the include structure of the project.


=== Project Files as IDE Start-up Parameters ===
=== Project Files as IDE Start-up Parameters ===


The name of a Visual Prolog project file can be supplied to '''VIP.exe''' (Integrated Development Environment executable file) at start-up as a command line parameter. It loads the given project into the opened IDE. Associating the '''.prj6''' file extension with Visual Prolog IDE enables double-clicking any '''<nowiki>*.prg6</nowiki>''' filename. It runs the IDE and loads this project into the invoked IDE.
The name of a Visual Prolog project file can be supplied to '''VIP.exe''' (Integrated Development Environment executable file) at start-up as a command line parameter. It loads the given project into the opened IDE. Associating the '''.prj6''' file extension with Visual Prolog IDE enables double-clicking any '''<nowiki>*.prg6</nowiki>''' filename. It runs the IDE and loads this project into the invoked IDE.

Revision as of 10:49, 18 February 2013

IDE

IDE Project Files

To produce an application in Visual Prolog IDE (Integrated Development Environment) you have to use the Project Settings utility (the Project | New command) to create the project description file and to create other default project files. A project file <ProjectName>.prj6 contains all information required for a project.

IDE also provides the environment file <ProjectName>.env for a project. This file stores the some information, like the set of opened windows, etc.

Operations on Project Components

  1. Using the menu commands File | New, File | Add, and Edit | Delete the programmer can:
    • Add new components (object libraries (.lib files), packages, classes, interfaces, dialogs, windows, forms, menus, toolbars, icons, cursors, and bitmaps) to the project.
    • Delete existing components from the project.
    • Edit a given component. (In the Project Tree simply double-click a file or select a file and press Enter.)
  2. Using the Project Settings utility the programmer can change some global project settings.
  3. In the Project window the programmer can see the tree of files used in the project. This tree shows the dependencies and the include structure of the project.

Project Files as IDE Start-up Parameters

The name of a Visual Prolog project file can be supplied to VIP.exe (Integrated Development Environment executable file) at start-up as a command line parameter. It loads the given project into the opened IDE. Associating the .prj6 file extension with Visual Prolog IDE enables double-clicking any *.prg6 filename. It runs the IDE and loads this project into the invoked IDE.