Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Part of the ZeroSyntax series. Contains diagnostics for Command & Conquer Generals Zero Hour map.ini syntax.

License

NotificationsYou must be signed in to change notification settings

ViTeXFTW/ZeroSyntax-Server

Repository files navigation

Introduction

ZeroHour-Server is a language server written in TypeScript for Command and Conquor Generals Zero Hour INI. The server is intended to provide formatting, linting and code completion. Currently this is intended for Visual Studio Code only, however all functionallities will be server sided and can be utilized in other IDEs by creating an interface for communicating with the server over Json-RPC.

How to install

  1. Open Visual Studio Code
  2. Open the Extensions Tab
  3. Search for ZeroSyntax
  4. Click Install
  5. Click Reload
  6. Done!

Functionallities

ZeroSyntax language server supports the following functionallities:

  • Formatting
  • Diagnostics
  • Code Completion

Formatting

To format a ini file you can use the following command:

  1. Access it from the Command Pallette (Ctrl+Shift+P or Cmd+Shift+P on Mac)
  2. Write:
> Format Document
  1. Press Enter

Diagnostics

Diagnostics works out of the box. Any syntax errors will be highlighted in the editor.

Code Completion

The server supports context based code completion. This is done by analyzing the syntax tree and collecting possible completions based on the current context.

  1. Write some code
  2. Press Ctrl+Space

Completions

Contributing

SeeCONTRIBUTIN

Licsens

This projct is under the MITLICENSE

Sugestions

As this is my first open-source project, if you have any ideas or suggestions please write to me on either Discord or mail. (Discord might be better)

Questions

Discord: ViTeXFTW#6644
Mail:vitexftw@gmail.com

About

Part of the ZeroSyntax series. Contains diagnostics for Command & Conquer Generals Zero Hour map.ini syntax.

Topics

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp