Skip to content

HanzoDev1375/Ghostide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost IDE - Fast Editor for Android

Ghost IDE Logo

GitHub stars GitHub forks GitHub release Commit Activity GitHub contributors GitHub last commit


App Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Program size

  • This is a question that many people have. Well, it's better to say that it's because of the PHP and Python executables and the Kotlin executables.
  • Unlike other programs, Ghost IDE is very lightweight. We want you to have all the files in one place so you don't need to download them again.

Store

  • It doesn't matter if you are a programmer or not, you can contribute to this repository thisand share your own themes Just don't forget to add your theme and preview to the main json of the repository after you're done uploading it.
  • We have also created a background storethis for you, so if you need variety, you can download the background or even set it for the editor code. You just need to uncolor the following keys 1: line_number_background 2: whole_background 3: backgroundcolorlinear
  • We also created a font store for your taste this, which includes Iranian and foreign fonts. Ghostide serves you because it was created to serve.

Join the Community

Custom Theme

  • You can learn how to create a theme here click

Features

  • Support for multiple languages
  • Free App
  • Run Python & Php scripts
  • pip support (80%)
  • Material Colors
  • Auto-save functionality
  • Git integration
  • Plugin system
  • HTML file reader(show system icon svg png ...)
  • Sass and Scss compiler
  • Java fx compiler
  • Kotlin compiler v2
  • Compile Ts tsx jsx nodejs
  • Java Helper (99%) (Create constructor,Getter and setter and..)
  • Html lsp(custom mod 50%)
  • Fast type
  • Less Compiler
  • JavaCc Compiler
  • Git manager (30%) (Need help)
  • CodeFormatter (80%)
  • Ninja Compiler (my lang)
  • Physical keyboard support

Supported Languages

  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • Python
  • Php
  • Sass Scss Less
  • Java
  • Javacc
  • Kotlin
  • Swift
  • C++
  • C#
  • Ruby
  • SQL(code formatter bad work)
  • Rust
  • Shell
  • Markdown
  • Go
  • Tsx && jsx
  • zig
  • lua
  • r
  • C

Notes

  • Refactoring: Code refactoring supported to improve performance and speed of program.

Cooperation Request

We invite you to collaborate on Ghost IDE under the following conditions:

  • Use test for testing purposes.
  • Create new attributes with attribute.
  • Use refactor to clean up the code.

Please Note: This project is entirely written in Java. Kotlin contributions will only be accepted under special circumstances.


Developer

  • You are not allowed to register this program under your own name.
  • This is an open-source project under the Ghost Web brand.

Code Snippets

Ghost IDE supports code snippets. Here's an example:

FA Json Example:

{
  "snippet1": {
    "description": "این یک قطعه کد تستی است",
    "prefix": "test",
    "body": "console.log('این یک تست است');"
  },
  "snippet2": {
    "description": "قطعه کد دیگری برای تست",
    "prefix": "test2",
    "body": "console.log('تست دوم');"
  }
}

EN Json Example:

{
  "snippet1": {
    "description": "This is a piece of test code",
    "prefix": "test",
    "body": "console.log('This is a test');"
  },
  "snippet2": {
    "description": "Another piece of code to test",
    "prefix": "test2",
    "body": "console.log('second test');"
  }
}

Note:

You can name your snippets with lowercase English letters, as in the examples above. In the future, all languages supported by Ghost IDE will support this feature.


Physical Keyboard Shortcuts

Ghost IDE offers a variety of keyboard shortcuts for physical keyboards from FileManager Activity:

  • Ctrl + F: Create new file
  • Ctrl + G: Git clone
  • Ctrl + S: Open settings
  • Ctrl + F1: Create new folder
  • Ctrl + J: Convert JSON to Java
  • Ctrl + D: Open drawer
  • Ctrl + A: Open APK viewer
  • Ctrl + T: Open terminal

System plugin

  • Currently we do not have the ability to create plugins, but this feature will be available in the future.

Themeing

General UI Colors

  • backgroundcolorlinear: Main background color of the entire editor
  • toolbarcolor: Background color of the toolbar
  • toolbartextcolor: Text color in the toolbar
  • menubackground: Background color of menus
  • menuPosBackground: Background color for selected menu items
  • menuPosTextColor: Text color for selected menu items
  • tabback: Background color of tabs
  • tabtextcolor: Text color in tabs
  • tabimagecolorfilter: Color filter for tab icons
  • line_number_background: Background for line number gutter
  • line_number: Color of line numbers
  • current_line: Highlight color for current line
  • selection_insert: Color for insertion cursor/selection
  • selection_handle: Color for selection handles
  • block_line: Color for code block lines
  • block_line_current: Color for current code block line
  • line_divider: Color for dividers between lines
  • non_printable_char: Color for non-printable characters

Note

  • If you want to use the background image you need to make these keys line_number_background, whole_background and backgroundcolorlinear and line_divider. #0000000 continue to pay attention to the main background backgroundcolorliner

Syntax Highlighting Colors

General Syntax

  • text_normal: Default text color
  • comment: Color for comments
  • keyword: Color for keywords
  • operator: Color for operators
  • literal: Color for literals
  • identifier_name: Color for identifiers
  • attribute_name: Color for attribute names
  • attribute_value: Color for attribute values

Language-Specific Colors

Java

  • javakeyword: Java keywords
  • javastring: Java strings
  • javanumber: Java numbers
  • javatype: Java types
  • javafun: Java functions
  • javaoprator: Java operators
  • javaparament: Java parameters
  • javafield: Java fields

JavaScript/TypeScript

  • jskeyword: JS keywords
  • jsstring: JS strings
  • jsattr: JS attributes
  • jsfun: JS functions
  • jsoprator: JS operators
  • tskeyword: TypeScript keywords
  • tsattr: TypeScript attributes
  • tssymbols: TypeScript symbols
  • tscolormatch1-7: TypeScript color matching groups

Python

  • pykeyword: Python keywords
  • pystring: Python strings
  • pynumber: Python numbers
  • pysymbol: Python symbols
  • pycolormatch1-4: Python color matching groups

PHP

  • phpkeyword: PHP keywords
  • phpattr: PHP attributes
  • phpsymbol: PHP symbols
  • phpcolormatch1-6: PHP color matching groups
  • phphtmlkeyword: PHP+HTML keywords
  • phphtmlattr: PHP+HTML attributes

HTML

  • htmltag: HTML tags
  • htmlattr: HTML attributes
  • htmlattrname: HTML attribute names
  • htmlsymbol: HTML symbols
  • htmlblocknormal: Normal HTML blocks(</)
  • htmlblockhash: HTML block hashes(>)

CSS

  • csskeyword: CSS keywords

Kt

  • soon

Special UI Elements

  • fabbackgroundcolorcolor: Floating action button background
  • fabimagecolor: Floating action button icon color
  • fabcolorstroker: Floating action button stroke color
  • auto_comp_panel_bg: Autocomplete panel background
  • auto_comp_panel_corner: Autocomplete panel corners
  • displaytextcolortab: Text color for displayed tabs
  • navstatusbar: Navigation status bar color
  • backgroundcolorlinear: Linear gradient background color
  • print: Color for print-related elements

Debugging/Level Colors

  • breaklevel1-8: Colors for different breakpoint levels like in ({}()[])

Plugins