Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9483ac2

Browse files
committed
Added shorted file names
1 parent 5db9ab7 commit 9483ac2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plist/generate_list.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
keys = xmldoc.getElementsByTagName('dict')[0].getElementsByTagName('key')
99
summary = ""
1010
prefix = ""
11+
file_short = file[:file.find('-')]
1112
for key in keys:
1213
if key.firstChild.nodeValue == 'IDECodeSnippetSummary':
1314
summary = key.nextSibling.nextSibling.firstChild.nodeValue
1415
elif key.firstChild.nodeValue == 'IDECodeSnippetCompletionPrefix':
1516
prefix = key.nextSibling.nextSibling.firstChild.nodeValue
16-
print "%s:[%s] %s" % (file, prefix, summary)
17+
print "%s... :[%s] %s" % (file_short, prefix, summary)

0 commit comments

Comments
 (0)