Atom editor

Started by Pfaber11, August 13, 2021, 09:36:13

Previous topic - Next topic

Pfaber11

Had a play with Atom last night and although it is pretty good I could not work out how to point it in the direction of the AGK studio compiler, if anybody knows please share . Then advantage for me would be code folding which when I get up to 8000+ lines of code will be  helpful.
Thanks for reading . Awesome day.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

Qube

Quote from: Pfaber11 on August 13, 2021, 09:36:13
Had a play with Atom last night and although it is pretty good I could not work out how to point it in the direction of the AGK studio compiler, if anybody knows please share . Then advantage for me would be code folding which when I get up to 8000+ lines of code will be  helpful.
Thanks for reading . Awesome day.
You can't anymore. Studio has the compiler built into the IDE which is not the best idea they've had. Classic has the compiler separate.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Pfaber11

what a shame . I guess I'll just have to wait for TGC to fix the code folding in Studio. It may not be an issue as I'm on a more powerful computer these days but in one of my games I had close to 10,000 lines of code and trying to scroll through the program was awful which is why I wanted the code folding option . Mind you that was a couple of years ago and I'd probably achieve the same or better results now  with half the code , but the screen refresh the way it was  was crap to work with. Thanks for the reply .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

Steve Elliott

Quote
in one of my games I had close to 10,000 lines of code and trying to scroll through the program was awful which is why I wanted the code folding option .

:o You really should be breaking up your program into more files.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Pfaber11

Yes I agree with you Steve. Never tried it before but will try and work it out , it's something I should know how to do anyway. 
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

Pfaber11

Well I've now got the hang of #include and it really is pretty easy when you know how . There you go I learnt something new today and so really don't need the code folding as a result although will be nice once it gets fixed.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

medi71

Good to know that there is atom.agk. Thanks to gosukiwi.

blinkok

There is also #insert. Which includes the file at the line rather than at the end of the file

Pfaber11

Yes I tried #insert first but it was saying something about variables and suggested I use #include which I did and it does the job . Bit like using gosub/return but better. Have a nice evening.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz