[Github-comments] [geany/geany] Highlight syntax for files without an extension (#1899)
toxpal
notifications at xxxxx
Tue Feb 19 14:14:30 UTC 2019
> Note that Geany does in fact detect the prefixes you suggested:
Yes, but it only works for existing files. If file is not saved, Geany doesn't detect any of prefixes, and the only way to get syntax highlighting to work is to:
1. Manually save file;
2. Manually set file type using your previous suggestion (_menu->Document->Set Filetype->Scripting Languages->PHP Source File_)
See what I mean - https://i.postimg.cc/MHh2RNhQ/geany.png
As you see, file is not saved yet, so Geany doesn't detect PHP filetype for some reason.
--
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#issuecomment-465143833
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190219/238e0a8f/attachment.html>
More information about the Github-comments
mailing list