Generic FunctionPackage: ideToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Significantly revised from 8.1.
8.1 version

file-dialog-source-types

Arguments: ide-configuration

This option has been deprecated and is no longer used. It has been replaced by the simpler option ide:source-file-types.

This configuration option determines what types of files are listed in the file-selection dialog when the IDE requests a lisp source code file. Specifically, when the Open, Save, or Compile command on the File menu is invoked, the value returned by this function is passed as the allowed-types argument to ask-user-for-existing-pathname or ask-user-for-new-pathname. (For the Save command, this applies only in the editor.)

Here is the default value. See the description of the allowed-types keyword argument of ask-user-for-existing-pathname or ask-user-for-new-pathname for an explanation of the format of this list. The types themselves are largely taken from sys:*source-file-types*.

(("Lisp files" . "*.cl;*.lsp;*.lisp;*.jil")
 ("All files" . "*.*"))

The setf of this function may be called to set the value of this option, or use the Tools | Inspect System Data | IDE Configuration Options menu command. For example, if you would like text files to be listed along with lisp source code files when using the File | Open command, the following call would make that happen:

(setf (file-dialog-source-types (configuration *ide-system*))
  '(("Lisp files" . "*.cl;*.lsp;*.lisp;*.jil;*.txt")
    ("All files" . "*.*")))

This configuration option replaces the variable cg:*edit-allowed-types*, which is no longer supported. (In earlier releases, it provided the default for the types, having a value much like the default return value of this function.)


Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
This page has had significant revisions compared to the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Significantly revised from 8.1.
8.1 version