question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Location of settings.json

See original GitHub issue

Is there a reason the config file is in ~/.local/share/hatch/settings.json instead of ~/.config/hatch/settings.json aka $XDG_CONFIG_HOME/hatch/settings.json

as per http://standards.freedesktop.org/basedir-spec/latest

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ofekcommented, Dec 30, 2021

Hatch has been rewritten from scratch and now uses https://github.com/platformdirs/platformdirs, see https://ofek.dev/hatch/latest/config/hatch/

1reaction
LucidOnecommented, Feb 18, 2019

https://github.com/ofek/hatch/blob/51d03f3eb77f7ae11072f1ccd099b730daa6ef06/hatch/settings.py#L12

I was thinking this might be user_config_dir() instead so that hatch work more like other programs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I open Visual Studio Code's 'settings.json' file?
Open the command palette (either with F1 or Ctrl + Shift + P ) · Type "open settings" · You are presented with...
Read more >
How to edit settings.json in Visual Studio Code?
File -> Preferences -> Settings -> Extensions -> Scroll down and find "Edit in settings.json" · Or in these paths in your OS....
Read more >
How to open settings.json file in vscode ? - OurTechRoom
2 Click on Gear Icon located at the bottom left corner. 3 Then Click on Settings. 4 Click on File like icon located...
Read more >
Visual Studio Code: settings.json
Location of settings.json ; %APPDATA%\Code\User · Windows ; $HOME\.config\Code\User, Linux ; $HOME\Library\Application Support\Code\User, macOS ...
Read more >
Fastest Way To Open settings.json In VSCode - Semicolon.dev
To open settings.json file in VS Code, go to File menu, select Preferences, then select Settings. Or press Ctrl + , (comma). Then,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found