Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment.
Questions tagged [geany]
50 questions
47
votes
5 answers
Geany invisible underscore
Recently, Geany suddenly started showing underscores as spaces - i.e. they've become "invisible".
For example this text - is_empty, displays the same as is empty. But when copying to the clipboard from Geany, the underscores are as they should.…
sashoalm
- 4,260
24
votes
5 answers
How to get rid of this vertical line in Geany
There's a random line going through my code in Geany, and it persists to stay there upon restarting the application. How do I remove it?
Screenshot:
slippery
- 798
17
votes
2 answers
Is it possible to view two files simultaneously in Geany?
I tend to be a simple text editor user, but when I want IDE-like features, I've been using Geany. One thing I find bothersome about it, though, is I can see only one file at a time. Sometimes I want to edit a .cpp file while looking at a .hpp file…
DarenW
- 2,161
14
votes
2 answers
How do I un-indent code?
I occasionally realise that I need to remove one level of indentation when coding (such as moving code out of loop). The problem is I end up with a bunch of lines all indented more than I want it to be and the only way to indent it the way I want is…
shortstheory
- 347
- 1
- 3
- 15
12
votes
2 answers
Replace with a newline
Geany, like many text editors, has a replace dialog:
In the Replace with: field, how can I express that I want the pattern to get replaced with a new line character?
Nicolas Raoul
- 11,561
5
votes
3 answers
LESS syntax highlighting in Geany
I'm using LESS CSS (PHP version). I'm also using Geany in Linux. Is there a LESS syntax file for Geany out there, or how I can go about editing the CSS one to suit LESS?
Bojangles
- 555
- 2
- 8
- 18
5
votes
1 answer
How to show CR in Geany
Can Geany be switched into a mode where it displays CR characters (but not LF characters)?
Can Geany be forced to only wrap a line on LF but not on CR?
Generally speaking:
Geany wraps a line on all three possible forms of a line ending: a single CR,…
Tino
- 1,246
4
votes
3 answers
How to hide horizontal scrollbar and to see the whole line in the window
I would like to see the whole line inside the window while using Geany, like the way Gedit handles it. I have looked through the settings, but I cannot find anything that does that. Is there something I missed in the settings, or is there another…
yoda_26
- 41
4
votes
1 answer
Increase the number of document tabs displayed in Geany
I'm working on a project with about 20 files. Is there a way I can increase the number of document tabs displayed, rather than having to click the arrow to scroll along?
(Perhaps show two layers of tabs?)
user1068446
- 1,480
4
votes
1 answer
Sass and Haml syntax highlighting in Geany (Ubuntu)
I'm using Sass (not SCSS) and Haml, and I'd like them to be syntax highlighted in Geany rather than appear as plain text. Is there a way to enable or install this functionality?
Kerrick
- 141
4
votes
1 answer
Make Editor Tabs thinner?
When the title of a document open in a tab is beyond about 25 characters, it gets shortened by replacing some of its name with ...
Is there a way to lower this threshold or change how this functionality works? Alternatively, is there any way to just…
J. Mini
- 282
4
votes
1 answer
Geany text editor caret block
I have Geany installed via apt-get on debian 8. I want to set the caret shape to be a block, but i can't find any filetypes.common in my .config/geany/filedefs. How can i do this?
user589084
3
votes
1 answer
Geany comment block format
I'm trying to figure out where the comment block style is defined in Geany for C files.
By this I mean when I select a block of text and hit ctrl-e, each line in the block of text
is pre-pended (at it's indentation level) by a //~
A problem comes…
user3817250
- 133
3
votes
1 answer
How can I automatically save a list of open files in Geany, with cron or otherwise?
I use the Geany IDE for programming, and it does not reliably reload my previously open files, for example after a power outage. I found that Geany has a command line feature which returns a list of all open files in the editor, so I hoped that I…
monguin
- 601
- 1
- 7
- 9
2
votes
1 answer
Geany - preserve folding and unfolding of text every time a document is opened
Whenever I open a file in the Geany IDE, I want the file's text to be folded in exactly the same way that the text was folded the last time I was editing it. Is it possible to configure Geany to keep the code folding consistent between editing…
Anderson Green
- 6,770