Jump to content

Photo

Best program for working with scripts?


  • Please log in to reply
8 replies to this topic

#1 Avaro

Avaro

    o_o

  • Members
  • Real Name:Robin
  • Location:Germany

Posted 25 May 2017 - 09:18 AM

So what program dooes everyone use for scripting? Might be an interesting question. I'm thinking I should switch to something better, something that does formatting for me.

 

I use notepad... And I always manually use 4 spaces for formatting, as I think that looks nicer than a tabspace.


Edited by Avataro, 25 May 2017 - 10:06 AM.


#2 Gégé

Gégé

    Senior

  • Members
  • Real Name:Gérard
  • Location:France

Posted 25 May 2017 - 09:23 AM

I use Visual Studio Code


Edited by Gégé, 25 May 2017 - 09:23 AM.


#3 Jamian

Jamian

    ZC enthusiast

  • Members

Posted 25 May 2017 - 09:47 AM

I can recommend Notepad++, which is free to download. It opens quickly, has a few auto-completion features you might find useful, and a tabspace will just add 4 spaces.


  • Avaro and Lüt like this

#4 Flying Fish

Flying Fish

    King of the Fish

  • Members
  • Real Name:Flying fish
  • Location:Under the sea

Posted 25 May 2017 - 10:00 AM

I also would recommend Notepad ++



#5 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 25 May 2017 - 10:21 AM

Notepad?! I have great pity for you.
 
I personally use SciTE (Scintilla Text Editor), and I made an excellent ZScript syntax set for use with it.
 
In general, I suggest SciTE, EMACS, and Coda (Mac OSX). While NP++ is nice, it also is very memory and CPU heavy; whereas SciTE is, extremely lightweight and I have had no issues with hundreds of simultaneously open files.
 
There is also a SciTE build for Android that I found to be rather good, and it has no adverts, unlike every other Android OS code programme.
 
Why not give it a try? You will never again open notepad.exe for any reason.

 

P.S. Despite using MSVC 2008 for ZC Source compiling and some dev work, I tend to edit ZC source files in SciTE, too; as they take far less memory and use fewer CPU cycles.

 

Regarding using four manual spaces: Once you begin using a code editor, you will use tab, as it is much faster to select a range of instructions and tab or un-tab them. Code editors also handle tabbing for you, based on scope. That meaning, if you open a scope, the next line will indent until you close the scope.

 

SciTE has a prefs setting for the number of spaces in a tab.

 

Let me know if you want to see a video of using SciTE to develop a script. I have a few of those.


Edited by ZoriaRPG, 25 May 2017 - 10:27 AM.


#6 grayswandir

grayswandir

    semi-genius

  • ZC Developers

Posted 25 May 2017 - 11:47 AM

Emacs, of course.

Emacs is the best for everything.

 

*runs*



#7 cavthena

cavthena

    Apprentice

  • Members
  • Real Name:Clayton
  • Location:I wish I knew

Posted 25 May 2017 - 01:14 PM

No one has said it yet, but the 'best' program is whatever your most comfortable with.
  • Avaro likes this

#8 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 27 May 2017 - 02:09 AM

No one has said it yet, but the 'best' program is whatever your most comfortable with.


While this is true, there are also very good reasons why we use code editors.


I'll see if I can write up a pros and cons list for all of the programmes.

#9 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Location:Lancaster, CA

Posted 28 May 2017 - 03:40 PM

I use that ZScript editor demo that was posted years ago. Seems to work fine for me.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users