https://bugs.kde.org/show_bug.cgi?id=396195

Francis Herne <m...@flherne.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@flherne.uk

--- Comment #3 from Francis Herne <m...@flherne.uk> ---
I did some brief testing on my Arch system with KDev* master, using a file
named `no_suffix` having the contents
```
#!/usr/bin/env python3
print("Hello, world!")
```

Mime tools detect it:

$ file --mime no_suffix
no_suffix: text/x-python; charset=us-ascii

$ kmimetypefinder5 no_suffix
text/x-python3

KWrite *doesn't* detect it - the default ksyntaxhighlighting and indentation
are 'None' and 'Normal' respectively. Both of these work fine if explicitly
enabled.

Using KDevelop, it *does* get assigned to and recognised by kdev-python - there
are tooltips, semantic highlighting etc. - but the ktexteditor
highlighting/indenter still aren't used by default.

KDevelop uses either the default text-file icon or a '[?]' icon in the
Projects/Filesystem toolviews, open-files menu etc., not the Python icon.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to