Notepad++ setup for QB64
#1
Lightbulb 
Tired of the native QB64 IDE?
Well, Notepad++ is a good alternative, if there wouldn't be the fight to configure the whole mess...


I did, and you can use it as a reliable foundation to build on and tweaking things for your personal taste and needs. The following archive contains all required files. Installation is described in detail and consists mainly of some simlple copy&paste or import operations. If you don't have Notepad++ installed yet, then I recommend to select the portable mode when you do, as it keeps all config files in the program folder rather than scattering everything all over the harddrive.
  • all provided files are based on the Notepad++ release 8.5.6
  • contains all keywords up to QB64 Phoenix Edition release 3.8.0

.7z   NppThemesQB.7z (Size: 125.86 KB / Downloads: 21) --- (Aug/23)(Notepad++ integration pack)

As additional part you also find a chapter in the archive, which describes how to set up default icons for .bas, .bi and .bm files using Windows Registry entries, if you like to do that.



Attached Files Image(s)
       
Reply
#2
Big Grin 
(04-20-2022, 05:01 PM)RhoSigma Wrote: Tired of the native QB64 IDE?
Well, Notepad++ is a good alternative, if there wouldn't be the fight to configure the whole mess...
Very nice, thank you! My win10 setup melted down and I had to rebuild all stuff again to a fresh win11.
Now the N++ enhancements had to return again.  I also installed the shortcuts from QB64Starter.bat, never seen/used them before but very handy.

To get rid of the waiting CMD box that only closes when QB64 is closed, I added the 'start' command to the exec line. Only tested for opmode OI.
This makes the CMD box to close right after launching QB64.

Code: (Select All)
start %qb64exe% %basfile%
Reply
#3
Well yes, that starts the IDE asynchronously from the QB64Starter.bat, hence the .bat can finish immediatly.

By looking into QB64Starter.bat it seems ok doing that for all commands except CR (Compile+Run), which needs the synchronous order of:

1. Delete old EXE (if existing)
2. Compile new EXE using QB64
3. Run compiled EXE (if existing, i.e. if successfully compiled)
Reply
#4
Sweet. Does it show functions and subs in a panel?
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#5
Sweet. Does it show functions and subs in a panel?
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#6
(08-26-2023, 01:54 AM)grymmjack Wrote: Sweet. Does it show functions and subs in a panel?
Yes, it does. Go to View in the menu and then click on Function List. A panel appears on the right hand side listing all subroutines and functions allowing you quick access to them.

I never program without using this np++ setup now. I have many tabs open with all my most used snippets of code to view/copy/paste and/or modify.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply
#7
I'm currently working on an update of this setup based on the latest N++ release 8.5.6 and also completing the keyword lists as of QB64pe 3.8.0, so stay tuned for the next couple days to not miss the update...
Reply
#8
Great, thanks @RhoSigma!
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#9
Just updated the download in post #1.

The Notepad++ setup is now based on the latest release 8.5.6 available from here and also the UDL files were updated to contain all keywords of the latest QB64-PE release 3.8.0.

Although it's based now on N++ 8.5.6, I found no breaking changes compared to the former 8.4.5 based setup, so if you're not in the mood to update your N++ now, then the new setup files should also work with any N++ version since 8.4.5.
Reply
#10
(08-27-2023, 09:45 PM)RhoSigma Wrote: Just updated the download in post #1.

The Notepad++ setup is now based on the latest release 8.5.6 available from here and also the UDL files were updated to contain all keywords of the latest QB64-PE release 3.8.0.

Although it's based now on N++ 8.5.6, I found no breaking changes compared to the former 8.4.5 based setup, so if you're not in the mood to update your N++ now, then the new setup files should also work with any N++ version since 8.4.5.

Excellent. Thank you for updating this awesome resource.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply




Users browsing this thread: 6 Guest(s)