介绍
SourceCodeSyntaxHighlight是一款用于源代码语法高亮显示的工具。它可以将源代码转换为带有语法高亮的格式,使代码更易读,便于理解和调试。这款工具支持多种编程语言,包括但不限于Java、Python、C++、JavaScript等。这对于开发者来说是一个非常有用的工具,尤其是在需要分享或展示代码时,能够提高代码的可读性和美观性。
截图
功能
支持的格式
支持大多数编程语言。该应用程序还可以处理一些没有扩展名的纯文件。
- Ada (
.ada
) - Adobe Acrobat Sequence files (
.sequ
) asXML
- Adobe Flash ActionScript source files (
.as
) - Adobe JSX script files (
.jsx
) - Apple workflow (
.wflow
) asplist (XML)
- AppleScript (
.scpt
,.applescript
,.ascr
) automatically decompiled withosadecompile
- Apple shell script files (
.command
) - Assembler source files (
.asm
,.s79
) - Astro files (
.astro
) as JSX. - Autolit files (
.au3
,.a3x
) - Azkaban flow files (
.flow
) asYAML
- ATL files (
.atl
) - (G)AWK files (
.awk
) - Bash Script files (
.bash
) - Bezel (
.bezel
) as plain text - BibTex (
.bib
) - C shell script files (
.csh
) - C source files (
.c
,.h
) - C# source files (
.cs
) - C++ source files (
.cpp
,.cp
,.c++
,.cc
,.cxx
,.hpp
,.hh
,.hxx
,.ipp
) - ClojureScript (
.cli
,.cljs
,.cljc
,.edn
) - CMake files (
.cmake
) - CocoaPod files (
.podspec
) asRuby
- CoffeeScript source files (
.coffee
) - ColdFusion files (
.cfc
,.cfm
,.cfml
) - Configuration files (
.conf
) - Configuration profiles (
.mobileconfig
) asXML
- Crystal language (
.cr
) - CSON source files (
.cson
) - CSS files (
.css
) - D (
.d
) - Dart source files (
.dart
).dart
is reserved by macOS and cannot be handled. - Diff files (
.diff
,.patch
) - Dockerfile (
.dockerfile
) - Document Type Definition (
.dtd
) - DOS batch files (
.bat
,.cmd
) - Dylang (
.dylan
) - ECore files (
.ecore
) - Eiffel project files (
.ecf
) asXML
- Eiffel source files (
.e
,.ex
,.exs
) - Erlang source files (
.erl
,.hri
) - F# source files (
.fsx
,.fs
) - fish source files (
.fish
) - Fortran source files (
.f
,.for
,.f90
,.f95
) - GCC linked files (
.ld
,.map
,.d
) - Gdscript (Godot engine) (
.gd
). - Golang source files (
.go
) - Google Earth KML Document files (
.kml
) asXML
- Gradle source files (
.gradle
) - Graphics Language Transmission Format (
.gltf
) asJSON
- Groovy source files (
.groovy
) - Haskell source files (
.hs
,.lhs
) - HTML Abstraction Markup Language (
.haml
) - IDL source files (
.pro
) - INF files (
.inf
) - INI configuration files (
.ini
,.cfg
) - Inno source files (
.iss
) - INO source files (
.ino
) - IntelliJ IDEA module (
.iml
) - Interface Builder Storyboard (
.storybard
) asXML
- Interface Builder XIB (
.xib
) asXML
- Java Compiled Class (
.class
) requirejavap
to decompile - Java Properties files (
.properties
) asINI
- Java Server Page files (
.jsp
) - Java source code (
.java
,.jav
) - Java Web Start (
.jnlp
) - JavaFX ML (
.fxml
) - JavaScript files (
.js
,.jscript
,.javascript
,.mjs
,.jsm
) - JSON files (
.json
,.jsonc
) ** On macOS 13 Ventura with Apple Silicon the.json
extension is reserved by the system and cannot be handled.** - JSON Line files (
.jsonl
) asJSON
- Julia source files (
.jl
) - Kermeta source files (
.kmt
) - Korn Shell script files (
.ksh
) - Kotlin source files (
.kt
,.kts
) - LESS stylesheet (
.less
) - Lilypond files (
.ly
)x1 - Lisp source files (
.lisp
,.lsp
,.asd
,.el
) - Logos source files (
.xm
) - Lua source files (
.lua
) - Makefile files (
.mk
,.mak
) - Markdown files (
.md
,.rmd
): please use QLMarkdown which allows you to choose whether to display formatted output or the highlighted source code. - Media Presentation Description (
.mpd
) as XML. - MF source files (
.mf
) - Microsoft Active Server Page files (
.asp
,.aspx
) - Microsoft PowerShell files (
.psm1
,.psd1
,.ps1
) - NextFlow (
.nf
) as Groovy (Java) - Nim source files (
.nim
) - Node CommonJS module (
.cjs
) - Objective-C source files (
.m
) - Objective-C++ source files (
.mm
) - OCaml source files (
.ml
,.mll
,.mly
) - OpenSSH RSA public key (
.pub
) as plain text - OPML (Outline Processor Markup Language) files (
.opml
) asXML
- Oracle PL/SQL files (
.fnc
,.prc
,.trg
,.pks
,.pkb
,.pck
,.tps
,.tpb
,.typ
,.tab
,.avt
,.con
,.sqs
,.vw
,.mvw
,.trg
) asSQL
- Paradox files (
.sc
) - Pascal source files (
.pas
) - Patch files (
.patch
,.diff
) - PDE source files (
.pde
,.ino
) - Perl script files (
.pl
,.pm
,.t
) - Planning Domain Description Language (
.pddl
) asLisp
- PHP source files (
.php
,.php3
,.php4
,.ph3
,.ph4
,.phtml
) - Properties files (
.properties
) asINI
- Property List files (
.plist
) dynamically decompiled withplutil
On macOS 10.15 Catalina.plist
is reserved by the system and cannot be handled. - Python source files (
.py
) - R (
.r
) - Racket (
.rkt
) asLisp
- RDF files (
.rdf
) - README files (
.readme
) as plain text - reStructuredText document (
.rst
) - Rez files (
.r
) - Ruby on Rails files (
.rhtml
,.erb
,.rjs
) - Ruby Gems file (
.gemfile
) - Ruby script (
.rb
,.rbw
) - Rust source files (
.rs
) - SageMath files (
.sage
) asPython
- SAS files (
.sas
) - SASS/SCSS files (
.scss
) - Scala source files (
.sc
,.sbt
,.scala
) - Scheme source files (
.scm
) - Shell script files (
.bashrc
,.zshrc
,.sh
) - Smali (
.smali
) as plain text. - Solidity source files (
.sol
) - SQL files (
.sql
) - Standard ML source files (
.ml
) - Stata files (
.do
,.ado
) as plain text - Steam app manifest files (
.acf
) as plain text. - Svelte (
.svelte
) asHTML
- Swift source files (
.swift
) - Symfony Twig files (
.twig
) - TCL source files (
.tcl
) - Tenex C Shell script files (
.tcsh
) - Terraform files (
.tfvars
,.tf
,.hcl
) asYAML
- TeX and LaTeX files (
.tex
,.sty
,.cls
,.latex
,.ltx
,.texi
,.ctx
,.sty
) - Text files (
.txt
,.text
) - TOML files (
.toml
) - TypeScript files (
.ts
,.tsx
,.cts
,.mts
).ts
and.mts
are reserved by macOS and cannot be handled. - Visual Studio Code Workspace (
.code-workspace
) _ asJSON
_ - Verilog HDL files (
.v
,.vl
) - VHDL source files (
.vhd
,.vhdl
) - VIM script files (
.vim
) - Visual Basic source files (
.vb
,.bas
,.basic
,.vbs
) - Vue source files (
.vue
) - XAML source files (
.xaml
) as XML - Xcode entitlement files (
.entitlements
) (dynamically decompiled withplutil
) as XML - Xcode localizable strings files (
.strings
,.stringsdict
) (dynamically decompiled withplutil
) as XML - XHTML files (
.xhtml
) - XML files (
.xml
) Before macOS 12 Monterey.xml
is reserved by the system and cannot be handled. - XSD Schema files (
.xsd
,.xquery
,.xq
,.xu
) - XUL files (
.xul
) - YAML files (
.yaml
) - Z shell script files (
.zsh
)
下载链接
THE END
- 最新
- 最热
只看作者