Gamestudio Links
Zorro Links
Newest Posts
Price of entry with OrderDelay
by Zheka. 10/18/21 23:50
Easiest way to get 1m History?
by Grant. 10/18/21 22:31
Lapsa's very own thread
by Lapsa. 10/18/21 21:09
Is it possible to find robust systems?
by Mariano. 10/18/21 20:59
Orders not found
by dpn. 10/18/21 18:09
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/18/21 13:49
What are you working on?
by rayp. 10/17/21 12:01
AUM Magazine
Latest Screens
Tactics of World War I
Hecknex World
Scheherazade's Journey
Paradox Vector
Who's Online Now
7 registered members (Rtttt, Quad, Dooley, AndrewAMD, Zheka, Grant, RealSerious3D), 420 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mariano, KoenC, Cuttyflame, Chiller, Avedon
18694 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,344
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,344
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
Re: Notepad++ integration into GameStudio A8 [Re: 3run] #483787
07/25/21 21:06
07/25/21 21:06
Joined: Jul 2007
Posts: 609
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 609
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,344
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

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


Looking for free stuff?? Take a look here: http://badcom.at.ua
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,344
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,344
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

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