yUML
yUML (yuml.me) support for Sublime Text.
Details
Installs
- Total 3K
- Win 1K
- Mac 968
- Linux 718
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 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Linux | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
yUML for Sublime Text
Makes using yUML from Sublime Text easier. Making two great tools better by making them work together.
Sublime Text 2 and 3 on all platforms should be supported.
Features
There are currently only two features, but they're the features you want.
Syntax highlighting for *.yuml files.
Opening Diagrams in Browser
Install
Please use Package Control. You'll be happier that way unless you plan on hacking on the code.
- Package Control: Install Package
- Install “yUML”
Usage
Syntax highlighting will automatically be done for files with a .yuml extension. For files with different extensions, you will have to set the syntax yourself.
To open your diagram in your default browser, open the command palette with super-shift-p
then search for yuml diagram
and select yUML: Open Diagram in Browser.
Alternatively, you may use the keybinding super-b
.
To change the diagram settings, open the command palette with super-shift-p
then search for yuml user
and select Preferences: yUML Settings - User. This will open your user settings for yUML. This is a JSON file which can contain overrides of the following default settings.
{
/*
* Default diagram type.
*
* Valid options: activity, class, usecase
*/
"default_type": "class",
/*
* Default output file type.
*
* Valid options: jpg, json, pdf, png, svg
*/
"default_extension": "png",
/*
* Default diagram style.
*
* Valid optins: nofunky, plain, scruffy
*/
"default_style": "scruffy",
/*
* Default diagram orientation.
*
* Valid options:
* LR = Left-to-right
* RL = Right-to-left
* TB = Top-to-bottom
* BT = Bottom-to-top
*/
"default_dir": "LR",
/*
* Default output scale where applicable.
*
* Valid options:
* 60 = Tiny
* 80 = Small
* 100 = Normal
* 120 = Big
* 180 = Huge
*/
"default_scale": "100",
}
Additional Commands
If you would prefer not to set a default setting each time you create a diagram, you may simply use one of the following three commands.
- Open Class Diagram in Browser
- Open Activity Diagram in Browser
- Open Use Case Diagram in Browser
Caveats
It has come to my attention that diagrams that encode to URIs longer than 4096 characters will not work. I've made a clear error message to indicate this is a problem in version 1.0.1, but am looking to switch to POST request instead of GET requests in a future version to supporter larger diagrams.