Generic FunctionPackage: ideToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version


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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version