Configuration

From FlashDevelop

Jump to: navigation, search

Contents

Configuration files

By default, FlashDevelop supports multiple users on a machine (except if you install in "standalone mode"). This means user configuration is stored in user files. You can can safely remove the FlashDevelop directory in your user files. These files will be restored when you restart FlashDevelop.

User files location depends on your OS:
  • Windows XP: C:\Document and Settings\<username>\Local Settings\Application Data\FlashDevelop
  • Windows Vista / 7 / 8: C:\Users\<username>\AppData\Local\FlashDevelop

Locating the configuration files

Tip - Some setting files are not copied into your user files

In this case, you can copy an existing setting file:

  • from: C:\Program Files\FlashDevelop
  • to: C:\Document and Settings\<username>\Local Settings\Application Data\FlashDevelop

Just follow the way files are organized, FD will pick the user version if it exists.

User files organization

The user files contain the following contents:

(*) = If you customize the files you should place them here. They can be found from the "FD/Settings" directory.

Editing menu items

You can edit all main menu and context menu items from the XML files in the "FD/Settings/" directory. When you change these files you should place the customized files to the "Setting" directory under user application data directory. If you are running in standalone mode you should edit the files in the application directory.

Tip - Adding shortcuts to user snippets
  • Create a snippet as usual, using the Snippet Editor (shortcut in main toolbar)
  • Add a shortcut in your MainMenu.xml (you'll want to duplicate it in your user files):
(default snippets list shortcut)
<button label="Label.Snippet" click="InsertSnippet" shortcut="Control|B" tag="null" flags="Enable:IsEditable" />

(add your snippets shortcuts)
<button label="Snippet name" click="InsertSnippet" shortcut="Control|Alt|B" tag="snippetname" flags="Enable:IsEditable" />

Editing snippets

The user snippet files are located in the application data directory and you can edit them directly in there or use the Code Snippet dialog in FlashDevelop. If you are running in standalone mode you should edit the files in the application directory.

Editing templates

The user templates are located in the application data directory and you can edit them directly from there. If you are running in standalone mode you should edit the files in the application directory.

Editing syntax coloring

You should edit the syntax coloring from the Syntax Coloring dialog from Tools->Syntax Coloring...

Syntax files are located in /Settings/Languages/. Each syntax file indicates:

Supported lexers and style names are defined in FD sourcecode: http://code.google.com/p/flashdevelop/source/browse/trunk/FD4/PluginCore/ScintillaNet/Lexers.cs

Configuring the Flex SDK

FlashDevelop will configure the installer downloaded tools automaticly on the next startup.

Manual configuration of the Flex SDK

Once you've downloaded the Flex SDK, unzip it in a user directory (ie. not under Program Files).

Start FlashDevelop and go in the program settings,

Then in FlashDevelop go to Tools -> Flash Tools -> Documentation Generator -> Settings

Project-specific Flex SDK

For some projects you may want to use a specific Flex SDK version:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox