This extension is for VSCode client for Yuque.
-
Clone Yuque Repo's TOC
-
Create/Fetch/Open/Update/Delete Document
-
Can only update the docuemnt which is created by the extension
-
Commands:
- Yuque Clone Command: Clone a yuque repo into a TOC.yaml
- Yuque Create Document Command: Create a document and reponse a widget to input title and redirect to yuque website for toc arrange
- Yuque Open Document Command: Open a document of a TreeViewItem
- Yuque Update Document Command: Update Document
- Yuque Update TOC Command: Update the Current Repo
- Yuque Delete Document Command: Delete Document
-
Views
- Yuque Outline View: Visualize TOC.yaml into a tree view
yuqueCli.APIToken
: the access token of Yuque API, generate hereyuqueCli.EndPoint
: the url of Yuque Backend, the form ishttps://<yuque domain name>/api/v2/
, for example,https://www.yuque.com/api/v2/
yuqueCli.Active
: true or false, specify which folder is active for yuque, for multi root workspace
- Yuque Update Document Response
- Change Command Name
- Add shortcup in the TreeView
- Design custom Source Control to display modification
- Fix update document without update stats in SCM
- Support Clone Group Repo
- Add Open in Website Command
- Add Yuque Arrange TOC Command
- Add Command to Switch Active Folder
- Add DocumentName in SourceControl
- Open Document when click item in SourceControl
- Use DB to store all the things
- Display The status of Document - use icons
Clone a Yuque Repo
- open a folder in vscode
- Call
Yuque Clone Command
, which will create a TOC.yaml file in the workspace
Create New Document
- Call
Yuque Create Document
command, which will use yuque API to create a document - Visit the website to add the document into TOC (the vscode will open the url atomatically)
- Call
Yueue Update TOC
command - View update on Yuque Outline
Fetch and Modify Document
- Right Click TreeItem in YuqueOutline and Choose to fetch document
- Right Click TreeItem in YuqueOutline and Choose to open document
- Modify with markdown
- Right Click TreeItem in YuqueOutline and Choose to update document