ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Package​Resource​Viewer

by skuroda ALL Top 100

Sublime Text plugin to view package resources.

Details

  • 1.1.0
    1.0.0
  • github.​com
  • github.​com
  • 5 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 350K
  • Win 186K
  • Mac 101K
  • Linux 62K
Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3
Windows 18 17 12 9 16 19 18 30 20 12 8 16 13 25 26 28 11 10 15 19 21 17 12 12 31 19 22 19 26 22 23 23 18 16 16 19 8 20 23 18 25 13 21 21 24 17
Mac 6 9 6 8 11 9 9 12 13 6 9 8 11 11 6 13 3 7 9 9 7 10 11 7 8 7 19 14 12 11 8 5 5 6 7 7 7 5 8 4 9 9 11 6 12 11
Linux 4 6 3 4 2 4 4 3 7 5 6 2 9 3 5 7 5 5 9 5 2 2 3 3 6 5 3 8 5 5 5 2 3 11 3 2 5 1 3 5 7 6 8 3 9 4

Readme

Source
raw.​githubusercontent.​com

PackageResourceViewer

Plugin to assist viewing and editing package resources in Sublime Text 2 and Sublime Text 3.

Installation

Note with either method, you may need to restart Sublime Text for the plugin to load properly.

Package Control

Installation through package control is recommended. It will handle updating your packages as they become available. To install, do the following.

  • In the Command Palette, enter Package Control: Install Package
  • Search for PackageResourceViewer

Manual

Clone or copy this repository into the packages directory. Ensure it is placed in a folder named PackageResourceViewer. By default, the Packages directories for Sublime Text 2 are located at:

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

By default, the Packages directories for Sublime Text 3 are located at:

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

Usage

Commands

PackageResourceViewer: Open Resource:

Command to open the resource. If saved, the correct directory structure will be created in the Packages folder. This command will only be displayed if the single_command setting is true.

PackageResourceViewer: Extract Package:

Command to extract a package to the Packages directory. This command is only available in ST3.

PackageResourceViewer: View Package Resource:

Open package resource as read only. This command will only be displayed if the single_command setting is false.

PackageResourceViewer: Edit Package Resource:

Open package resources as an editable file. Upon execution, this plugin will create a directory (if necessary) as well as save the resource. This command will only be displayed if the single_command setting is false.

Settings

ignore_patterns:

A list of regular expressions patterns to ignore. Note that these regular expressions are compared against the file or directory name.

open_multiple:

Boolean to keep selection panel open after selecting a resource to open.

single_command:

Boolean setting specifying if a single command should be listed in the command palette for viewing and editing files or if multiple commands should be used.

return_to_previous:

True if, when moving up a directory, you would like the previous selection to be automatically chosen. False otherwise.

License

The MIT License (MIT)

Copyright © 2013 Scott Kuroda

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, sOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.