Skip to content

Instantly share code, notes, and snippets.

@sickworm
Last active June 9, 2022 12:12
Show Gist options
  • Save sickworm/8ae911809f29c38767171767aed2ed3d to your computer and use it in GitHub Desktop.
Save sickworm/8ae911809f29c38767171767aed2ed3d to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>log</string>
<string>logcat</string>
</array>
<key>firstLineMatch</key>
<string>-* beginning of /dev/log/.*</string>
<key>name</key>
<string>Logcat (Android Studio)</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#verbose</string>
</dict>
<dict>
<key>include</key>
<string>#debug</string>
</dict>
<dict>
<key>include</key>
<string>#info</string>
</dict>
<dict>
<key>include</key>
<string>#warn</string>
</dict>
<dict>
<key>include</key>
<string>#error</string>
</dict>
<dict>
<key>include</key>
<string>#other</string>
</dict>
</array>
<key>repository</key>
<dict>
<key>debug</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.date</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.time</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.pid</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.tid</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>comment.logcat.type</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>8</key>
<dict>
<key>name</key>
<string>comment.logcat.msg</string>
</dict>
</dict>
<key>match</key>
<string>(?x)^ ([\d-]+)\s+([\d:.]+)\s+ (\d+)\-(\d+)\/ (.*?)\s+ ([D])\/(.*?):\s+ (.*) $</string>
<key>name</key>
<string>meta.logcat.line.debug</string>
</dict>
</array>
</dict>
<key>error</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>comment.logcat.msg</string>
</dict>
</dict>
<key>match</key>
<string>^.*$</string>
<key>name</key>
<string>meta.logcat.line.other</string>
</dict>
</array>
</dict>
<key>info</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.date</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.time</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.pid</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.tid</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>comment.logcat.type</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>8</key>
<dict>
<key>name</key>
<string>comment.logcat.msg</string>
</dict>
</dict>
<key>match</key>
<string>(?x)^ ([\d-]+)\s+([\d:.]+)\s+ (\d+)\-(\d+)\/ (.*?)\s+ ([I])\/(.*?):\s+ (.*) $</string>
<key>name</key>
<string>meta.logcat.line.info</string>
</dict>
</array>
</dict>
<key>verbose</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.date</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.time</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.pid</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.tid</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>comment.logcat.type</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>8</key>
<dict>
<key>name</key>
<string>comment.logcat.msg</string>
</dict>
</dict>
<key>match</key>
<string>(?x)^ ([\d-]+)\s+([\d:.]+)\s+ (\d+)\-(\d+)\/ (.*?)\s+ ([V])\/(.*?):\s+ (.*) $</string>
<key>name</key>
<string>meta.logcat.line.verbose</string>
</dict>
</array>
</dict>
<key>warn</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.date</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.logcat.timestamp.time</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.pid</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>constant.numeric.logcat.tid</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>comment.logcat.type</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>entity.name.tag.logcat.tag</string>
</dict>
<key>8</key>
<dict>
<key>name</key>
<string>comment.logcat.msg</string>
</dict>
</dict>
<key>match</key>
<string>(?x)^ ([\d-]+)\s+([\d:.]+)\s+ (\d+)\-(\d+)\/ (.*?)\s+ ([W])\/(.*?):\s+ (.*) $</string>
<key>name</key>
<string>meta.logcat.line.warn</string>
</dict>
</array>
</dict>
</dict>
<key>scopeName</key>
<string>source.logcat.android-studio</string>
<key>uuid</key>
<string>4577654e-75a2-4892-981a-793e6132f289</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment