Sublime Text 3 IDE

How, what and why to code in BYOND.
Post Reply
cerid
Joined: Wed Jun 14, 2017 12:30 am
Byond Username: Cerid

Sublime Text 3 IDE

Post by cerid » #308080

I have been working on an old and abandoned plugin from Sublime Text 2 to get it up-to-date with recent improvements in Sublime Text 3.
I'm approaching a stage where it will be ready for an initial release.

Sublime Text 3 is an IDE similar to notepad++, however it is cross platform. It has lots of cool features some of which are lacking in n++.
The usual sales speil can be found here https://www.sublimetext.com/
Brief overview:
  • Goto Anything
  • Multiple Selections
  • Instant Project Switch
  • Cross Platform
  • Customize Anything
  • direct access to python through console
  • Command Pallette allowing access to any command without any menus
It also has a fantastic git integration plugin which allows you to access pretty much everything you could need; all the way from fetch to staging to merge conflict resolution
Image

So far the Dream Maker plugin supports:
  • compiling through DreamMaker from any project file (much like the native DreamMaker IDE).
  • Adding/removing files from the DME
  • Phantoms - compile errors are displayed inline
  • syntax highlighting
  • autocomplete and snippets
https://s1.webmshare.com/jzxXO.webm

Ideally looking for a few coders to test this out for me within the next few weeks when the initial release is ready.

Credits where due to original author of old plugin: https://github.com/seiyria/sublime-dreams
User avatar
kevinz000
Joined: Fri Nov 14, 2014 8:41 am
Byond Username: Kevinz000
Github Username: kevinz000
Location: Dorm Room 3

Re: Sublime Text 3 IDE

Post by kevinz000 » #308166

Looks really nice.
cerid
Joined: Wed Jun 14, 2017 12:30 am
Byond Username: Cerid

Re: Sublime Text 3 IDE

Post by cerid » #309404

An initial release is ready.
https://github.com/cerid/sublime-dreams ... master.zip

Dowload the zip. Extract it. Rename the folder 'Dream Maker'
From Sublime Text 3 select Preferences->Browse Packages
Copy the 'Dream Maker' folder there
Restart sublime text 3

Image
cerid
Joined: Wed Jun 14, 2017 12:30 am
Byond Username: Cerid

Re: Sublime Text 3 IDE

Post by cerid » #309483

  • Start a new project by going to project->add folder to project and selecting one of your folders containing a byond project.
  • You may have to use the view->syntax->open all with current extension as->Dream Maker->Dream Maker when viewing a .dm/.dme file to set up the syntax-highlighting
  • ctrl+shift+P opens the command interface. Type Dream Maker to access all Dream Maker plugin commands. You can build with DreamMaker from both .dm .dme files
  • ctrl+alt+p is quick project switch. It will only work if you have recently opened at least two projects.
  • ctrl+` will open the console - useful for viewing errors with the build system
  • Should, when building, you get an error message in the console such as 'dmc not found' Please copy the entire contents of the console here and I will look into fixing it.
    It generally happens when there is a bug in the python script preventing the relevant objects being imported to the environment.
cerid
Joined: Wed Jun 14, 2017 12:30 am
Byond Username: Cerid

Re: Sublime Text 3 IDE

Post by cerid » #309484

most importantly: This will not work on Sublime Text 2!
Post Reply

Who is online

Users browsing this forum: No registered users