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

Fix package storage path in a docstring description #2256

Merged
merged 4 commits into from
May 17, 2023

Conversation

jwortmann
Copy link
Member

The %AppData%/Sublime Text/Roaming path from the docstring of the get_storage_path function doesn't exist.

Could someone confirm whether the paths on macOS and Linux are correct?

@rchl
Copy link
Member

rchl commented May 14, 2023

Mac is correct at least. Though if someone would copy & paste then it wouldn't work without escaping spaces manually. So maybe we should quote the path.

@predragnikolic
Copy link
Member

The path on Linux for package Storage is ~/.cache/sublime-text/Package\ Storage

Co-authored-by: Предраг Николић <[email protected]>
@rchl
Copy link
Member

rchl commented May 17, 2023

Decided not to quote on mac because it doesn't help with opening on the terminal

cd '~/Library/Application Support/Sublime Text'
cd: no such file or directory: ~/Library/Application Support/Sublime Text

Only this works:

cd ~/Library/Application\ Support/Sublime\ Text

but I suppose that we shouldn't escapes spaces here as it's not really clearly meant for opening in the terminal

@rchl rchl changed the title Fix a docstring description Fix package storage path in a docstring description May 17, 2023
@rchl rchl merged commit 6cb285d into sublimelsp:main May 17, 2023
@jwortmann jwortmann deleted the fix-docstring branch May 17, 2023 17:11
rchl added a commit that referenced this pull request May 30, 2023
* main:
  fix "Error rewriting command" warning triggered on startup (#2277)
  Take font style of sighelp active parameter from color scheme (#2279)
  Add argument "include_declaration" to "lsp_symbol_references" (#2275)
  fix crash on checking excluded folders with missing project data (#2276)
  Fix tagged diagnostics flickering on document changes (#2274)
  Cut 1.24.0
  use class for diagnostic info instead of hardcoding color (#2257)
  Fix package storage path in a docstring description (#2256)
  Use regular font style in sighelp popup if already highlighted by color scheme (#2259)
  update note about custom color scheme rule used for diagnostics (#2254)
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

Successfully merging this pull request may close these issues.

3 participants