Questions tagged [geany]

Geany is a lightweight and fast IDE. It is using the GTK [2|3] toolkit while trying to keep only a low number of further dependencies from other packages.

Geany is a lightweight and fast IDE (integrated development environment). It was designed to have very few dependencies, and requires only the GTK 2 libraries to run.

It's based on Scintilla and is mostly written in C and C++.

428 questions
53
votes
3 answers

Geany text editor commenting

Is there a way to highlight a section of code to be commented out in one swoop using geany text editor?
Spencer Cooley
  • 8,471
  • 16
  • 48
  • 63
49
votes
6 answers

How can I stay tab-free in Geany on Ubuntu?

How can I stay tab free in Geany on Ubuntu? When I am coding in Python, tabs have always annoyed me. And the TAB is invisible. So strange. When I open my code by gedit, those TABs are visible.
Josh Morrison
  • 7,488
  • 25
  • 67
  • 86
28
votes
6 answers

How can I block select in Geany?

I often need to select a block of text, like a leading character that occurs on many lines. LibreOffice has block selection. How can I do this in Geany? For example, I want to remove the pipe and the space at the beginning of each line: | Create…
caduceus
  • 1,542
  • 2
  • 16
  • 21
23
votes
1 answer

How can I sort lines in Geany?

I was looking for a way to sort lines in Geany. Then found the solution below.
Russell England
  • 9,436
  • 1
  • 27
  • 41
21
votes
3 answers

macOS Mojave: How to achieve codesign to enable debugging (gdb)?

There are many topics floating around covering codesign issues with macOS, from 10.5 onward. What I wanted to achieve is, to get Geany working with the GNU Debugger (gdb). Debugger is found in geany, but the (already quite known) error message…
Guenter
  • 465
  • 1
  • 3
  • 14
20
votes
6 answers

How does Geany auto-completion wơrk?

This question might seem a bit odd but I searched for like an hour and didn't find any hit that actually answered my question(s) about the auto-complete features of geany: does it have auto-complete for which languages does it have auto-complete…
Sim
  • 4,199
  • 4
  • 39
  • 77
19
votes
3 answers

How do I make Python3 the default Python in Geany

I've been trying to modify the default Python compiler/run command in Geany. Some searching indicated that I would need to modify `/usr/share/geany/filetypes.python's last two lines as follows #compiler=python -m py_compile "%f" #run_cmd=python…
user3817250
  • 1,003
  • 4
  • 14
  • 27
19
votes
3 answers

Make Geany recognize additional file extensions

My default Geany installation on Debian does not recognize some file types out of the box. How can I add extensions, using the same syntax highlighting as other known extensions for simplicity's sake? In the current case, I'd like Geany to open all…
kaldimar
  • 337
  • 3
  • 16
17
votes
2 answers

Geany - How to execute code in terminal pane instead of external terminal

I really like Geany for writing Python code. When I click F5, it opens system's default terminal window and executes the code there. There is also a terminal inside Geany window, the bottom pane and the last tab. What I want is the code to be…
Sinan Erdem
  • 1,014
  • 1
  • 13
  • 22
13
votes
6 answers

How do you compile/build/execute a C++ project in Geany?

I really didn't think it would be this difficult. Geany clearly has the ability to create projects, add files to the projects, compile the individual files, but then even after googling it I could not find a clear description of how to build and…
returneax
  • 709
  • 1
  • 4
  • 18
13
votes
4 answers

Smart auto-indentation available in geany?

I'm writing javascript using Geany IDE. My indentation is all messed up and I'd like to make it look nice. When I write Java in Eclipse I can do ctrl + i to make all the spacing in order. What is the indentation option available in Geany?
Connor Leech
  • 18,052
  • 30
  • 105
  • 150
13
votes
1 answer

Find replace named groups regexp in Geany

I am trying to replace public methods to protected methods for methods that have a comment. This because I am using phpunit to test some of those methods, but they really don't need to be public, so I'd like to switch them on the production server…
HMR
  • 37,593
  • 24
  • 91
  • 160
13
votes
5 answers

Is there an auto-close curly brackets plugin for the Geany IDE?

Geany is the closest thing I can find to the perfect web development IDE. However, I can't find a way to automatically close curly brackets ({). For example, typing: function test() { ..and pressing RETURN should cause this to happen: function…
xLite
  • 1,441
  • 3
  • 15
  • 28
12
votes
3 answers

Using sqrtf() in C: "undefined reference to `sqrtf'"

I am using Linux, Ubuntu 12.04 (Precise Pangolin), and Geany for coding. The code I am writing in C worked completely fine until I used the sqrtf command to find the square root of a float. Error: HAC3.c:(.text+0xfd7): undefined reference to…
captain monk
  • 719
  • 4
  • 11
  • 34
12
votes
3 answers

How do I disable the reload dialog in Geany?

If a file open in geany is modified by another program, and geany is then brought to the front, then geany displays a modal dialog as follows. The file 'stuff.txt' on the disk is more recent than the current buffer. Do you want to reload it? This…
Carl Sturtivant
  • 137
  • 1
  • 3
1
2 3
28 29