Settings

Reference.Settings History

Hide minor edits - Show changes to markup

October 04, 2014, at 09:03 UTC by Infininight - Add lineEndings
Added line 7:
  • lineEndings — Used during save to specify the line endings to use, value should be "\n" or "\r\n".
January 07, 2012, at 23:28 UTC by Trevor Harmon - Added libiconv tip for encoding
Changed line 4 from:
  • encoding — Set to the file’s encoding. This will be used during save but is also fallback during load (when file is not UTF-8). Load encodinng heuristic is likely going to change.
to:
  • encoding — Set to the file’s encoding. This will be used during save but is also fallback during load (when file is not UTF-8). Load encodinng heuristic is likely going to change. The value for the encoding must be one of the libiconv codes (e.g., for "Windows - Western", use "CP1252").
December 29, 2011, at 00:23 UTC by hawbaker - pretty sure "TM_FLEPATH" was supposed to be TM_FILEPATH
Changed line 19 from:
  • windowTitle — override the window title. The default is $TM_DISPLAYNAME but could e.g. be changed to $TM_FIEPATH. Should add a $TM_SCM_BRANCH.
to:
  • windowTitle — override the window title. The default is $TM_DISPLAYNAME but could e.g. be changed to $TM_FILEPATH. Should add a $TM_SCM_BRANCH.
December 23, 2011, at 20:05 UTC by docwhat - Added more info about the exclude/include stuff
Changed lines 29-33 from:

The file browser, if it has a file, checks that file against the first key with a value in this order: excludeFilesInBrowser, excludeInBrowser, excludeFiles, exclude. If neither match, it then does the same with include keys, and if one match, it is included.

to:

The file browser, if it has a file, checks that file against the first key with a value in this order: excludeFilesInBrowser, excludeInBrowser, excludeFiles, exclude. If neither match, it then does the same with include keys, and if one match, it is included. Directories work the same, except using the Directories

  • InFileChooser is "Go -> Go To File... ⌘T"
  • InBrowser is the sidebar.
  • InFolderSearch is "Edit -> Find -> Find in Project ⇧⌘F"
December 18, 2011, at 09:21 UTC by Infininight -
Changed line 51 from:

---

to:

December 18, 2011, at 09:21 UTC by Infininight -
Changed lines 57-70 from:

en → English en_AU → English (Australia) en_GB → English (United Kingdom) en_CA → English (Canada) da → Danish fr → French de → German es → Spanish it → Italian pt → Portuguese pt_BR → Portuguese (Brazil) nl → Dutch sv → Swedish ru → Russian

to:

en → English
en_AU → English (Australia)
en_GB → English (United Kingdom)
en_CA → English (Canada)
da → Danish
fr → French
de → German
es → Spanish
it → Italian
pt → Portuguese
pt_BR → Portuguese (Brazil)
nl → Dutch
sv → Swedish
ru → Russian \\

December 18, 2011, at 09:20 UTC by Infininight -
Changed lines 57-71 from:

en → English en_AU → English (Australia) en_GB → English (United Kingdom) en_CA → English (Canada) da → Danish fr → French de → German es → Spanish it → Italian pt → Portuguese pt_BR → Portuguese (Brazil) nl → Dutch sv → Swedish ru → Russian pl_PL → Polish (Poland)

to:

en → English en_AU → English (Australia) en_GB → English (United Kingdom) en_CA → English (Canada) da → Danish fr → French de → German es → Spanish it → Italian pt → Portuguese pt_BR → Portuguese (Brazil) nl → Dutch sv → Swedish ru → Russian pl_PL → Polish (Poland)

December 18, 2011, at 09:20 UTC by Infininight - Add spellingLanguage values.
Changed lines 13-15 from:
  • softTabs, tabSize — Presently can only be changed this way, but there should be some memory added to Avian.
  • spellChecking, spellingLanguage — Enable/disable spelling and set language. The language is defined by Apple, I can extract a list (but depends on installed spell checkers).
to:
  • softTabs, tabSize — Presently can only be changed this way, but there should be some memory added to TextMate.
  • spellChecking, spellingLanguage — Enable/disable spelling and set language. (See below for spellingLanguage values.)
Added lines 50-71:

---

spellingLanguage Values

These values depend on which dictionaries you have installed so not all may be available. (You can see a list of what is available from the Edit → Spelling menu.)

en → English en_AU → English (Australia) en_GB → English (United Kingdom) en_CA → English (Canada) da → Danish fr → French de → German es → Spanish it → Italian pt → Portuguese pt_BR → Portuguese (Brazil) nl → Dutch sv → Swedish ru → Russian pl_PL → Polish (Poland)

December 16, 2011, at 21:17 UTC by Infininight - Page creation
Added lines 1-49:

I/O

  • binary — If set for a file, file browser will open it with external program when double clicked. Mainly makes sense when targetting specific globs.
  • encoding — Set to the file’s encoding. This will be used during save but is also fallback during load (when file is not UTF-8). Load encodinng heuristic is likely going to change.
  • fileType — The file type given as scope, e.g. text.plain.
  • useBOM — Used during save to add BOM (for those who insist on putting BOMs in their UTF-8 files).

Display

  • theme — UUID of theme, presently unused but will be back, and should allow name of theme as well (use _View → Themes_ to change theme — remember to install the Themes bundle).
  • fontName, fontSize — Name and size of font, e.g. Menlo and 13. Presently these two keys are required to override font, but there will be a font option in the _View_ menu, so this is only for special requirements.
  • showInvisibles — Sets the initial value. Can also be changed via View menu.
  • softTabs, tabSize — Presently can only be changed this way, but there should be some memory added to Avian.
  • spellChecking, spellingLanguage — Enable/disable spelling and set language. The language is defined by Apple, I can extract a list (but depends on installed spell checkers).

Projects

  • projectDirectory — the project directory, generally set to $CWD in a .tm_properties file at the root of the project. This affects TM_PROJECT_DIRECTORY and default folder for ⇧⌘F.
  • windowTitle — override the window title. The default is $TM_DISPLAYNAME but could e.g. be changed to $TM_FIEPATH. Should add a $TM_SCM_BRANCH.

Other

  • scopeAttributes — The value is added to the scope of the current file.

File Filtering Keys

These are all globs and perhaps a bit arcane.

The file browser, if it has a file, checks that file against the first key with a value in this order: excludeFilesInBrowser, excludeInBrowser, excludeFiles, exclude. If neither match, it then does the same with include keys, and if one match, it is included.

The default include key is * (so no hidden files, although see the default .tm_properties which include .htaccess and .tm_properties). The default exclude key is the empty string (nothing matches).

  • exclude
  • excludeFiles
  • excludeDirectories
  • excludeInBrowser
  • excludeInFolderSearch
  • excludeInFileChooser
  • excludeFilesInBrowser
  • excludeDirectoriesInBrowser
  • include
  • includeFiles
  • includeDirectories
  • includeInBrowser
  • includeInFileChooser
  • includeFilesInBrowser
  • includeDirectoriesInBrowser
  • includeFilesInFileChooser