Commit Graph

14 Commits

Author SHA1 Message Date
ema cea937c0d6 Improve XML version attribute regex in XMLDetector
Updated the XMLDetector regex to support both single and double quotes in the XML version attribute, improving compatibility with different XML declaration styles.
Now supports:
<?xml version="1.0"?>
<?xml version='1.0'?>
2025-12-18 16:19:23 +08:00
ema 342f14ebd9 Add KrcDetector for .krc file support
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-28 03:04:44 +08:00
ema 10ce29e836 Refactor JSON detection to use Regex field
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-07-10 07:38:21 +08:00
ema 8d66dfac54 Add hosts file syntax highlighting 2025-07-10 07:33:57 +08:00
ema d06abf461e Enable Dockerfile detection 2025-07-10 07:10:48 +08:00
ema 4a72e1ed8e Optimize file name comparison in detectors 2025-07-10 04:11:00 +08:00
ema 0bb6e622f6 Refactor confused format detection method names
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-07-09 04:27:50 +08:00
ema 67dc0ce10d Add CMake syntax highlighting and format detection 2025-07-09 04:16:19 +08:00
ema 631fd91219 Prepare hosts format detector 2025-07-09 03:55:45 +08:00
ema cf6dd5cdf3 Prepare Dockerfile format detector 2025-07-09 03:50:50 +08:00
ema 7a11127b09 Prepare CMakeLists.txt format detector 2025-07-09 03:47:10 +08:00
ema 0a79d59c79 Add MakefileDetector for text viewer 2025-07-09 03:24:42 +08:00
ema d6cc984267 Optimize JSONDetector with Span 2025-07-09 03:03:56 +08:00
ema efc83b0669 Use format detector feature for TextViewer
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-06-19 17:03:20 +08:00