What is the full path to the Packages folder for Sublime text 2 on Mac OS Lion

前端 未结 5 1443
忘了有多久
忘了有多久 2020-12-07 10:15

I\'m not seeing this question anywhere so I can only assume I\'m doing something really stupid but...

What is the full path to the \"Packages\" folder for Sublime T

相关标签:
5条回答
  • 2020-12-07 10:23

    A useful shortcut from inside Sublime Text:

    cmd-shift-P --> Browse Packages Now open user folder.

    0 讨论(0)
  • 2020-12-07 10:24

    You can browse package folder below method.

    1. Use Sublime Text 2 menu : Preferences\Browse Packages
    2. In Windows 7 : C:\Users\%username%\AppData\Roaming\Sublime Text 2\Packages (equals %appdata%\Sublime Text 2\Packages)
    0 讨论(0)
  • 2020-12-07 10:30

    1. Solution

    Open Sublime Text console → paste in opened field:

    sublime.packages_path()
    

    Enter. You get result in console output.


    2. Relevance

    This answer is relevant for April 2018. In the future, the data of this answer may be obsolete.


    3. Not recommended

    I'm not recommended @osiris answer. Arguments:

    1. In new versions of Sublime Text and/or operating systems (e.g. Sublime Text 4, macOS 14) paths may be changed.
    2. It doesn't take portable Sublime Text on Windows. In portable Sublime Text on Windows another path of Packages folder.
    3. It less simple.

    4. Additional link

    • How to get current … in Sublime Text
    0 讨论(0)
  • 2020-12-07 10:34

    /Users/{user}/Library/Application Support/Sublime Text 2/Packages

    Get to it quickly from within Sublime via the menu at Sublime Text 2... Preferences... Browse Packages

    0 讨论(0)
  • 2020-12-07 10:44

    According to the documentation, in Sublime 2, the data directory should be on these locations:

    • Windows: %APPDATA%\Sublime Text 2
    • OS X: ~/Library/Application Support/Sublime Text 2
    • Linux: ~/.config/sublime-text-2

    This information is available here: http://docs.sublimetext.info/en/sublime-text-2/basic_concepts.html#the-data-directory

    For Sublime 3, the locations are the following:

    • Windows: %APPDATA%\Sublime Text 3
    • OS X: ~/Library/Application Support/Sublime Text 3
    • Linux: ~/.config/sublime-text-3

    This information is available here:http://docs.sublimetext.info/en/sublime-text-3/basic_concepts.html#the-data-directory

    0 讨论(0)
提交回复
热议问题