geany does not remember the location of the last registered file
I should search for the path everytime I want to save the other files and this is very annoying
I hope that this can be fixed in the next version 1.37.2
thank you very much
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2894
Currently, the filetype is autodetected only when a new document is opened. If a user adds a filetype shebang line, the only way to redetect the filetype is to close and reopen the document. (While the user could manually change the filetype, the purpose of the shebang line is to avoid manual filetype selection, which is cumbersome because of the multiply nested menus.)
The following change could address this issue without affecting most other users:
* Re-detect filetype on reload, but change filetype only when the current filetype is None or a shebang line is used.
- Users are unlikely to change the filetype to None.
- Users are unlikely to keep a shebang line for the wrong type.
There is a PR (not yet merged) for the project organizer plugin that changes the filetype of header files to match the corresponding source file. It currently does so only on the document-open signal, so changing the filetype on could cause the "wrong" filetype to be reassigned to the header. However, since the change would be restricted to when the current filetype is None or a new type is determined by shebang, incorrect filetype reassignment is unlikely.
This functionality cannot be implemented in a plugin because `filetypes_detect_from_file` does not report whether the filetype was detected from filename or shebang line.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2996
I'm getting a segfault when calling `sci_get_length(editor->sci)` in a function responding to an `editor-notify` signal. This occurs only when dropping files into Geany when no documents are open (the only document is "untitled"). This problem does not occur when:
* Double clicking a file in the file manager
* Dragging a file when other documents are open
* Draggin a file after modifying the untitled document
Checking that `editor`, `editor->document`, and `editor->sci` are not `NULL` does not prevent the segfault.
```C
bool NewPluginClass::editor_notify(GObject *object, GeanyEditor *editor, SCNotification *nt, NewPluginClass *self) {
if (!self->enable || !DOC_VALID(editor->document) || !editor->document->changed) {
return false;
}
if (editor && editor->sci && sci_get_length(editor->sci) == 0) {
// testing
}
return false;
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2998
Please can someone tell me what *.Plo files are?
Nothing comes up on a google search, and plugins have such files in a .deps dir, where perhaps they have a # in them
Thx
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1134
According to a [comment](https://github.com/geany/geany/issues/1899#issuecomment-465095249) at #1899:
> Note that Geany does in fact detect the prefixes you suggested:
>
> <!DOCTYPE html
> <html
> <?xml
> <?php
>
> and a whole bunch of #! names.
However, when I tested each of the prefixes mentioned above in a file named `test`, the assigned filetype is "None".
Since filetype autodetection occurs only when documents are opened, I closed and reopened the document after changing the first line prefix.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2997
I didn't find such a feature request/enhancement, but if it was already requested (or feature already exists), feel free to close this issue.
It would be nice if Geany can highlight syntax for files without extensions. Let's say I open a new tab and copy/paste some PHP snippet to it. Some other editors will automatically highlight syntax as PHP in this tab if content starts with **<?php** (even if tan wasn't saved as some file with *.php extension extension).
Now, it's needed to save tab as a file with corresponding extension just to enable syntax highlight. Sometimes it's a pain in the a** because I often create a new tab, copy/paste some PHP snippet for temporary purposes, and close this tab in minutes. But if I need syntax highlight (which I need, of course), I have to manually save every tab as PHP file.
I realize some languages might not have starting words, but if it has, maybe Geany can auto-recognize and highlight syntax?
For example, these starting words surely indicate which language should be highlighted:
```
<?php
<html
<?xml
```
...and I'm sure the list will go on
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1899
It would be nice to have better support for --fixup feature of git commit
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1135
It would be very useful if markdown tag with **bold* or __italic__ changed color text. It doesn't work while other text editors do it.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1497
After the latest update (universal builds) Geany doesn't launch at all, "Service exited with abnormal code: 1 " in system.log. I've found no issues when forcing Rosetta though.
Im using a Macbook Air with arm chip.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/28