Right now only the "document-save" is fired when performing 
"save as" which lacks the information about the original file name 
(which, for instance, is necessary for the LSP client where it needs to notify 
the server that the "old" document was closed and the document under 
the new name opened).

Right now the plugin at https://github.com/techee/geany-lsp has the code using 
this signal commented-out - I'll uncomment it once it's added to Geany 
(so renaming a file might cause problems synchronizing the document with the 
server with the current implementation).
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3572

-- Commit Summary --

  * Add "document-before-save-as" signal

-- File Changes --

    M doc/pluginsignals.c (11)
    M src/document.c (2)
    M src/geanyobject.c (7)
    M src/geanyobject.h (1)

-- Patch Links --

https://github.com/geany/geany/pull/3572.patch
https://github.com/geany/geany/pull/3572.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3572
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to