Author Topic: Geany IDE for ScriptBasic  (Read 19406 times)

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Geany IDE for ScriptBasic
« on: June 03, 2013, 11:30:18 AM »
Tomaaz put a zip together of the configuration files needed to give ScriptBasic syntax highlighting in the Geany IDE.

Thanks Tomaaz!

kryton9

  • Guest
How to place these files in Ubuntu using Nautilus
« Reply #1 on: September 23, 2013, 12:34:04 AM »
Using Nautilus in Ubuntu

Step 1.  Unzip the download. Should be in /home/username/Downloads
Step 2.  in the now unzipped geany_scriptbasic folder, select and copy both .conf files.
Step 3.  Go back to your home directory with Nautilus, now press CTRL+H this will toggle hidden files and folders.
You should now see a bunch of new files and folders in your home directory.

Step 4. Go into the .config/geany folder. I renamed the existing filetype_extensions.conf to
filetype_extensions.conf.original

Step 5. Now paste the 2 copied .conf files.

Start Geany and you should now have the goodies.

kryton9

  • Guest
How to run your sciptbasic files from Geany
« Reply #2 on: September 23, 2013, 12:47:54 AM »
Here is how you can setup Geany to run your scriptbasic code files.

I have my scriptbasic scriba binary in the following location:
/home/kryton/sb22/bin/scriba

Step 1. Run Geany and open a scriptbasic source file, e.g. test.sb
Step 2. In the Geany menubar, go to Build
Step 3. From Build go to Set Build Commands
if setup the .conf files provided by Tomaaz as outlined in the previous message.
You should now see in the Set Build Commands dialog a section that says
Scriptbasic commands.
Step 4. Click on empty button by the number 1. I named mine Run
Step 5. Under the Command textbox for line 1. I entered:
/home/kryton/sb22/bin/scriba %f
You would put the path to your scriba here followed by %f
Step 6. Hit OK

Now load a .sb file into Geany and press F8 or go to the
Geany menubar and select Build then Run

Your code will execute and you will see the output in the output window of Geany.

See screenshot for testmath.sb that is attached.
« Last Edit: September 23, 2013, 12:11:55 PM by kryton9 »

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Re: Geany IDE for ScriptBasic
« Reply #3 on: September 23, 2013, 01:15:20 AM »
Congrats! (and thanks Tomaaz for creating the syntax file for SB)