Script - Programming language |
Use this sheet to set what programming language your script or source code file uses.
Select the programming language from the list. Possible values are:
Language | Extensions | Description |
---|---|---|
Basic/Visual Basic/VBScript | .bas, .vb | Basic (Wikipedia), Visual Basic (Wikipedia), or VBScript (Wikipedia) |
C/C++ | .c, .h, .cpp, .hpp | C (Wikipedia) or C++ (Wikipedia) |
C# | .cs | C# (Wikipedia) |
Go | .go | Go (Wikipedia) |
Groovy | .groovy, .gvy, .gy, .gsh | Groovy (Wikipedia) |
Java | .java | Java (Wikipedia) |
JavaScript/TypeScript | .js | JavaScript (Wikipedia) or TypeScript (Wikipedia) |
Objective-C | .m | Objective-C (Wikipedia) |
Pascal/Delphi | .pas, .dpr, .rgs | Pascal (Wikipedia), Object Pascal (Wikipedia), or Delphi (Wikipedia) |
Perl | .pl | Perl (Wikipedia) |
PHP | .php | PHP (Wikipedia) |
Python | .py, .pyw, .pyc, .pyo, .pyd | Python (Wikipedia) |
Ruby | .rb, .rbw, | Ruby (Wikipedia) |
Scala | .scala | Scala (Wikipedia) |
SQL | .sql | SQL (Wikipedia) |
Swift | .swift | Swift (Wikipedia) |
Custom programming language | A custom programming language. Define the language by specifying strings separators and comment strings. |
Soluling detects the programming language the file or data uses. This detection is very accurate. However, if you are sure that the actual programming language is something else but the detected, then change it.
This is visible if you have selected Custom programming language. Specify the string and character separators.
This is visible if you have selected Custom programming language. Specify the comment strings. Single specifies the string that starts a single line comment (e.g., //). Start specifies the string that starts a block comment (e.g., /*). End specifies the string that ends a block comment (e.g., */).
Shows a sample code using the settings you have specified.