Chapter 6 - Projects |
OverviewMSS HTML Editor has simple and straightforward project management. To define a project, simply select 'New Project' from the File menu. In the dialog that pops up, you fill in the Project Name, this can be anything you like, and the full path of the project.A Project is defined by its project file, which is created automatically when you create a new project. The project file stores all information associated with the project: settings and files. Files can be stored relative to the project path or as an absolute path. The 'Project View' is located on the sidebar to the left. To display it press 'Alt + 4' or select 'Workspace' from the 'View' menu. You have to activate the 'Project' tab to see the 'Project View'. In the Project View, to the left, you see a list of all files in your project. To open one of them, double-click it or right click and select 'Open File'. You can upload files directly from the editor by pressing the 'Upload Project' toolbar button or selecting 'Upload Project' from the project menu. The editor keeps track of which files you need to upload, but you can override this in the dialog, which pops up. You can also right click a file in the project view and select 'Upload File' to upload a file. The upload path is calculated automatically based on your projects 'Base Path' and the location on disk. You can override the upload path by right clicking on the file in the 'Project View' and select 'Properties' on the popup menu. You have to deselect the 'Use Automatic Upload Path' checkbox and type in a path in the 'Upload To' edit box. This should be a path on the ftp server you have specified in the 'Project Settings'. It can be either an absolute path or a path relative to the startup directory. Adding Files to a ProjectPress the 'Add Files' toolbar button or select 'Add Files' from the Project menu. You can also right click in the project view and select Add Files. This brings up a dialog with one edit box with a button with three dots on, and a list box. Press the button to select one or more files to add. After you have selected the file/files path will appear in the edit box. If you have selected many files it will say 'xxx files from x:\path\'. To add the files to your project, press the Add Files button.Note: If you specify a file located on another drive, the path will appear very strange. This is because the path will always be added as a relative path. It is recommended that you edit the files properties and store it as an absolute path. You can remove a file by first selecting it and then press the 'Remove' button. You can also remove a file in the 'Project View' by first right-clicking and then select 'Remove File' from the popup menu. Project SettingsTo edit a projects settings, select 'Settings' from the 'Project' menu. This will bring up a dialog with two tabs. One to specify general information and one for specifying ftp settings. The 'Base URL' is used to calculate relative links in the 'Link Validator'.When you specify the ftp server you should not include "ftp://" in the server name. The path can be either an absolute, starts with a slash, or relative to the start directory. Individual files also have their properties. To edit them right click the file in the 'Project View' and select 'Properties' from the popup menu. 'Automatic Upload Path' calculates the path by examining the directory the local file is stored in and rebuilds the directory structure of the local project. 'Don't Upload' specifies that the file should not be uploaded. This means it won't be included automatically when you choose 'Upload Project', even if the file has been modified. Finally 'Store Relative Path' indicates whether to store the file relative to the project directory or as an absolute path. Relative path is recommended since it makes it easier to move the project to another location. |