-
Notifications
You must be signed in to change notification settings - Fork 1
/
newsletter_2.text
366 lines (244 loc) · 14.8 KB
/
newsletter_2.text
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Geany Newsletter #2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Table of Contents
1. About Geany
2. Geany Development
2.1. Update to Scintilla 2.25
2.2. Real-time tag parsing
2.3. Automatic indentation width detection
2.4. Fixes to template encoding
3. Plugins
3.1. New plugins
3.2. Significant updates on Split Window Plugin
3.3. A view onto GeanyVC usage
4. Let us introduce you…
4.1. Plugin Focus
4.2. Feature Focus
5. Geany local
5.1. Geany at Chemnitzer LinuxTage (March, 19th-20th)
6. About this newsletter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. About Geany
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Geany is a small and lightweight Integrated Development Environment.
It was developed to provide a small and fast IDE, which has only a
few dependencies from other packages. Another goal was to be as
independent as possible from a special Desktop Environment like KDE
or GNOME - Geany only requires the GTK2 runtime libraries.
More information about Geany can be found at geany.org geany.org.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2. Geany Development
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2.1. Update to Scintilla 2.25
━━━━━━━━━━━━━━
With Subversion revision 5682 another update to Scintilla has been
done so Geany’s development version is now powered by Scintilla 2.25
in favor of the version previously used: 2.22.
As with every update of Scintilla there have been a lot of
improvements. This includes changes to Scintilla itself, for example:
fixing an issue with marking of a word when double clicking or fixing
some memory leaks and unneeded redraws of editor window as well on
used lexer e.g. for SQL.
A detailed list of changes done with Scintilla can be found at
Scintilla ChangeLog.
2.2. Real-time tag parsing
━━━━━━━━━━━━━━
Parsing of symbols (also known as tags) in the file currently being
edited can now be done directly in memory. This change means that tag
parsing for the current document happens in real time when the
content changes; so the symbol list reflects the actual content of
the document rather than the state when it was last saved.
This can be configured (and disabled) in the preferences by the
Symbol list update frequency option under Editor -> Completions.
2.3. Automatic indentation width detection
━━━━━━━━━━━━━━
Geany now has the ability to detect the indentation width used by a
file when opening it, making it easier to work with files which use
different indentation widths. The auto-detection, however, doesn’t
yet work if the file uses a tabs-only indentation type.
To enable automatic detection of indentation width, open the
Preferences dialog and check Detect width from file in the Editor->
Indentation section.
2.4. Fixes to template encoding
━━━━━━━━━━━━━━
The encoding of template files is now properly auto-detected, fixing
loading of any template using an encoding incompatible with UTF-8.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3. Plugins
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3.1. New plugins
━━━━━━━━━━━━━━
3.1.1. geanycfp
Back in January, William Fraser add the geanycfp plugin which adds a
couple of interesting new functions to Geany’s plugin pool.
After some time this plugin has been split up into
GeanyNumberedBookmarks and GeanyMacro, but this process is not yet
finished.
3.1.1.1. GeanyNumberedBookmarks
The plugin adds an option to store bookmarks in files and directly
access them via a keybinding.
To set a numbered bookmark press Ctrl+Shift+(a number from 0 to 9).
You will see a marker appear next to the line number. If you press
Ctrl+Shift+(a number) on a line that already has that bookmark number
then it removes the bookmark, otherwise it will move the bookmark
there if it was set on a different line, or create it if it had not
already been set.
3.1.1.2. GeanyMacro
Macros are well known from other tools. Users of Photoshop are always
saying how amazing the batch processing is for manipulating images.
However, this plugin adds something similar to Geany with its macro
feature: the plugin can record small actions and rerun them after
pressing e.g. a keybinding. This could be very helpful for example if
you need to remove the last two letters of a line and search &
replace or rectangle selection are not able to solve the request.
3.1.1.3. Other features
Remembering fold states:
By default, Geany does not remember the status of folding when
reloading a file e.g. on startup. This can be annoying when you have
a huge number of nested structures e.g. inside an XML-document. This
feature helps you to remember those states so you don’t have to fold
again after loading.
3.2. Significant updates on Split Window Plugin
━━━━━━━━━━━━━━
There have been quite a few improvements and bug fixes done in the
Split Window plugin that ships with Geany which allows viewing two
documents at the same time.
Code folding is now supported in the split editor as of revision
5626.
Since revision 5633, the terminology used in the Split Window menu
under the Tools menu has been improved to avoid ambiguity regarding
the direction in which the split will take place. Rather than using
the word Horizontal for when the editors are laid out horizontally
(the splitter is vertical), the words "Side by Side" are now used.
Likewise, when the editors are laid out vertically (the splitter is
horizontal), the words "Top and Bottom" are now used.
Previously, when the Split Window was active and the document
currently being viewed in it was closed in the main documents
notebook, the Split Window plugin would unsplit, even if there were
other documents which could be viewed instead. As of revision 5634,
when this happens, the Split Window plugin will switch to view the
current document in the main documents notebook instead. If there are
no more documents open, the Split Window plugin will unsplit.
Probably the most significant improvement to the Split Window plugin
is that it will now work on Microsoft Windows. Previously, the plugin
was using a trick to work around a bug in the Scintilla widget Geany
uses as editing component. A side effect of this workaround was that
it caused serious issues on Windows and so the plugin was disabled
for the Windows build. Matthew Brush fixed the bug in Scintilla and
sent the fix to the Scintilla project where it was merged upstream.
Geany is no longer required to use the previously mentioned trick,
and so the plugin was re-enabled for the Windows build, with
equivalent functionality as it has on other platforms.
3.3. A view onto GeanyVC usage
━━━━━━━━━━━━━━
GeanyVC is one of the oldest plugins of Geany and adds bindings for
some popular version control systems to Geany such as Subversion and
GIT. To get a feeling which bindings are being used we started a
little Doodle poll a couple of weeks ago. The output was interesting
and a little surprising: Until the end of April 2011, 33 people took
part in the poll and the first surprise was that none of these are
using GeanyVC for working with either CVS or SVK. In terms of CVS
this has been a real surprise as it was one of the most popular
version control systems during the last decades. SVK always took
place a role inside 2nd row as its trying to add some offline
functionality to Subversion but keeping Subversion inside core. With
the introduction of GIT and a number of new features being added to
Subversion with version 1.6, the biggest advantages were also went
away.
However, most users do use the plugin for working with GIT (~90%)
followed by Subversion as you can see from the tiny chart.
../img/issue2_geanyvc.png
Bazaar and Mercurial are also getting used, but only seem to have a
minor role in GeanyVC’s universe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4. Let us introduce you…
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This section is intended to introduce particular plugins or features
on a regular basis.
4.1. Plugin Focus
━━━━━━━━━━━━━━
4.1.1. Save Actions
The Save Actions plugin adds options available to you when saving
files, including: Auto Save, Instant Save and Backup Copy. Each of
the options can be enabled independently but they can be even more
powerful when used in combination. Read on, discover their functions,
and judge for yourself if this plugin might make your use of Geany
easier and more productive.
4.1.1.1. Auto Save
../img/issue2_saveactions_1.png
Auto Save provides an option to automatically save either the current
file or all open files at a defined interval. It can be very useful
if you tend to forget to save because it works in the background. The
default interval is 300 seconds, which is 5 minutes, but you might
prefer to set a longer or shorter interval.
4.1.1.2. Instant Save
../img/issue2_saveactions_2.png
Instant Save aims to make it easier to make use of Geany’s
file-specific features with newly-created files. With this plugin
activated you can specify what file type new files are to be treated
as. If you often work with Python for example, and are testing code
snippets, you can activate the plugin, configure new files to be
treated as Python and Geany’s full Python support is available when
the file’s created.
4.1.1.3. Backup Copy
../img/issue2_saveactions_3.png
Backup Copy will keep backup copies of files as you save them.
Instead of cluttering the file’s own directory, the backups are
stored in a specific directory. So that you can identify when each
backup was created, the backup files have the current date and time
added to the end of their names, with the date and time format being
configurable. To make finding your backups even easier there is even
an option to recreate the directory structure in which the current
file is stored.
When combined with the Auto Save option, the Backup Copy option can
provide a basic form of versioning with a backup copy of your file(s)
every time they were saved. A version control system such as GIT,
Subversion or Mercurial is definitely recommended instead when
possible.
4.2. Feature Focus
━━━━━━━━━━━━━━
4.2.1. Append Toolbar to the Menu
The popularity of the netbook means that many people are looking at
screens which are less than the desktop PC sizes of 15 inch and
above. A netbook’s screen format is usually widescreen, so vertical
space is more limited than horizontal space. If you navigate to Edit
→ Preferences you’ll find an option titled "Append Toolbar to the
Menu". Checking this option will result in the toolbar being moved
from below the menu bar to beside it, resulting in more vertical
space being available.
Before
../img/issue2_appendtoolbartothemenu_1.png
After
../img/issue2_appendtoolbartothemenu_2.png
4.2.2. Other screen-space-saving tips
Geany has several other options which increase the amount of room
available for the editing pane. In the View menu you’ll find an
option titled "Toggle all Additional Widgets" which hides all
elements of the user interface except for the menu bar and
scrollbars. Also in the View menu is an option titled "Fullscreen"
which maximizes the Geany window to take up the entire screen, also
turning off the window’s titlebar and borders. This view can be
especially useful if you want to minimize distractions from other
applications.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5. Geany local
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5.1. Geany at Chemnitzer LinuxTage (March, 19th-20th)
━━━━━━━━━━━━━━
Together with the guys of Xfce, Geany was presented with a booth at
the annual Chemnitzer LinuxTage event in March, a convention about
all topics around Linux, BSD and free software in general. The booth
was well visited and people came not only to ask questions or report
a bug but also to tell us what they are using Geany for. So Dominic,
Enrico and Frank had a lot of questions to answer and a lot of
feedback to respond to.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6. About this newsletter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This newsletter has been created in cooperation by people from
Geany’s international community. Contributors to this newsletter and
the infrastructure behind it, ordered by alphabet:
Colomban Wendling, Dominic Hopf, Enrico Tröger, Frank Lanitz, Matthew
Brush, Nicholas Manea, Russell Dickenson