Skip to content
项目

关于

PlantUML 时序图的行内预览。我的天!

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Oh shit! Lock up your daughters it's ...

███████╗██╗     ██╗   ██╗███╗   ███╗██╗      ██████╗ ██████╗ ██████╗ 
██╔════╝██║     ██║   ██║████╗ ████║██║     ██╔═══██╗██╔══██╗██╔══██╗
███████╗██║     ██║   ██║██╔████╔██║██║     ██║   ██║██████╔╝██║  ██║
╚════██║██║     ██║   ██║██║╚██╔╝██║██║     ██║   ██║██╔══██╗██║  ██║
███████║███████╗╚██████╔╝██║ ╚═╝ ██║███████╗╚██████╔╝██║  ██║██████╔╝
╚══════╝╚══════╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═════╝ 

Introduction

Slumlord is built atop the wang-hardeningly awesome plantuml. It gives you a "live preview" of your UML diagrams when you save.

Demo

Installation

First you need Java installed.

Then, install this plugin with your favourite vim plugin manager.

For vundle, just stick this in your vimrc and smoke it:

Plugin 'scrooloose/vim-slumlord'

Then run :Vundle install

I also recommend installing the plantuml-syntax plugin as Slumlord uses this for its syntax file.

Plugin 'aklt/plantuml-syntax'

Usage

Edit a .uml file and enter some plantuml code. When you save it, a preview will be forcefully inserted/updated at the top of your file!

Note: I have only used this for sequence diagrams - the ASCII output of plantuml seems to be less than stellar for other diagram types.

探索相关项目

加载中…