Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSV Syntax Definition
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>csv</string>
</array>
<key>name</key>
<string>Comma-Separated Values</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>"</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.csv</string>
</dict>
</dict>
<key>end</key>
<string>"</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.csv</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.csv</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>""</string>
<key>name</key>
<string>constant.character.escape.csv</string>
</dict>
</array>
</dict>
<dict>
<key>match</key>
<string>,</string>
<key>name</key>
<string>keyword.operator.comma.csv</string>
</dict>
</array>
<key>scopeName</key>
<string>source.csv</string>
<key>uuid</key>
<string>52759074-4591-47e8-a812-c86cf7a6881a</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.