Skip to content

Releases: QB64Official/notepadplusplus

QB64_for_NP++_v0.2.0

05 Sep 21:29
fb1cb08

Choose a tag to compare

QB64_for_NP++_v0.2.0 Pre-release
Pre-release

Version 0.2.0 release.

QB64_for_NP++_v0.1.0

25 Aug 21:29
fbb2454

Choose a tag to compare

QB64_for_NP++_v0.1.0 Pre-release
Pre-release

QB64 language files for NotePad++ v.8.4.4 64bits

First Edition (v0.1.0) by PauloAstro at 14 August 2022.
Last reviewed at 15 Aug 2022.

Introduction

This QB64 language implementation on NotePad++ (v.8.4.4, 64bits) uses only 3 configuration files (.xml) to be copied to the NP++ folders:

  1. qb64_UDL_v0.002.xml - file that holds the language keywords and rules based on the User Design Language interface for NP++.
  2. QB64FL.xml - file that holds the rules that to identify the Functions and Subroutines used on .bas .bi and .bm files for the QB64 language.
  3. overrideMap.xml - Add only one configuration line () that tels NP++ the FunctionList rules to be used for QB64 user defined Language (UDL).

Just this.

Language files installation

  1. Copy qb64_UDL_v0.002.xml to the userDefineLangs folder.
  2. Copy QB64FL.xml to the functionList folder of NP++.
  3. Copy overrideMap.xml to the functionList folder or just add the code line:
    <association id="QB64FList.xml" userDefinedLangName="QB64"/>
    as explained inside the overrideMap.xml to the existing file if you have more than one UDL FunctionList rules.

Config NotePad to use F5 key to compile .bas file

  1. Copy QB64_noIDE.exe to your QB64 folder, aside with QB64.exe.
  2. Configure manualy windows 10 to open all .bas files with QB64_noIDE.exe, selecting the "Open With.." option over any .bas file.
  3. Install the "RunMe" plugin on NP++, and restart it.
  4. On NP++ Settings -> Shortcut Mapper -> Main menu, and look on 'Filter' for the 'Run' NAME and change the shortcut key from F5 to F6 (for exemple). And click 'Modify'.
  5. At the 'Plugin commands'look for 'Shell execute current file' and edit the Shortcut to F5.

Now when pressing F5 it will compile the active NP++ document.