当前位置: 动力学知识库 > 问答 > 编程问答 >

sublimetext3 - Adding settings to Sublime.settings file

问题描述:

I'm adding a Slack integration to my Sublime3 setup. This is the first time I'm doing this kind of customization.

My base Sublime.settings file is:

{

"bootstrapped": true,

"in_process_packages":

[

],

"installed_packages":

[

"Installed packages",

"Animate.css Snippets",

"Package Control",

"Slack" //there are otherrs

]

}

This was working fine. When I added:

{

"team_tokens": {

"Team 1": "Token 1",

"Team 2": "Token 2",

"Team 3": "Token 3"

},

"username": "myName",

"username_subtext": "via Sublime",

"show_plaform_and_name": true,

"repeat_file_ext": false,

"avatar_url": "http://www.mywebsite.com/assets/icons/icon.png"

}

I got the following error message when I attempted to save. "Error trying to parse settings: Unexpected trailing characters in Packages/User/Package Control.sublime-settings:19:1", where in the base file, line 19 position 1 is the start of the first parentheses of the additional code.

I think the problem is with the formatting, but I'm not finding the problem. Any insight?

分享给朋友:
您可能感兴趣的文章:
随机阅读: