Skip to content

Latest commit

 

History

History

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OScript Language Server

NPM version

A language server (implementing the language server protocol) for the OScript language.

Requires Node 12 or newer.

What is a language server?

From https://microsoft.github.io/language-server-protocol/overview

The idea behind a Language Server is to provide the language-specific smarts inside a server that can communicate with development tooling over a protocol that enables inter-process communication.

In simpler terms, this allows editor and addon devs to add support for the OScript language (e.g. diagnostics, autocomplete, etc) to any editor without reinventing the wheel.

Features

  • Diagnostic messages for syntax problems
  • Autocompletion of built-in objects and methods
  • Hover info for built-in objects and methods
  • Symbol outline
  • Symbol definition
  • Symbol references
  • Symbol renaming
  • Quick-fixes for recoverable syntax errors

Planned

  • Improve autocompletion, hover, definition, references and renaming
  • Method signature help
  • Snippets
  • WebLingo support

How can I use it?

Install a plugin for your editor: