New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

geckscript-lsp

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geckscript-lsp

Provides various language features for the scripting language used by GECK for Fallout: New Vegas and Fallout 3.

latest
npmnpm
Version
0.1.9
Version published
Weekly downloads
7
Maintainers
0
Weekly downloads
 
Created
Source

geckscript-lsp

Provides various language features for the scripting language used by GECK for Fallout: New Vegas and Fallout 3.

Features

  • parsing and syntax error checking
  • code actions
  • code completion
  • formatting
  • goto definition and references
  • hover
  • renaming
  • semantic tokens
  • signature help
  • static analysis
  • code lens
  • inlay hints

Installation

  • VSCode
  • Neovim

Works best with Hot Reload plugin

The server can infer global symbols (like references and quests), so it may be useful to extract all vanilla scripts into a separate directory inside your project (e.g. my_mod/lib) with a tool like FNVEdit

Configuration

The server can be configured in geckrc.json or .geckrc.json file at the root of your project.

Configuration options

NamePossible ValuesExplanation
keywordStyle"lower", "upper" or "capital"Enforce keyword naming convention: lowercase (begin), UPPERCASE (BEGIN) or Capital (Begin)
functionStyle"lower", "upper" or "capital"Enforce function naming convention: lowercase (getitemcount), UPPERCASE (GETITEMCOUNT) or Capital (GetItemCount)

Example

{
    "$schema": "https://raw.githubusercontent.com/WarZone762/geckscript-lsp/dev/src/geckscript/config.schema.json",
    "keywordStyle": "lower",
    "functionStyle": "capital"
}

Credits

The design of the parser is based on rust-analyzer's parser

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts