-
Notifications
You must be signed in to change notification settings - Fork 263
/
README
56 lines (44 loc) · 1.78 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Auto-close brackets
===================
.. image:: http://dl.dropboxusercontent.com/u/59878867/geany-autoclose.gif
:width: 778
:alt: autoclose plugin
:align: right
.. contents::
About
-----
This plugin enables auto-closing features. Auto-closing works while you typing
and intellectually helps you to write code.
Features
--------
* auto-close for: { }, [ ], ( ), " ", ' ', < >, ` `
* customizeable auto-closing inside strings and comments
* delete pairing character if you pressed BackSpace
* suppress inserting one char twice (if you type "{}" you will get "{}", not
"{}}")
* enclose selected text into brackets instead of removing selection (select
text and type "(" or ")" to enclose selection into "()")
* keep selection when enclosing
* for C-like languages enclosing selection into "{}" makes auto-indentation
(select text and type "{" or "}" - text will be enclosed and indented)
* enclosing in {} moves cursor to beginning (before "{" character)
* for C-like languages to insert {}-block you do not need to select text
precisely: plugin detects boundaries automatically, just ensure that selection
covers lines you need to indent (works like TAB indentation)
* fix auto-indent inside {} (makes full indent for this block)
* auto-close curly bracket by pressing Enter
* auto-close functions (``"sin(|" -> "sin(|);"``) with doubling suppression
(for C/C++ languages only)
* remove paring brace when pressing Shift+BackSpace, unindent {}-blocks
* add semicolon after ``struct {|};`` and ``class {|};``
* move cursor to closed char by pressing Tab
Usage
-----
After installed successfully, load the plugin in Geany's plugin manager. You may
change module preferences.
Requirements
------------
* GTK >= 2.8.0
Contact developers
------------------
Pavel Roschin <rpg89(at)post(dot)ru>