Home
Softono
DeepCodeStudio

DeepCodeStudio

Open source Apache-2.0 Kotlin
51
Stars
3
Forks
0
Issues
2
Watchers
11 months
Last Commit

About DeepCodeStudio

Assembly code editor

Platforms

Web Self-hosted Android

Languages

Kotlin

DeepCode Studio

DeepCode Studio (DCS) is a code editor for assembly languages of any architecture, with support for Linux and Windows, where you have full control over syntax highlighting and autocompletion. The main goal of DCS is to become the best IDE for assembly languages, helping developers work more efficiently and easily.

dcs_screenshot

GitHub GitHub

Installation

Linux binary, Windows installer, JAR file, and configuration JSON file are available on the releases page.

Linux

  1. Download the AppImage
  2. Execute chmod +x DCS-*AppImage
  3. Run the program with ./DCS-*AppImage

Windows

Download and run the Windows installer.

Jar

  1. Download the editor version in .jar
  2. Run the program with java -Xss2m -jar DCS-*.jar

[!IMPORTANT]
For the editor to work properly, you need Java 17 installed on your system and must add the VM option "-Xss2m", as shown in the section above.

Configuration

DeeCode Studio use JSON files to configure syntax highlighting and autocomplete suggestions. This JSON file must have the following format:

{
  "data": {
    "instructions": [ "mov", "..." ],
    "variables": [ "db", "..." ],
    "constants": [ "equ", "..." ],
    "segments": [ ".data", "..." ],
    "registers": [ "rax", "..." ],
    "systemCall": [ "int 0x80", "..." ],
    "arithmeticInstructions": [ "inc", "..." ],
    "logicalInstructions": [ "and", "..." ],
    "conditions": [ "jnz", "..." ],
    "loops": [ "loop", "..." ],
    "memoryManagement": [ "malloc", "..." ],
  }
}

You can also download the example configuration JSON file from the releases page.

New Configuration

Now, to add a new configuration for syntax highlighting and autocomplete suggestions to the editor, follow these steps:

Syntax_Suggestions_Settings

  1. Open the settings and go to the "Syntax & Suggestions" option.
  2. Add the name you want for the configuration option.
  3. Click on the folder icon; this will open a file selector. Select the .json file you want to use.
  4. Click on the button to add the option, located next to the folder icon.
  5. A notification will appear; wait for it to disappear, then wait for the next one with the text "Option added successfully!"
  6. Perfect! You now have the configuration added.
  7. Now, every time you open a .s or .asm file, a panel will open on the right side of the editor. In this panel, you can choose the configuration you want for that file.

Customization of syntax highlighting colors

You can fully customize the colors for syntax highlighting. To customize them, go to: "Settings > Color Scheme".

Color_Scheme_Settings

Contributing

You can contribute in the following ways:

  • Creating configuration JSON files with instructions and reserved words for different assembly languages.
  • Proposing ideas for the editor.
  • Reporting bugs.
  • Adding new features to the editor.

Roadmap

  • [ ] Automatic execution and compilation using Makefile and CMake files.
  • [ ] Autocomplete suggestions with data extracted from the code, such as variable names, labels, macros, etc.
  • [ ] Editor customization system.
  • [ ] Improvement of the extension system.
  • [ ] Improvement of the autocomplete suggestion system.
  • [ ] Improvement of the file and folder selection system.
  • [ ] Functionality to split the code editor horizontally and vertically.
  • [ ] Fix bugs that have arisen.
  • [ ] Optimizations
  • [ ] 🚀 New release

📜 License

Apache-2.0