Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/superDross/class-builder

Quickly write class declarations in vim.
https://github.com/superDross/class-builder

Last synced: 4 months ago
JSON representation

Quickly write class declarations in vim.

Awesome Lists containing this project

README

        

# Class Builder
Quickly write class declarations in vim.

## Usage
Executing `:Class Person name age` within a `.py` file results in the following.
```python
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
```
Executing the same command above in a `.js` file results in the following.
```javascript
class Person {
constructor(name, age) {
this.name = name;
this.age = age;
}
}
```

## Installation
For vim-plug
```vim
Plug 'superDross/class-builder'
```