thaolt / qscite

Automatically exported from code.google.com/p/qscite
GNU General Public License v2.0
0 stars 0 forks source link

Be able to choose the proper lexer for files without an extension #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If the user decides to open a file that does not have an extension, the
program should attempt to detect what type of file it is, and choose an
appropriate lexer.  Many files written using a common scripting language
could be detected by using their shbang line ("#!/bin/bash" denotes the
beginning of many/most bash scripts).

Original issue reported on code.google.com by jpsut...@gmail.com on 12 Feb 2008 at 7:21

GoogleCodeExporter commented 8 years ago
In progress. Trying to leave room for integration with preferences UI.

Original comment by bfrobin...@gmail.com on 13 Feb 2008 at 2:52

GoogleCodeExporter commented 8 years ago
Works for Perl as of r31.

Original comment by bfrobin...@gmail.com on 15 Feb 2008 at 7:35