joseph-montanez / squirrel-lang-idea-plugin

Squirrel language integration with IntelliJ IDEA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This plugin is in early development stage. It has a basic feature set implemented, which allow basic use with Intellij IDEA or IDEA based IDEs, such as PHPStorm, PyCharm, CLion, etc.

Currently, I don't spend much time working on it, so if you want to help with any todo item, then go for it, send a PR and I'll review it.

Plugin page on JetBrains repository: https://plugins.jetbrains.com/plugin/8412

Contribution guide

Preparation

  1. Download IntelliJ IDEA Community edition binaries from https://www.jetbrains.com/idea/
  2. Download IntelliJ IDEA Community edition sources from https://github.com/JetBrains/intellij-community and place them into ../idea directory. Make sure you download sources tagged for the same build as your IDEA executable (check the build number in Help box of IDEA).

Running plugin

  1. Run build.sh to build the plugin. The should be a Bash run profile for this if you have bash plugin installed.
  2. Launch "Plugin" run configuration to test it in IDEA.

Features

  1. Creation of Squirrel projects.
  2. Syntax highlight.
  3. Auto formatting.
  4. Indentation.
  5. Folding.
  6. Running scripts using menu items.

TODO:

  1. debugger (code has some basic implementation, but much more work required to finish it)
  2. automatically setup sdk?
  3. download compiler from the web?
  4. make compiler?
  5. add debugger configuration (is it possible to download it?)
  6. SquirrelSDKType Configurable
  7. Test PATH detection on windows.
  8. Custom icons for run config.
  9. run configuration with C program.

Known issues

  1. Increment and decrement operators should always go in the same line with it's identifier.

About

Squirrel language integration with IntelliJ IDEA.

License:MIT License


Languages

Language:Java 87.8%Language:Squirrel 7.0%Language:Lex 5.0%Language:Shell 0.2%