Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Syntax highlighting, auto-complete, and language diagnostics for KerboScript in Kerbal Operating System.
A language server for Kerboscript within the KOS mod for Kerbal Space Program. A language server can provide features typical to an IDE language for the supported target language, in this case Kerboscript.
The project currently supports the following clients
For additional client support such as sublime text, emacs, notepad++ or others please post an issue with the requested editor.
Currently the vscode client 1.1.5 implements the follow features
The language server includes several comment directives that can be included extra functionality
\\ #include <file path>
: Include a script file in the current files scope even if no run is present\\ #region
: Foldable region start\\ #endRegion
: Foldable region endAll commands can be launched with ctrl+shift+p
kOS: Start Kerbal Space Program
kOS: Connect Telnet Client
kOS: Route Logging to LSP inspector
kOS: Route Logging to Vscode
kOS: Search Documentation
The workspace can be configured with a file called ksconfig.json
. The following is an example
{
"archive": "..",
"bodies": ["earth", "moon", "sun"],
"linting": {
"control-flow-break": "off"
}
}
This will set the archive folder to correspond to the folder above, the valid bodes to be earth
, moon
and sun
and to turn off linting related to invalid break statements. More info can be found here.
These settings are currently included with the tool
kos-vscode.kerbalSpaceProgramPath
Path to kerbal space programkos-vscode.completionCase
Indicate the preferred completion case for built in symbolskos-vscode.telnetHost
Host name of the telnet serverkos-vscode.telnetPort
Host port of the telnet serverkos-vscode.lspPort
Port to send lsp message to for the LSP Inspectorkos-vscode.trace.server
verbosity
Detail level of the logsformat
Log formatlevel
Message levelThis project is heavily inspired by the crafting interpreters series. Definitely check it out if your interested in creating your own language, or language tooling.
FAQs
Syntax highlighting, auto-complete, and language diagnostics for KerboScript in Kerbal Operating System.
We found that kos-vscode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.