Difference between revisions of "Notepad++ VDF Language Plugins"

From Valve Developer Community
Jump to: navigation, search
m (Limitations: swapped the github link for one of my own, because i added more commands that were missing from the previous version. Which had last been updated multiple years ago.)
m (providing a link to my edited version of the QC language xml with dark mode support and extended tagging)
 
Line 53: Line 53:
  
 
== External links ==
 
== External links ==
 +
* [https://drive.google.com/file/d/1lw5Mam00jCg7s4dFARdxRGMXBAU4m5WO Extended version of the QC language with support for Dark Mode themes]
 
* [http://steamreview.org/external/vdc/npp-vdf.zip Legacy Version]
 
* [http://steamreview.org/external/vdc/npp-vdf.zip Legacy Version]
 
* [http://sourceforge.net/project/showfiles.php?group_id=189927&package_id=265782 Gmod Lua Highlighter plugin]
 
* [http://sourceforge.net/project/showfiles.php?group_id=189927&package_id=265782 Gmod Lua Highlighter plugin]

Latest revision as of 21:49, 5 June 2024

Info.png
This page needs to include the {{Software page}} template.
Please follow the instructions in the documentation on the template's page for steps on how to properly add this template.
QC highlighting.
Response rules highlighting.

Notepad++ Notepad++ is a free source code editor that supports custom text highlighting. Highlighting rules are available for many Valve Valve languages. This editor is useful for editing scripts and programming.

Support

Limitations

Warning.pngWarning:Notepad++ detects languages based on file extensions, but in several cases the established one is simply .txt.
Note.pngNote:v6.8.4 (released on 16 Oct 2015) implemented the auto-detect language feature (at least for a subset of languages)
Fix: Rename the files in these cases: so long as the correct name is in the manifests, it doesn't matter what your soundscripts, response rules scripts, or soundscapes are called.

Installation Highlighting rules

To install them:

  1. Download the languages on GitHub here
  2. Extract the XML files to %appdata%/Notepad++/userdefinelangs/

%appdata% should automatically resolve to a full path.

Filenames

You can see the custom extensions which had been set up for this purpose in the list above. If you want to set a language manually in Notepad++, use the Language menu.

Compiling QC model scripts

You can compile QCs directly from Notepad++ with the NppExec plugin. Install it either from Plugins > Plugin Manager or by downloading directly from SourceForge.

With NppExec installed, press F6 and enter the following command. Change the path to studiomdl to match your system and your target engine branch:

"C:\Program Files (x86)\Steam\steamapps\common\alien swarm\bin\studiomdl.exe" -nop4 -r "$(FULL_CURRENT_PATH)"

Press OK to compile.

Tip.pngTip:Use Ctrl+F6 to execute the previous command again.

See also

External links

References

  1. Official Download Mirror