ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Jai​Tools

by RobinWragg ST3

Syntax highlighting, autocompletion, and Goto Symbol/Anything for the Jai language in Sublime Text 3.

Details

Installs

  • Total 423
  • Win 254
  • Mac 99
  • Linux 70
May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 4 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

JaiTools

Syntax highlighting, project-wide autocompletion, and Goto Symbol/Anything/Definition for the Jai language in Sublime Text 3. Thank you to GreenLightning for their contributions.

As you probably know, this language is not officially released yet, but the demonstrations of the language by Jonathan Blow and Abner Coimbre have been very promising, so the purpose of this package is to help people hit the ground running when the language is released.

All present and future features of JaiTools will always be exceedingly simple to use. This package strives to never interrupt your flow or waste your battery. Of course, JaiTools will be continually updated as the language evolves. Please be aware that some language features are not supported yet, as implementing and testing them properly requires access to the Jai compiler.

Usage

For the best experience, make sure you set your other autocompletion packages to ignore .jai files, otherwise you might receive duplicate/unhelpful completion suggestions. Other than that, you're good to go!

Begin typing a procedure call to view the matching symbols in your project. Type more to narrow down the list, or use the arrow keys to pick the right procedure. Hit Tab to complete it and jump to its parameter, hit Tab again to jump to the second parameter, etc.

Goto Symbol (ctrl+R/cmd+R) shows all the top-level symbols in the file including procedure parameters, so you can easily tell the difference between multiple overloaded procedures. Nested procedures (procedures defined locally inside other procedures) are also shown with indentation to indicate the scope heirarchy. Goto Symbol in Project (shift+ctrl+R/shift+cmd+R) shows all top-level symbols in your project, but doesn't show procedure parameters (yet).

Planned Work

  • [x] More efficient file indexing
  • [x] Regex performance improvements
  • [ ] Recognise syntax for parameters with default values
  • [ ] Add setting to disable completions
  • [ ] Gather completions for enum members correctly
  • [ ] Improved handling of #hashtags and other metaprogramming labels
  • [ ] Add support for structs with parameters
  • [ ] Gather completions from Jai scratch buffers (files without a location on disk)
  • [ ] Integrate with Sublime Text's build system in order to support in-code errors and warnings
  • [ ] Better support for Jai's polymorphism features
  • [ ] Smart struct-member and enum-member inspection

Suggestions, issues, pull requests and other contributions are very welcome!