Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 972 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Notepad++ integration into GameStudio A8 #483785
07/25/21 13:37
07/25/21 13:37
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Notepad++ integration into GameStudio A8

It supports:
Quote
- compiling LiteC and publishing into .exe
- code auto-completion + highlighting for LiteC and HLSL
- sourceCookifier (similar to SEDs code jumper) for LiteC and HLSL
- easy manual search (select world and press CTRL + F1)
- themes, plugins and all other cool notepad++ features

Known issues (solutions can be found below):
Quote
- plugin icons on toolbar won't work correctly when Dark Mode is enabled
- sourceCookifier plugin causes a lot of troubles...
- sourceCookifier will throw 'cannot open file' error, if path to the file contains unicode characters
- after 'cannot open file' error if won't update the code jumper, to fix this togggle between session modes
- comment blocks won't hide anything from code jumper (sourceCookifier's parser)
- HLSL has only white theme out of the box (since it's UDL it's not possible to apply themes)
- if your project name has spaces, NppExec might have problems executing it (replace spaces with at least _ )

How to use
Quote
Simply copy Notepad++ folder into your GameStudio rootfolder and it's all set.

To fix void plugin icons after enabling Dark Mode:
Quote
- go to: Preferences->General->Toolbar and check 'Standard icons: small' option

If sourceCookifier does something weird with code parsing:
Quote
- if it's a .h file make sure to reindent it from notepad++
- run as administrator, to make sure that notepad++ has write/read permissions
- else report it

To get dark theme for HLSL working do:
Quote
- close notepad++ if it's opened
- copy 'hlsl_darktheme.xml' into folder called 'userDefineLangs' in Notepad++ rootfolder
- remove 'hlsl.xml' so they won't conflict with eachother
- open notepad++ and enable Dark Mode from Settings->Preferences->Dark Mode
- don't forget to reset icons to 'Standard icons: small' from Settings->Preferences->General
- test .fx file if it's automatically recognized as HLSL file
- if .fx file wasn't recognized, go to Language->HLSL while .fx file was opened

Shortcuts
Quote
- autoindent: CTRL+ALT+A
- open manual: F1
- search manual for selected world: CTRL + F1 (or mouse right and 'help')
- direct execute previous cmd: F5
- open execute... window (to change cmd between publishing and compiling): F6
- go to definition (of a variable, function, etc): CTRL + SHIFT + ENTER

Screenshots
[Linked Image]
[Linked Image]

Sources

Plugins:
Quote
Custom Toolbar (Author: dw-dev@gmx.com Homepage: https://sourceforge.net/projects/npp-customize)
LanguageHelp (Author: Franco Stellari Homepage: https://github.com/francostellari/NppPlugins)
NppExec (Author: Vitaliy Dovgan Homepage: https://github.com/d0vgan/nppexec)
SourceCookifier (Author: UFO-Pu55y Homepage: https://sourceforge.net/projects/sourcecookifier/)
TextFX Characters (Author: Chris Severance Homepage: https://sourceforge.net/projects/npp-plugins/files/TextFX/)
Visual Studio Line Copy (Author: Mackenzie Zastrow (forked by Derek Brown) Homepage: https://sourceforge.net/projects/kered13-notepad-plugins/)


Link to git:
https://github.com/3RUN/Notepad-plus-plus-for-gamestudio-A8

Best regards.

Last edited by 3run; 07/26/21 14:03.

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Notepad++ integration into GameStudio A8 [Re: 3run] #483787
07/25/21 21:06
07/25/21 21:06
Joined: Jul 2007
Posts: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
Thank you man. I know how much effort you put into this, and I really appreciate it.

Best regards!

Re: Notepad++ integration into GameStudio A8 [Re: 3run] #483788
07/26/21 07:06
07/26/21 07:06
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Thank you bro!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Notepad++ integration into GameStudio A8 [Re: 3run] #483798
07/28/21 09:53
07/28/21 09:53
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Looks extremely useful! Thanks mate, I'll definitely check back on this in the future when I get back to 3DGS


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Notepad++ integration into GameStudio A8 [Re: 3run] #483799
07/28/21 09:58
07/28/21 09:58
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Thank you bro. I'm currently working on Geany integration which looks like much better option that notepad++ (too many limitations and bugs in it's plugins). But I always keep facing troubles with LiteC's weird instruction list syntax which isn't accepted by any C tag parser. I doubt that jcl would give a hand in this, but I asked him anyway. Let's hope.

Greets!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1