Sign in Join
Wiki copytemporary

IDE Window: Code Explorer Options

Deutsch · English

Code Explorer Options The dialog is explained here: IDE Window: Code Explorer

Update

Preferred Exhibition Mode

Refresh automatically

Categories

Shows the available categories. Check all that you want to see in the code explorer.

The category Code Observer exists since 0.9.27 and lists uncommon or hard to read code fragments. You can set the details in the next option page.

Code Observer

Complexity

Empty constructs

pascal
begin
  {$IFDEF win32}write;{$ENDIF} 
end;

Style

Other

pascal
for i:=0 to 10 do
  if i=0 then
writeln('');
pascal
published
  property Flag: booolean read FFlag write SetFlag;

Since FPC 2.2.4 such properties are treated as if they have the nodefault specifier. That means they are always saved to the lfm.

Ignore next unnamed constants

These constants will not be listed in the unnamed category. Examples:

pascal
0
1
'a'
'abc'
#3
#$3

Ignore constants in next functions

Constants passed as parameters to the following functions will not be listed in the unnamed category. There are two types. For example:

pascal
Write
.ParamByName

Note the point in front of ParamByName.

Result:

pascal
Write('A'); // 'A' will be ignored
MemStream.Write('A'); // 'A' will be listed
DataModule1.SQLQuery1.Params.ParamByName('ART_ID').AsString; // will be ignored
ParamByName('ART_ID').AsString; // will be listed

From the Free Pascal wiki, page "IDE Window: Code Explorer Options", as it stood on 2020-07-13 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.