![]() That the directory is the current opened window (local in TextPad) Initial Folder: $FileDir - the only parameter states The actual name taken from the original source file name That the output file will be named with the postfix ".exe" and Parameters: $File - states that the inputįile is the currently opened document (local in TextPad) Local to TextPad only are described more below and further information canįull path of the program selected for this tool is displayed The regularly available options normally used in aĬommand line can be included in the "Parameters" space. The choices shown in this figure are the most commonly used (more examplesĪre shown later). the only default parameterhere states that the directory is the current opened window. ![]() the only default parameter states that the input file is the currently opened document on which the tool/program will operate.the full path of the program selected for this tool is displayed.The default properties shown are the minimal default ones and probably should be edited as shown here (see next). Having selected "C with Gcc MinGW " from the list, a new dialogue window appearsĭisplaying the current default properties of this tool (new or not). SELECT: Configure -> Preferences to obtain the dialogue windowĬLICK ON "+" next to " Tools" to display the whole list of tools so far, where "C with Gcc MinGW" should be one of them.ĬLICK ON the "C with Gcc MinGW" label in the tree in the left subwindow, to display its current default properties. In this figure the previous default name "Gcc" has been changed to " C with Gcc MinGW ". One knows it has worked when the box containing the default name becomes white and the name appears editable (patience is required). To change the default name click on the name itself, slowly two times, with a very small pause between the two clicks. ![]() It is normally useful to change the default name to something more meaningful (see next). The Preference dialogue is updated to include the new tool which is given by default the name of its executable file - in this case Gcc. SELECT the desired program and its complete path will be incorporated automatically later. In this example, the gcc.exe compiler for C from MinGW is selected to be the new tool. The small central subwindow lists all the existing tools already configured (or it shows empty).Ī regular set of dialogue windows from the system will appear, allowing navigation to the correct directory from which to choose the program needed to be implemented in the new tool. SELECT: Configure -> Preferences to obtain the dialogue shown in the figure. In order to add a new tool, one must use the "Configure" menu. The required Tool appears from the "Tools" menu, as in the example menu here where a list of existing commands have already been configured. When wanting to compile a source file directly from within TextPad, almost using TextPad as an IDE (Integrated Development Environment), a " Tool" must be configured to call on the appropriate command together with its parameters plus input and output files.
0 Comments
Leave a Reply. |