IDE Window: Environment Options/fi

From Lazarus wiki

Deutsch (de) English (en) suomi (fi) français (fr)

Tiedostot

Tallessa pidettävien viimeksi käytettyjen tiedoston nimien lukumäärä

Maksimi tiedoston nimien lukumäärä joka näytetään Tiedosto-valikon "Avaa viimeksi esille olleista"-kohdassa.

Tallessa pidettävien viimeksi käytettyjen projektien lukumäärä

Maksimi tiedoston nimien lukumäärä joka näytetään Projekti-valikon "Avaa esillä ollut projekti"-kohdassa.

Avaa viimeksi käytetty projekti Lazaruksen käynnistyksen yhteydessä

Sallii automaattisesti avata viimeiseksi muokatun projektin kun Lazarus-käynnistetään.

Lazarus:n kansio (oletuksena kaikissa projekteissa)

Laita tähän Lazaruksen lähdekoodin kansio. Kansio sisältää seuraavanlaisia alikansioita ide, debugger, converter, components ja lcl. Tätä käytetään löytämään lähdekoodit (.pas) LCL:stä ja komponenteista.

FreePascal kääntäjä löytyy tästä polusta/linkistä

Tässä täytyy olla täydellinen tiedostonimi käytetystä kääntäjästä. Esimerkiksi /usr/bin/ppc386 linuxissa, /usr/bin/ppcppc MacOSx:ssä tai C:\pp\ppc386.exe windowsissa. Täydelllinen tiedostonimi riippuu miten kääntäjä on asennettu.

FPC:n (FreePascal:n) lähdekoodin kansio

Laita tähän FreePascalin lähdekoodin kansio. Kansio sisältää seuraavanlaisia alikansioita complier, packages, rtl ja fcl. Tyypillisesti tässä on linux/bsd/macosx:ssä /usr/share/fpcsrc/

Huomaa: Do not confuse this with the FPC unit/library directory (.../units/i386-win32/), that only contains the compiled .ppu files and has a totally different stucture.

Make path

Set here the path to the 'make' tool. Leave blank to let the IDE use the default.

Kansio jossa käännetään testiprojektit

When a newly created project is not yet saved and you build it, the IDE saves the whole project into this directory and builds it there.

Desktop

Language

The language of all text of the IDE. You should restart the IDE to make sure all text is reloaded.

Auto Save

Not yet implemented.

Desktop files

Load or save the environment options to/from a file.

Check changes on disk with loading

When the IDE checks if some editor files changed on disk it normally only compares the file date. To also load the file and compare the content, enable this option.

Hints for component palette

Show hints, when mouse is over the component palette.

Hints for main speed buttons

Show hints, when mouse is over the buttons of the main IDE bar window. (e.g. buttons for open, save)

Double click on message jumps

When enabled you must double click on a line in the message window (e.g. compiler messages). When disabled a single click is enough.

Windows

Minimize all on minimize all

Not yet implemented. Some widget sets do this automatically.

Hide IDE windows on run

When running the project, all IDE windows are hidden and restored when program stops.

Window positions

Fine tune the positions of the IDE windows.

Form Editor

Grid

  • Show grid - show a grid of points on each designer window. All client areas, which accept controls have this grid.
  • Show border spacing - Show rectangles around each control showing the borderspacing. This is quite slow.
  • Snap to grid - When moving or resizing components on the designer round the movement to the nearest grid point.
  • Grid Size X - The step width in pixels for the grid.
  • Grid Size Y - The step height in pixels for the grid.
  • Grid color - the color of the grid points

Rubber band

  • Selection - the color of a selection rubber band: Left click on the designer form client area, then drag the mouse keeping pressed. Release the left button and all intersecting controls are selected. Pressing shift to add/remove from/to the current selection.
  • Creation - the color of a creation rubber band. Select a control in the component palette. Then drag a rectangle on a designer form. The new control will be created with this size.

Miscellaneous

  • Show component caption - Show hints of the component name and classname, when mouse is over a control on a designer form.
  • Show editor hints - Show hints of the component position and size, when mouse is over a control on a designer form.
  • Auto create form when opening unit - Automatically open the designer form, when opening a pascal unit file. Useful for newbies, so enabled on default.
  • Right click selects - right click selects and then shows the popup menu.
  • Grabber color - the color of the 8 small boxes used to resize a selection of controls.
  • Marker color - the color of the 4 small boxes on each control in a multi selection.
  • Reduce designer painting - the IDE will use smart InvaldidateRect calls instead of full redraws. This is faster, but does not work with all widgets of all widgetsets. Use this to reduce artefacts on the designer forms.

Guide lines

The guide lines are the lines, showing to which controls the current selection is currently aligned.

  • Show Guide lines - paint guide lines
  • Snap to Guide lines - snap to nearest guide line during moving/resizing of controls on the designer form.
  • color for left, top - the color for left, top aligned guide lines.
  • color for right, bottom - the color for right, bottom aligned guide lines.

Object Inspector

Colors

Colors for various property items.

Miscellaneous

  • Item Height - the default height of each property row. Not all widgetsets support resizing the edit and comboboxes. For example the win32 interface does not allow setting the combobox heights.
  • Show Hints in object Inspector - show hints, when moving the mouse over a property row.

Backup

The IDE can create backup files each time it saves a file and an old file exists already.

The options allow to setup the extension and place of backup files.

Hint: Normally it is better to use a version control system like svn or cvs for backups and to disable backups here.

Naming

Default pascal extension

Whenever the IDE creates a pascal unit, it uses this extension as default. The .pas is typical for Delphi users, while .pp is often used for FPC sources and .p is known on Mac computers.

Note: Custom projects can create pascal sources with defined extension. The IDE will not override this.

Ambigious file action

Before compile the IDE checks if there are ambigious files. For example it checks if a unit exists twice in the unit path. The compiler will use the first it finds, which might not the intended thing and this gives strange errors. Here you can set the action, what should happen, if the IDE finds such a file.

Save as - auto rename pascal files lowercase

Source code, that compiles on platforms with case sensitive filenames must make sure, that units are written correct. FPC searches first for the unit name with the uses case, then lowercase and finally uppercase. You can either make sure, that the case is written correct in all units, which is hard for windows users, as they don't need to. Or you can let the IDE save all new units lowercase. The source editor will show the unit name as written in the source code, so you see the right case in the IDE anyway.

LazDoc