GitNex/app/src/main/java/org/mian/gitnex/helpers/codeeditor/LanguageName.java
M M Arif 9fa2e3f506 Code editor for files (#1182)
Currently highlight supports the following languages:

- Java
- Python
- Go Lang
- PHP

More will come in next iterations/releases.

Closes #1166
Closes #949

**EDIT: by support it means only can highlight that specific languages methods, classes, data types etc etc. By no means it is restricted to only that 4 langs. You can use it for any language you want.**

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1182
Reviewed-by: 6543 <6543@noreply.codeberg.org>
2022-08-14 08:44:04 +02:00

15 lines
298 B
Java

package org.mian.gitnex.helpers.codeeditor;
/**
* @author AmrDeveloper
* @author M M Arif
*/
public enum LanguageName {
UNKNOWN, // no language is specified or app currently does not support the mentioned language
JAVA, // java
PY, // python with py extension
GO, // go lang
PHP // php
}