forked from textmate/textmate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tm_properties
44 lines (33 loc) · 2.07 KB
/
.tm_properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Settings
windowTitleProject = '${projectDirectory:+ — ${projectDirectory/^.*\///}}'
windowTitleFramework = '${TM_DIRECTORY/.*\/Frameworks\/([^\/]+)\/.*|.*/${1:+ ($1)}/}'
windowTitle = '$TM_DISPLAYNAME$windowTitleFramework$windowTitleProject$windowTitleSCM'
excludeDirectoriesInFileChooser = '{bin/CxxTest,build,SyntaxMate.tmBundle}'
excludeDirectoriesInFolderSearch = '{bin/CxxTest,build,SyntaxMate.tmBundle}'
# Variables
TM_ORGANIZATION_NAME = 'MacroMates'
TM_TODO_IGNORE = '/(build|CxxTest|PlugIns|vendor)/|\.(md|html)$'
TM_BUILD_DIR = '${builddir:-$HOME/build/${CWD/.*\///}}'
TM_FRAMEWORKS = 'authorization buffer BundleEditor BundleEditor BundleMenu bundles BundlesManager cf command CommitWindow crash CrashReporter document DocumentWindow editor encoding file FileBrowser Find HTMLOutput HTMLOutputWindow io layout license MenuBuilder network ns OakAppKit OakCommand OakDebug OakFilterList OakFoundation OakSystem OakTabBarView OakTextView parse plist Preferences regexp scm scope selection settings SoftwareUpdate text theme undo updater version'
TM_FRAMEWORK_INCLUDE = '${TM_FRAMEWORKS/\w+/-I"${TM_BUILD_DIR}\/release\/_Include\/$0\/include"/g}'
TM_CXX_FLAGS = '$TM_CXX_FLAGS -I"$CWD/Shared/include" ${TM_FRAMEWORK_INCLUDE}'
TM_OBJCXX_FLAGS = '$TM_OBJCXX_FLAGS -I"$CWD/Shared/include" ${TM_FRAMEWORK_INCLUDE}'
TM_NINJA_FILE = '${CWD}/build.ninja'
TM_NINJA_TARGET = 'TextMate/run'
TM_ISSUE_URL = 'https://github.com/textmate/textmate/issues/%s'
[ 'source.c++, source.objc++' ]
tabSize = 3
softTabs = false
TM_C_POINTER = "* "
[ *.h ]
fileType = 'source.objc++'
[ attr.untitled ]
fileType = 'source.objc++'
[ Applications/**~mate/** ]
TM_NINJA_TARGET = '${TM_DIRECTORY/^.*\/Applications\/([^\/]+)(\/.*)?$/$1\/run/}'
[ tests/t_*.{cc,mm} ]
scopeAttributes = 'attr.test.cxxtest'
TM_NINJA_TARGET = '${TM_FILEPATH/^.*?([^\/]*)\/tests\/.*$/$1\/test/}'
[ tests/gui_*.mm ]
GUI_TESTS = '${TM_FILENAME/^gui_(.*)\.mm$/$1/}'
TM_NINJA_TARGET = '${TM_FILEPATH/^.*?([^\/]*)\/tests\/.*$/$1\/cxx_test/}'