Visual Studio for Lua editing

Friday, August 12, 2011

I've always used Notepad++ for Lua editing. It did the job, I was used to it. I liked it. The problem is that when you have a large project and you want to quickly jump between files and search for stuff it kind of slows you down.

So now I use Visual studio. Here's how.

1. Install Lua syntax plugin
2. Generate Project files using Premake.

Obviously premake and visual studio weren't exactly made for this shit - so you have to fool it a bit. Here's my premake files (you don't need to download anything else).

Basically I have a folder called 'proj' next to my garrysmod folder, and the premake script looks in "../garrysmod/lua/*" and adds all the lua files. It's a lot faster than adding them all manually.

And when your files change you just run the .bat again to syncronise the project files.

<3 premake

More Rubbish

Your Portfolio Gave Me Diarrhea

Friday, October 1, 2021

Motivation

Friday, September 24, 2021

We got married

Thursday, September 16, 2021

Unity Quiz

Sunday, September 6, 2020

Everything We Watched In Lockdown

Thursday, September 3, 2020

More Android bitching

Wednesday, August 10, 2011

Riots

Tuesday, August 9, 2011

Home Gym

Tuesday, August 9, 2011

Android vs iOS

Monday, August 8, 2011

Doing Stuff

Sunday, August 7, 2011