Skip to content

Language extension for Visual Studio Code to support *.ltx files from "S.T.A.L.K.E.R. Call of Pripyat"

License

Notifications You must be signed in to change notification settings

AziatkaVictor/ltx-support

Repository files navigation

Title

An extension for Visual Studio Code that adds support for the logic syntax from S.T.A.L.K.E.R. Call of Pripyat. The plugin adds some features that should simplify the work for creating mods, as well as help beginners making their first mods. Probably the most important aspect of the extension is that it tries to adapt to the projects as much as possible.

Demonstration

Currently implemented VSCode features:

  • Completion (Auto-completion):
    • Infos
    • Sections Types
    • Sections Links
    • Functions & Conditions
    • Localization
    • Squads
    • Tasks
    • Signals
  • Hover Information
  • Syntax Highlighting
  • Semantic Highlighting
  • Section Collapse
  • Symbols (Visualization of file structure)

The list is constantly updated with new features with each new version.

Settings

To enter the extension settings you need to:

  • Press Ctrl+Shift+P => Open Settings (UI).
  • Open Extensions => LTX or just write ltx in the search bar.

Building the extension

If you're interested in poking around the extension yourself or just help with the development, here is the information on how to build it. To do this, you need to:

  1. Make sure, that you have Node.js installed and download the source code using git clone.
  2. Open the project, run npm install in the console or click on package.json in the NPM Scripts spoiler and click on Run install.
  3. After installing all the necessary libraries, you should press Launch in the Run and Debug tab or the F5 hotkey.
  4. Done. A new VS Code window should open with 2 test files in it.

References

About

Language extension for Visual Studio Code to support *.ltx files from "S.T.A.L.K.E.R. Call of Pripyat"

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •