Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望梳理一下 conf.json 和 local.json #10745

Closed
zhoutaosheng opened this issue Mar 26, 2024 · 1 comment
Closed

希望梳理一下 conf.json 和 local.json #10745

zhoutaosheng opened this issue Mar 26, 2024 · 1 comment

Comments

@zhoutaosheng
Copy link

In what scenarios do you need this feature?

conf.json,很多人希望其中的设置,可以同步给多个设备,但其中,有很多本地的设置。

比如会存放跟本地设备相关的设置

  "system": {
    "kernelVersion": "3.0.3",
    "os": "windows",
    "osPlatform": "Microsoft Windows 11 Pro",
    "container": "std",
    "isMicrosoftStore": false,
    "isInsider": false,
    "homeDir": "C:\\Users\\XXX",
    "workspaceDir": "D:\\Workspace\\SiyuanNotes",
    "appDir": "C:\\Users\\XXX\\AppData\\Local\\Programs\\SiYuan\\resources",
    "confDir": "D:\\Workspace\\SiyuanNotes\\conf",
    "dataDir": "D:\\Workspace\\SiyuanNotes\\data",

而 local.json,我的理解是跟本地设备相关的设置,但其中,存储了一些可以多个设备同步的设置

比如正在使用的语言、使用的查询条件等等

"local-codelang": "c",
  "local-dialogposition": {
    "dialog-globalsearch": {
      "height": 929,
      "left": 192,
      "top": 51,
      "width": 1536
    }
  },
  "local-searchdata": {
    "group": 0,
    "hPath": "",
    "hasReplace": false,
    "idPath": [],
    "k": "",
    "method": 0,
    "name": "只搜索文档和标题",

Describe the optimal solution

希望本地的归本地,可以同步的归conf.json

Describe the candidate solution

No response

Other information

No response

@TCOTC
Copy link
Contributor

TCOTC commented Mar 26, 2024

相关 #10617

@88250 88250 closed this as completed Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants