outputchannel 的一部分内容
./cqh_file_watcher/__main__.py:6:1: E303 too many blank lines (4)
我想让 ./cqh_file_watcher/__main__.py:6:1:
这一部分可以点击,
这个 outputchannel 应用的 language 是
<?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>scopeName</key>
<string>file-watcher.output</string>
<key>name</key>
<string>file-watcher-output</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>token.info-token</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>token.info-token</string>
</dict>
</dict>
<key>match</key>
<string>(\[onFolderChange\]).*(\".+\")</string>
<key>name</key>
<string>file-watcher.folderChange</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>token.info-token</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>token.info-token</string>
</dict>
</dict>
<key>match</key>
<string>(\[onFileChange\]).*(\".+\")</string>
<key>name</key>
<string>file-watcher.fileChange</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>token.warn-token</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>token.warn-token</string>
</dict>
</dict>
<key>match</key>
<string>(\[cmd\])(.*)</string>
<key>name</key>
<string>file-watcher.cmd</string>
</dict>
<dict>
<key>match</key>
<string>\[(?i:(Down|Error|Failure|Fail|Fatal))\]</string>
<key>name</key>
<string>token.error-token</string>
</dict>
<dict>
<!-- Generic URI/URL -->
<key>match</key>
<string>\b(?i:([a-z]|[0-9])+\:((\/\/)|((\/\/)?(\S)))+)</string>
<key>name</key>
<string>storage</string>
</dict>
<dict>
<!-- file link -->
<key>match</key>
<string>(.*\/.*\:\d+\:\d+)</string>
<key>name</key>
<string>meta.link.inet.markdown</string>
</dict>
</array>
</dict>
</plist>
这一部分
<key>match</key>
<string>(.*\/.*\:\d+\:\d+)</string>
<key>name</key>
<string>meta.link.inet.markdown</string>
</dict>
匹配到了 path,但是 还是无法点击,
把 <string>meta.link.inet.markdown</string>
改成 <string>markup.underline</string>
有了下划线,但是也没有办法点击, 应该怎么弄呢?