WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Anyone editing lua on OS X Lion? (https://www.wowinterface.com/forums/showthread.php?t=40482)

Haleth 06-14-11 01:35 AM

Anyone editing lua on OS X Lion?
 
I'm running the developer preview of Lion and everything works great, but there's one minor thing that really annoys me. I use TextEdit to edit lua files a lot, but whenever a .lua file gets saved now, it gets converted into .txt because of the new saving system.

Is there anyone that knows a workaround to this other than having to manually edit the file extension every time?

I'd rather not use an other app for coding if possible unless it's really lightweight. I love how fast and simple TextEdit is and I don't need any other faff.

Thanks. :)

Aftermathhqt 06-14-11 05:45 AM

Quote:

Originally Posted by Haleth (Post 239341)
I'm running the developer preview of Lion and everything works great, but there's one minor thing that really annoys me. I use TextEdit to edit lua files a lot, but whenever a .lua file gets saved now, it gets converted into .txt because of the new saving system.

Is there anyone that knows a workaround to this other than having to manually edit the file extension every time?

I'd rather not use an other app for coding if possible unless it's really lightweight. I love how fast and simple TextEdit is and I don't need any other faff.

Thanks. :)


Try Notepad++ ;) its awsome.

Haleth 06-14-11 05:49 AM

That's Windows only.

Cladhaire 06-15-11 03:02 AM

You might take a look at Vico, a new text editor that shows quite a bit of promise: http://www.vicoapp.com/. Personally I use MacVim for all of my editing, that way I have a consistent vim config between all of my machines.

There's quite a few editors and they should all be more than capable!

Haleth 06-15-11 04:17 AM

Thanks for those suggestions. :) Vico looks like the exact thing I'm looking for, but I read in the dev's blog that he plans to eventually charge $50 for it when it's out of beta, which imo is a lot.

I tried MacVim, but it crashes every time I try to open a document. I got the latest Github version, but it's probably incompatible with Lion or something (or I'm just screwing up).

I'll stick to TextWrangler for now, it's a little more advanced than what I need but it's free and loads fairly quickly. I'm considering buying Smultron, it costs €5 on the App Store and it looks really neat.

Cladhaire 06-15-11 05:29 AM

I've heard good things about Smultron indeed. Lion stuff should be fine once developers update =)

Haleth 06-15-11 09:15 AM

I actually found an old fork of Smultron back when it was free, called Fraise. It still works perfectly fine, so I'll use that. :D

Zagrei 06-15-11 11:41 AM

Smultron costs money now? I've had it for a long time, and I didn't have to pay when I downloaded it :o I love it, personally (Snow Leopard, here).

Xinhuan 06-15-11 07:54 PM

Quote:

Originally Posted by Haleth (Post 239341)
I'm running the developer preview of Lion and everything works great, but there's one minor thing that really annoys me. I use TextEdit to edit lua files a lot, but whenever a .lua file gets saved now, it gets converted into .txt because of the new saving system.

Is there anyone that knows a workaround to this other than having to manually edit the file extension every time?

I'd rather not use an other app for coding if possible unless it's really lightweight. I love how fast and simple TextEdit is and I don't need any other faff.

Thanks. :)

If you open a file in TextEdit, then save it later, it should't create a new file. It would only append the .txt if you save it as a new file, so just rename it in Finder first after saving a new file initially.

Aeternal 06-16-11 12:32 AM

I use textwrangler: http://www.barebones.com/products/te.../download.html Very good for me to editing .iua. And it's free :)

Haleth 06-16-11 01:32 AM

Quote:

Originally Posted by Xinhuan (Post 239450)
If you open a file in TextEdit, then save it later, it should't create a new file. It would only append the .txt if you save it as a new file, so just rename it in Finder first after saving a new file initially.

The problem is that if I open an existing lua file, whatever I do in an attempt to save it gets it changed to .txt.

MysticalOS 06-18-11 05:10 PM

i've always prefered and still prefer subethaedit

http://subethaedit.net/

it has native lua syntax coloring that has always worked well. plus a lot of other languages, and nice features too, such as shared editing mode, you could let another subethaedit user connect to your file, and edit it with you. :)

Kagaro 06-19-11 06:35 AM

Use TextMate

Cladhaire 06-19-11 06:36 AM

Textmate is still rather expensive for software that's updated about as frequently as Duke Nukem Forever, but yes, it does many things quite well.

Hoern 07-03-11 10:58 AM

Quote:

Originally Posted by Cladhaire (Post 239632)
Textmate is still rather expensive for software that's updated about as frequently as Duke Nukem Forever, but yes, it does many things quite well.

Then there's of course SubEthaEdit (whose coders, the Codingmonkeys, also are the authors of Carcassonne which is internally scripted in Lua) and SublimeText which takes, for me at least, the cake right now. For a rather .. different .. reason, too - I can turn on 2x grey antialisaing for font which makes Panic Sans look extremely cool and readable.

sylvanaar 07-04-11 02:22 AM

You can always use IntelliJ with my Lua plugin.

It is 1) free 2) pretty good and 3) X-platform

It is rather large - but in return you get a lot of functionality.

The code formatter alone is worth it.

http://www.wowinterface.com/forums/s...ad.php?t=34752


All times are GMT -6. The time now is 09:05 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI