Sha256: 66fbc955458e9670dbc7455811ab88e0fa715796d53f36fca2c066164fd84a90

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

---
layout: post
title:  "Geany"
permalink: /editors/geany/
keywords: editor, ide, ruby, picrate, vim, emacs, geany
---
Geany is highly configurable, and we have created a `geany` project file `picrate.geany` and sketch template `picrate.rb` for you, that get installed when you:-

```bash
picrate --install samples
```

#### Using picrate.rb template ####

![select picrate.rb]({{ site.github.url }}/assets/picrate_template.png)

Remember to give untitled sketch a new name (PS: it's easy to create your own templates):-

![new with template]({{ site.github.url }}/assets/new_with_template.png)

Use `make` to check syntax and `run` to run sketch

See running sketch below:-

![geany]({{ site.github.url }}/assets/geany.png)

#### Advanced options
1. rubocop

If you install the `rubocop` gem you can use the Build/Rubocop control to do a static test on the current file. You can configure `rubocop` to ignore selected rules if you wish. Or use it to auto-correct issues.

2. reek

If you are keen to develop your `OO` skills analysing your sketch code for smells can be instructive see references:-

* Practical Object-Oriented Design in Ruby - Sandi Metz
* Refactoring (Ruby Edition) - Jay Fields, Shane Harvie, Martin Fowler
* 99 Bottles of OOP - Sandi Metz and Katrina Owen

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picrate-1.2.2-java docs/_editors/geany.md