Difference between revisions of "Languages supported by Code::Blocks lexers"

From Code::Blocks
(Updated.)
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
−
==Languages with support for syntax highlighting==
+
[[Category:Developer Documentation]]
−
[http://scintilla.sourceforge.net/SciTEDoc.html SciTE] currently is able to syntax style these languages (* denotes support for folding):
+
{| border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 50%; table-layout: fixed;"
  
−
==Languages supported==
 
−
{| border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%; table-layout: fixed;"
 
 
|- style="background: #ececec;"
 
|- style="background: #ececec;"
 
! style="width: 12em" | Language
 
! style="width: 12em" | Language
−
! [[CodeBlocks]]
+
! [https://www.codeblocks.org/ Code::Blocks]
−
! [[SciTE]]
+
! [http://www.scintilla.org/SciTE.html SciTE]
 +
|-
 +
 
 
|-
 
|-
 
! style="text-align: left; background: #ececec;" | Ada
 
! style="text-align: left; background: #ececec;" | Ada
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | AngelScript (using the C++ lexer)
 +
| {{yes}}{{refun|CodeFolding}}
 
| {{no}}
 
| {{no}}
−
| {{yes}}
+
|-
 +
 
 
|-  
 
|-  
 
! style="text-align: left; background: #ececec;" | ANS.1 MIB definition files
 
! style="text-align: left; background: #ececec;" | ANS.1 MIB definition files
 
| {{no}}
 
| {{no}}
−
| {{yes}}, with code-folding
+
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 
 
|-  
 
|-  
 
! style="text-align: left; background: #ececec;" | APDL
 
! style="text-align: left; background: #ececec;" | APDL
 
| {{no}}
 
| {{no}}
 
| {{yes}}
 
| {{yes}}
−
|- style="background: #ececec;"
 
−
! Language
 
−
! [[CodeBlocks]]
 
−
! [[SciTE]]
 
 
|-
 
|-
−
|}
 
  
 +
|-
 +
! style="text-align: left; background: #ececec;" | Assembler (NASM, MASM)
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Assembler (Hitachi, using the C++ lexer)
 +
| {{yes}} (Why it uses the C++ lexer????)
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | AutoIt
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Avenue
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Baan
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Bash
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Batch (MS-DOS)
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | BlitzBasic
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Bullant
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|- 
 +
! style="text-align: left; background: #ececec;" | C/C++
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|- 
 +
! style="text-align: left; background: #ececec;" | Caml
 +
| {{yes}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | C# (using the C++ lexer)
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Clarion
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | CMake
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | conf (Apache)
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | CSound
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | CSS
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | D
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | diff files
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | E-Script
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Eiffel
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Erlang
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Flagship (Clipper / XBase)
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Flash (ActionScript)
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Fortran
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Forth
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | GameMonkey script
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Haskell
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | HTML
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | HTML with embedded JavaScript, VBScript, PHP and ASP
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | GameMonkey Script (using the C++ lexer)
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Gui4Cli
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | IDL (both MSIDL and XPIDL)
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Java
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | JavaScript
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Lisp
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | LOT
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Lout
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Lua
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Make
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Matlab
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Metapost
 +
| {{no}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | MMIXAL
 +
| {{no}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Motorola 68k
 +
| {{yes}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | MSSQL
 +
| {{no}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | nnCron
 +
| {{no}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | NSIS
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | nVidia cg (using the C++ lexer)
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Objective C
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Objective Caml
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Ogre Compositor script (using the C++ lexer)
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Ogre Material script (using the C++ lexer)
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | OpenGL Shading Language (using the C++ lexer)
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Octave
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Pascal/Delphi
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Perl
 +
| {{yes}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | PostScript
 +
| {{yes}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | POV-Ray
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | PowerBasic
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Properties
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | PureBasic
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Python
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Rebol
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Ruby
 +
| {{yes}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Scheme
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | scriptol
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Smalltalk
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Specman E
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Spice
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | SQL and PLSQL
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Squirrel
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | TADS3
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | TeX and LaTeX
 +
| {{yes}}
 +
| {{yes}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Tcl/Tk
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | VB and VBScript
 +
| {{yes}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | Verilog
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | VHDL
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | XBase
 +
| {{yes}}
 +
| {{no}}
 +
|-
 +
 +
|-
 +
! style="text-align: left; background: #ececec;" | XML
 +
| {{yes}}{{refun|CodeFolding}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
  
 +
|-
 +
! style="text-align: left; background: #ececec;" | YAML
 +
| {{no}}
 +
| {{yes}}{{refun|CodeFolding}}
 +
|-
  
 +
|}
  
−
    * Ada
+
*{{note|CodeFolding}} Supports code-folding.
−
    * ANS.1 MIB definition files*
 
−
    * APDL
 
−
    * Assembler (NASM, MASM)
 
−
    * AutoIt*
 
−
    * Avenue*
 
−
    * Batch files (MS-DOS)
 
−
    * Baan*
 
−
    * Bash*
 
−
    * BlitzBasic*
 
−
    * Bullant*
 
−
    * C/C++/C#*
 
−
    * Clarion*
 
−
    * conf (Apache)*
 
−
    * CSound*
 
−
    * CSS*
 
−
    * diff files*
 
−
    * E-Script*
 
−
    * Eiffel*
 
−
    * Erlang*
 
−
    * Flagship (Clipper / XBase)*
 
−
    * Flash (ActionScript)*
 
−
    * Fortran*
 
−
    * Forth*
 
−
    * Haskell
 
−
    * HTML*
 
−
    * HTML with embedded JavaScript, VBScript, PHP and ASP*
 
−
    * Gui4Cli*
 
−
    * IDL - both MSIDL and XPIDL*
 
−
    * INI, properties* and similar
 
−
    * Java*
 
−
    * JavaScript*
 
−
    * LISP*
 
−
    * LOT*
 
−
    * Lout*
 
−
    * Lua*
 
−
    * Make
 
−
    * Matlab*
 
−
    * Metapost
 
−
    * MMIXAL
 
−
    * MSSQL
 
−
    * nnCron
 
−
    * NSIS*
 
−
    * Objective Caml*
 
−
    * Octave*
 
−
    * Pascal/Delphi*
 
−
    * Perl, most of it except for some ambiguous cases*
 
−
    * PostScript*
 
−
    * POV-Ray*
 
−
    * PowerBasic*
 
−
    * PureBasic*
 
−
    * Python*
 
−
    * Rebol*
 
−
    * Ruby*
 
−
    * Scheme*
 
−
    * scriptol*
 
−
    * Specman E*
 
−
    * Smalltalk
 
−
    * SQL and PLSQL
 
−
    * TADS3*
 
−
    * TeX and LaTeX
 
−
    * Tcl/Tk - using the cpp lexer*
 
−
    * VB and VBScript*
 
−
    * Verilog*
 
−
    * VHDL*
 
−
    * XML*
 
−
    * YAML*
 

Latest revision as of 17:49, 26 December 2012

Language Code::Blocks SciTE
Ada Yes Yes
AngelScript (using the C++ lexer) Yes† No
ANS.1 MIB definition files No Yes†
APDL No Yes
Assembler (NASM, MASM) Yes Yes
Assembler (Hitachi, using the C++ lexer) Yes (Why it uses the C++ lexer????) No
AutoIt No Yes†
Avenue No Yes†
Baan No Yes†
Bash Yes† Yes†
Batch (MS-DOS) Yes Yes
BlitzBasic No Yes†
Bullant No Yes†
C/C++ Yes† Yes†
Caml Yes No
C# (using the C++ lexer) No Yes†
Clarion No Yes†
CMake Yes† No
conf (Apache) No Yes†
CSound No Yes†
CSS Yes† Yes†
D Yes† Yes†
diff files Yes† Yes†
E-Script No Yes†
Eiffel No Yes†
Erlang No Yes†
Flagship (Clipper / XBase) Yes† Yes†
Flash (ActionScript) No Yes†
Fortran Yes† Yes†
Forth No Yes†
GameMonkey script Yes† No
Haskell Yes Yes
HTML Yes† Yes†
HTML with embedded JavaScript, VBScript, PHP and ASP Yes† Yes†
GameMonkey Script (using the C++ lexer) Yes† No
Gui4Cli No Yes†
IDL (both MSIDL and XPIDL) No Yes†
Java Yes† Yes†
JavaScript No Yes†
Lisp Yes† Yes†
LOT No Yes†
Lout No Yes†
Lua Yes† Yes†
Make Yes Yes
Matlab Yes† Yes†
Metapost No Yes
MMIXAL No Yes
Motorola 68k Yes No
MSSQL No Yes
nnCron No Yes
NSIS Yes† Yes†
nVidia cg (using the C++ lexer) Yes† No
Objective C Yes† No
Objective Caml No Yes†
Ogre Compositor script (using the C++ lexer) Yes† No
Ogre Material script (using the C++ lexer) Yes† No
OpenGL Shading Language (using the C++ lexer) Yes† No
Octave Yes† Yes†
Pascal/Delphi Yes† Yes†
Perl Yes Yes†
PostScript Yes Yes†
POV-Ray No Yes†
PowerBasic No Yes†
Properties Yes† Yes†
PureBasic No Yes†
Python Yes† Yes†
Rebol No Yes†
Ruby Yes Yes†
Scheme No Yes†
scriptol No Yes†
Smalltalk Yes Yes
Specman E No Yes†
Spice No Yes†
SQL and PLSQL Yes Yes
Squirrel Yes† No
TADS3 No Yes†
TeX and LaTeX Yes Yes
Tcl/Tk No Yes†
VB and VBScript Yes Yes†
Verilog Yes† Yes†
VHDL Yes† Yes†
XBase Yes No
XML Yes† Yes†
YAML No Yes†
  • ^  Supports code-folding.