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

AMD-Module-Editor

by wukkuan ST3

Sublime AMD Module Editor

Details

  • 2013.09.01.21.46.03
  • github.​com
  • github.​com
  • 6 years ago
  • 3 hours ago
  • 3 months ago

Installs

  • Total 2K
  • Win 1K
  • OS X 693
  • Linux 336
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 0 0 1 0 2 0 0 0 0 0 0 1 0 1 2 0 0 2 0 0 2 2 0 0 0 0 1 0 0 1
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

AMD Module Dependency Editor

AMD Module Editor is a plugin for Sublime Text 3 used to ease the editing of your module definition's list of dependencies. It provides the ability to add, edit, and delete modules from within Sublime Text using your own formatting rules.

Installation

Package Control

The best way to install AMD Module Dependency Editor is to use Sublime Package Control. Follow its instructions for installation, and use the Package Control: Install Package command to install AMD Module Dependency Editor.

Manual Installation

To manually install AMD Module Dependency Editor, clone this repository into your Sublime Text 3 Packages directory.

Usage

There are two actions you can perform with AMD Module Editor, edit and delete. Edit allows you to add, edit, or just view your module list. Delete allows you to remove a module that is no longer required.

To add a new module, open the edit panel, and choose the first option that says “Add New Module” and press enter. At the bottom of the window, you'll next be prompted for one or more input values, according to the state. Finally, the new module will be added to the end of your dependency list.

Editing and deleting a module works similarly to creating a new one.

The first thing you will be asked to input will be the path to the module. You don't need to add quotes here, they'll be inserted automatically.

Next, you will be prompted for the argument to the module function if it would be valid to do so. You will not be prompted if you've set disableArguments to true or if you've left an argument blank for a previous module in the list.

Default Key Bindings

Windows/Linux:

Delete Panel ctrl+alt+shift+a
Edit Panel ctrl+alt+a

Mac OS X:

Delete Panel cmd+alt+shift+a
Edit Panel cmd+alt+a

Configuration

To configure the plugin, use the Sublime Text menu to navigate to Preferences | Package Settings | AMD Module Editor. From there, you can view the default settings and key bindings (do NOT edit the default settings or bindings, they will be overwritten when the plugin updates) to look for examples. Then you can edit the user settings and bindings as you please.

Issues

If you have any issues, feel free to contact me directly and I'll work to help you through it.

Email/Jabber - williamblasko@gmail.com
Twitter - @wukkuan

Running Tests (for developers)

Tests can be run by going to the command line, changing to the package's directory, and running:

python -m unittest discover -s tests

License

All of AMD Module Editor is licensed under the MIT license.

Copyright © 2012 William Blasko williamblasko@gmail.com

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, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.