Jump to content

Text editor settings?


Recommended Posts

Here's a similar topic from about a year ago. I use Programmer's Notepad, along with a .schemedef I wrote that will highlight all the AvernumScript keywords and functions.

 

The original poster in the linked thread was a Windows user, so if you're a Mac user not many of the suggestions will be useful. I know that jEdit is crossplatform, and I think Arancaytar wrote an AvernumScript plugin for it.

Link to comment
Share on other sites

I used to use plain Wordpad. Now I use Notepad++. But I don't really use a text editor to keep track of my semicolons and brackets; if I make a "{" bracket, I immediately make a "}" bracket as well. At the end of a loop or large block enclosed in {} brackets, I also usually add a comment to say what code I enclosed.

 

Code:
while (i < 3) {     if (char_has_item() > 0)         print_str();     else {        if (my_loc_x() > 35)         damage_near_loc();          else message_dialog();         } // this closes the original else block     } // this closes the while loop
Link to comment
Share on other sites

Originally Posted By: Dintiradan
The original poster in the linked thread was a Windows user, so if you're a Mac user not many of the suggestions will be useful. I know that jEdit is crossplatform, and I think Arancaytar wrote an AvernumScript plugin for it.
For Mac, I recommend TextWrangler. I created two TextWragler language modules for AvernumScript, one for data scripts and one for other scripts; they are available here. You would have to put those files where TextWrangler can find them, and then you would have to launch TextWrangler and tell it that each file is AvernumScript by opening it, selecting AvernumScript from the language menu at the bottom of the window (which will say "none" initially), and saving. It will then remember your setting.
Link to comment
Share on other sites

Originally Posted By: Ishad Nha
For Windows, Notepad C++ and Crimson Editor are quite good.
I just downloaded and played around a little bit with Crimson Editor, and so far it seems like a great upgrade from Wordpad as a script editor (especially when it comes to line numbers and color-coding). Does anyone have an Avernumscript custom syntax file for Crimson Editor?

EDIT: Never mind, I made one myself; it was a lot easier than I thought.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...