Share your editor layout

Started by Tarnos12, Mon 04/04/2022 16:06:51

Previous topic - Next topic

Tarnos12

Hey,

Anyone who wants to, feel free to share your editor layout.
I am curious to see how everyone else is working on the code.
Where do you put all the windows etc and perhaps your editor theme(I guess most of the people are either using default or the dark theme, but maybe there are more?)

Here is mine:(I will release this module once it's complete in few days probably)
https://i.gyazo.com/2b8bf4a264d26feff7d79067bbcd7cae.png

I just started using "Notes" script to keep track of important variables that I work with in the current module(probably a better idea to use dialog if there is a way to remove the "options" on the left side since you can edit it at runtime)

For a long time I actually had the "Explore Project" on the far right for some reason...Just moved it to the left side recently so my code is more centered.
Game Developer - AGS/Unity and more
Hire me at: https://www.fiverr.com/tarnos
Portfolio: https://tarnos.carrd.co/

Danvzare

I just configure it to look closer to AGS 2.7, since that's the first version I used. I leave everything else the same.  :-\

eri0o

I use it with the standard panel position, but I theme it with the Darcula theme from vga256 and use JetBrains Mono as my font on the script editor - I also set the compatibility setting of windows to not blur things so that the script editor looks nicer.

Spoiler
[close]

lorenzo

That setup is very nice, eri0o! Soft colours and a good, readable font.

Personally, I just use the default settings, but I should probably try a darker theme, as the eyes get tired after a while from the white background.

Tarnos12

Quote from: eri0o on Tue 05/04/2022 22:47:36
I use it with the standard panel position, but I theme it with the Darcula theme from vga256 and use JetBrains Mono as my font on the script editor - I also set the compatibility setting of windows to not blur things so that the script editor looks nicer.

Spoiler
[close]

Oh wow, that actually looks so good.
How did you change the font?
Game Developer - AGS/Unity and more
Hire me at: https://www.fiverr.com/tarnos
Portfolio: https://tarnos.carrd.co/

eri0o

On 3.6.0, you can go in the Editor Preferences, Advanced, then in the Script Editor category you can set font and font size.

Tarnos12

Quote from: eri0o on Thu 07/04/2022 14:32:51
On 3.6.0, you can go in the Editor Preferences, Advanced, then in the Script Editor category you can set font and font size.

Thanks, any recommended fonts?

You mentioned JetBrains Mono.
I am trying out Inconsolata/Consolas which we use for spreadsheet and other documents, but it doesn't look that good for ags(or maybe it's just my eyes being tired atm)
Game Developer - AGS/Unity and more
Hire me at: https://www.fiverr.com/tarnos
Portfolio: https://tarnos.carrd.co/

Pogwizd

@eri0o
Are you using some sort of formatters or code prettifiers for the AGS editor? If not, man, you are well disciplined and clean when it comes to writing code. I was actually going to make feature request for it, because the lack of formatting drives me nuts sometimes, but then I saw your post and thought I'd ask first.

Snarky

I think most code formatters for C, C++ or Java would happily format AGS code. I ran it through one at one point, on inheriting a large project.

That said, AGS will do indenting for you automatically, and beyond that, writing properly formatted code is… pretty easy (as easy, surely, as writing improperly formatted code?), so I'm not sure exactly what there is to marvel at.

eri0o

So, Snarky is right, I just type like that. I started coding in notepad and later jedit, so it's just my regular typing.

That said, if you have Linux you can probably get the unmaintained Atom code editor to install, and there's a plugin for AGS Script for it, which will let do pretty magical things in AGS Script in it - the plugin is updated, but Atom sadly stopped having regular releases so it uses outdated nodejs that is hard to get it working in other OSes...

A prettifier proper for AGS Script I think it would be hard to get people to agree on how it should behave and would endup needing a gazillion flags to configure it, it's better to enhance the plugin interface of AGS Editor for the Script Editor in it. This requires some C# knowledge, but I am sure someone one day will figure this out if they are feeling really motivated.

Stupot

Quote from: Tarnos12 on Mon 04/04/2022 16:06:51

Here is mine:(I will release this module once it's complete in few days probably)
https://i.gyazo.com/2b8bf4a264d26feff7d79067bbcd7cae.png


And the AGS Award for ‘widest monitor’ goes to…
MAGGIES 2024
Voting is over  |  Play the games

Tarnos12

Quote from: Stupot on Wed 13/04/2022 00:44:20
Quote from: Tarnos12 on Mon 04/04/2022 16:06:51

Here is mine:(I will release this module once it's complete in few days probably)
https://i.gyazo.com/2b8bf4a264d26feff7d79067bbcd7cae.png


And the AGS Award for ‘widest monitor’ goes to…

Lol, those are 2 monitors actually, but the main one is ultra wide.
It's actually interesting how gyazo managed to combine those 2 images and scale them properly.

On that note, I am not sure if I can recommend ultra wide monitors, I feel like having 3 smaller ones is better(2 is fine too)
The benefit of ultra wide is that I can open 2 scripts next to each other(usually a header with my struct properties and functions when I write code for them)

Lastly, I will see if I can release the module I was talking about today.
Just need to write some documentation for it and make a test game.
Game Developer - AGS/Unity and more
Hire me at: https://www.fiverr.com/tarnos
Portfolio: https://tarnos.carrd.co/

abstauber

#12
Since you were talking about fonts. I suggest to give IBM Plex Mono a try. It looks and feels a lot like a modern Courier New, but with better distinction of these characters 0OI|1I


I have no clue, why this looks so terrible right now - in imgur it looks alright: https://imgur.com/a/P5daSjo

WHAM

I was today years old when I found out you can change the editor layout. I've been doing everything with the default...
Wrongthinker and anticitizen one. Utterly untrustworthy. Pending removal to memory hole.

SMF spam blocked by CleanTalk