contrib:externaleditors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
contrib:externaleditors [2020/10/21 20:26] – [NotePad++] brucemuttoncontrib:externaleditors [2023/12/23 03:56] (current) – [NotePad++] Update for Therion 6.2.0 brucemutton
Line 100: Line 100:
 In Windows add the files below to the folder  In Windows add the files below to the folder 
 <code> %APPDATA%\Notepad++ </code> <code> %APPDATA%\Notepad++ </code>
-which in Windows XP usually evaluates to ... +which in Windows usually evaluates to ... 
-<code> C:\Documents and Settings\<Username>\Application Data\Notepad++ </code> +
-or in Windows 7+
 <code> C:\Users\<Username>\AppData\Roaming\Notepad++ </code> <code> C:\Users\<Username>\AppData\Roaming\Notepad++ </code>
  
-Make sure that NotePad++ is not running when you relocate or edit these files in the above location.  Edit them in a different location if NotePad++ is running, otherwise NotePad++ will overwrite them when it closes.+Make sure that NotePad++ is not running when you relocate or edit these files in the above location.  Close NotePad++ and use a different editor, or edit them in a different location if NotePad++ is running, otherwise NotePad++ will overwrite them when it closes.
  
 ---- ----
-**User defined language styler for survex and for therion**+**Open a new instance of Xtherion with the currently active file using Ctrl + Alt + X** 
 + 
 +Modified keyboard shortcuts to include opening Xtherion using Ctrl+Alt X 
 + 
 +For Therion 5.3.14 to 6.0.4 variants, add this line to the file ''%APPDATA%\Notepad++\shortcuts.xml'' ... 
 +<code> <Command name="XTherion_THIS_file" Ctrl="yes" Alt="yes" Shift="no" Key="88">&quot;C:\Program Files (x86)\Therion\bin\wish86t.exe&quot; &quot;C:\Program Files (x86)\Therion\xtherion.tcl&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command> </code> 
  
-Includes 3 styles - Survex, Therion simple highlighting of comments only, and Therion 5.3.3) +For Therion 6.0.5 onwards, add this line to the file ''%APPDATA%\Notepad++\shortcuts.xml'' ... 
-{{:contrib:userDefineLang-SurvexTherion533-.zip|:contrib:userDefineLang.xml}} (Download the file then unzip the contents to %APPDATA%\Notepad++)+<code> <Command name="XTherion_THIS_file" Ctrl="yes" Alt="yes" Shift="no" Key="88">&quot;C:\Program Files (x86)\Therion\bin\wish86.exe&quot; &quot;C:\Program Files (x86)\Therion\xtherion.tcl&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command> </code> 
 +(The name of Wish86 was changed)
  
 +For Therion 6.2.0 onwards, add this line to ''%APPDATA%\Notepad++\shortcuts.xml'' ...
 +<code> <Command name="XTherion_THIS_file" Ctrl="yes" Alt="yes" Shift="no" Key="88">&quot;C:\Program Files\Therion\bin\wish86.exe&quot; &quot;C:\Program Files\Therion\xtherion.tcl&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command> </code>
 +(Therion is now 64 bit only, so it has been moved out of the x86 programes folder)
 ---- ----
-**Open a new instance of Xtherion with the currently active file using Ctrl + shift + X**+**User defined language (UDL) styler for survex and for therion**
  
-Modified keyboard shortcuts to include opening therion using Ctrl+Alt X+The old legacy way of adding new UDLs to NotePad++ was to edit the file userDefineLang.xml in ''%APPDATA%\Notepad++'' 
 +Nowadays there is a userDefineLangs folder in which you can add your individual UDL xml files.  The easiest way to navigate here is to use the NotePad++ menu sequence ''Language.UserDefinedLanguage.OpenUserDefinedLanguageFolder...'' It will open the folder in Explorer. 
 + 
 +You can build your own UDL interactively by using a built-in dialog accessed via menu ''Languages.DefineYourLanguage...''  or you can copy a pre-built UDL from {{https://github.com/CaverBruce/NP-plus-plus-CaveUDL|NP-plus-plus-CaveUDL}}
  
-For Therion 5.3.14 and later, add this line to the file ''%APPDATA%\Notepad++\shortcuts.xml'' ... 
-<code> <Command name="XTherion_THIS_file" Ctrl="yes" Alt="yes" Shift="no" Key="88">&quot;C:\Program Files (x86)\Therion\bin\wish86t.exe&quot; &quot;C:\Program Files (x86)\Therion\xtherion.tcl&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command> </code> 
 ---- ----
 **Run Therion compiler on the currently active file without invoking XTherion using Ctrl + T** (Footleg) **Run Therion compiler on the currently active file without invoking XTherion using Ctrl + T** (Footleg)
Line 162: Line 172:
  
 Note: vi too has the shell, '':!'' followed by the command. Note: vi too has the shell, '':!'' followed by the command.
 +----
 +
 +==== VSCode Extension ====
 +
 +A VSCode extension to enable syntax highlighting, formatting, and code completion for Therion files.
 +
 +Install from the VSCode store: https://marketplace.visualstudio.com/items?itemName=rhystyers.therion&ssr=false#overview
 +
 +----
 +==== PIXLR E ====
 +
 +A free online image editor you may use to edit, crop, rotate and erase white space of background images and save them as .png with transparency. Maximum size for free online version is 4096x4096 px. There are paid and paid desktop versions too.
 +
 +https://pixlr.com/
 +
 ---- ----
  
  • contrib/externaleditors.1603304789.txt.gz
  • Last modified: 4 years ago
  • by brucemutton