-
Notifications
You must be signed in to change notification settings - Fork 104
First Use
When you first run this package from the command palette, it will launch a browser window with your Evernote developer token. Copy the token and paste it into the prompt at the bottom of your Sublime window. Sublime will store the token data in Sublime Text 3/Packages/User/SublimeEvernote.sublime-settings
.
If you need to reconfigure the plugin go to Preferences > Package Settings > Evernote
and select Reconfigure Authorisation
or goto
Command Palette
> Evernote: Reconfigure
The authentication method makes use of the Developer Token which is a unique secret automatically generated "password" linked to your account and grants read-write access to your Evernote.
This token will be saved in your user settings in the Evernote.sublime-settings
: it is therefore important that you keep that file secret or others may get access to your notes. So make sure you do not share this publicly!
If you want to revoke access to your notes via the Developer Token, or generate a new one (for example if you accidentally shared yours) just go to
https://www.evernote.com/api/DeveloperToken.action
and revoke access to it first and grant access back to the plugin using the "Reconfigure Evernote" command in Sublime Text.
The configuration step is meant to work for users registered at the domain evernote.com
.
The plugin is however perfectly compatible with the Chinese domain for Evernote, yinxiang.com
.
Here's how to configure it for yinxiang.com
:
- Goto https://app.yinxiang.com/api/DeveloperToken.action, login if prompted
- You will get two pieces of information from that page:
- your Developer Key Token: a long string starting with
S=
- the NoteStore URL: an URL starting with
https://app.yinxiang.com/shard
- In Sublime Text go to
Preferences > Package Settings > Evernote > Settings - User
- In the settings file you will find two keys (if not create them):
token
noteStoreUrl
-
Copy your developer key as the value of the
token
setting:"token": "S=.............................",
-
Copy your note store URL into the
noteStoreUrl
setting replacinghttps://
withhttp://
:"noteStoreUrl": "http://app.yinxiang.com/shard..../notestore",
-
Save the settings file and try to open a note to verify the process has been successful
插件中的应用授权(Reconfigure Authorization)默认是面向 Evernote International 用户, 如果你是中国印象笔记(app.yinxiang.com)用户,此插件同样适用,只需进行如下的修改:
-
打开 https://app.yinxiang.com/api/DeveloperToken.action 并登陆,获取应用授权
-
你将获得 Developer Token 和 NoteStore URL
-
打开 Sublime Evernote 插件的设置文件
Preferences > Package Settings > Evernote > Settings - User
-
将上面获取到的信息复制到相应的位置, 格式是:
{ "noteStoreUrl": "你的 NoteStore URL", "token": "你的 Developer Token" }
-
token 是以
S=
开头的一串字符串 -
noteStoreUrl 是一段 http 地址,你需要手动将
https
替换成http
-
保存设置文件(可能还需要重启你的
Sublime Text
)之后,尝试打开一个笔记以确保你的印象笔记能正常工作