On ```Save As...``` a text in the form ```untitled.ext``` will be replaced with the chosen filename if it is found in the first 3 lines of the document. This PR adds a description of the feature to the manual. Fixes #753. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1804
-- Commit Summary --
* manual: added documentation about replacement of 'untitled.ext' with filename
-- File Changes --
M doc/geany.txt (10)
-- Patch Links --
https://github.com/geany/geany/pull/1804.patch https://github.com/geany/geany/pull/1804.diff
elextr commented on this pull request.
@@ -538,6 +538,16 @@ there is a selection, only the selected text is copied. This can be
useful when making temporary copies of text or for creating documents with similar or identical contents.
+Automatic filename insertion on `Save As...` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +If a document is saved via `Document->Save As...` then the filename can
its not optional so should be "is" not "can"
elextr commented on this pull request.
@@ -538,6 +538,16 @@ there is a selection, only the selected text is copied. This can be
useful when making temporary copies of text or for creating documents with similar or identical contents.
+Automatic filename insertion on `Save As...` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +If a document is saved via `Document->Save As...` then the filename can +automatically be inserted into the comment header. This only happens if
replace ". This only happens if geany finds a" with "replacing" so you get "...comment header replacing text like..."
Also just a note "Geany" is always capitalised
LGTM
Couple of minor suggestions, but thanks for doing it.
@elextr: thanks for reviewing. I applied your suggestions and squashed it into one commit.
Merged #1804.
github-comments@lists.geany.org