Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Idea: CBOT Editor
#14
I was playing around with Atom today. It is not very well documented for "hackers", for example there is very brief explanation of creating grammar packages and there is no list of standard classes which should be in every theme and I had a lot of problems with nesting tags, but I managed to figure it out somehow basing on other packages and here is the result:

[Image: YwJPfmr.png]

Atom is pretty cool and useful, I must admit. I will probably do a whole package for Colobot instead of separate ones for CBOT, SatCom etc. and then I will create a public repository on GitHub, which may be added to ours later on.

For now, I give you what I have done today in attachment. It currently works the best with One Dark theme. One Light for some reason gives dark letters on dark background for \s; and other built-in themes have less colors (probably different CSS classes, I have no idea how to choose them reasonably, the only way I can think of is to make a separate style, but that would force users to use only this one theme Sad ). Let me know if there are any bugs or missing things. Also feel free to modify it, it's for community after all.

How to install: unpack to ~/.atom/packages on Linux, other systems probably have similar path. Also, most of the files were generated automatically, I will probably delete some of them as they don't seem to be necessary.

EDIT: Oh, I forgot to mention that Atom will automatically detect the SatCom files if they begins with \b; line or have .satcom extension.


Attached Files
.zip   language-satcom.zip (Size: 6.73 KB / Downloads: 439)
[Image: XvN5CTW.png] [Image: UYXyyMS.png]


Messages In This Thread
Idea: CBOT Editor - by Simbax - 07-30-2015, 11:40 AM
RE: Idea: CBOT Editor - by tomangelo - 07-30-2015, 12:00 PM
RE: Idea: CBOT Editor - by krzys_h - 07-30-2015, 03:49 PM
RE: Idea: CBOT Editor - by Simbax - 07-30-2015, 04:58 PM
RE: Idea: CBOT Editor - by tomaszkax86 - 07-30-2015, 05:57 PM
RE: Idea: CBOT Editor - by krzys_h - 07-30-2015, 06:32 PM
RE: Idea: CBOT Editor - by Simbax - 07-30-2015, 07:05 PM
RE: Idea: CBOT Editor - by krzys_h - 07-30-2015, 07:33 PM
RE: Idea: CBOT Editor - by Simbax - 07-30-2015, 09:25 PM
RE: Idea: CBOT Editor - by krzys_h - 07-30-2015, 09:29 PM
RE: Idea: CBOT Editor - by Simbax - 08-01-2015, 12:19 PM
RE: Idea: CBOT Editor - by tomaszkax86 - 08-01-2015, 02:55 PM
RE: Idea: CBOT Editor - by krzys_h - 08-01-2015, 03:00 PM
RE: Idea: CBOT Editor - by Simbax - 08-01-2015, 08:14 PM
RE: Idea: CBOT Editor - by krzys_h - 08-01-2015, 09:04 PM
RE: Idea: CBOT Editor - by Simbax - 08-04-2015, 11:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)