Socket
Book a DemoInstallSign in
Socket

LinkerScript

Package Overview
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

LinkerScript

Language support for GNU linker script

OpenVSX
Version
1.0.4
Version published
Maintainers
0
Source

LinkerScript Language Support for VSCode

This is the language support for LinkerScript for VSCode, provides syntax highlight.

It provides syntax highlight with TmLanguage based on regex , without Abstract Syntax Tree (AST), thus some syntaxes and language features may not get correct highlight.

For source code, please visit Github.

Develop

  • Install npm package yamljs
  • Edit rules in *.yaml
  • Use yaml2json ***.yaml >***.json to convert to json
  • Run with newly updated ***.json

Or you can use F5 to run directly if yamljs is already installed globally, all configs are located at .vscode/

Known issues

  • Lack of Multiline Match: The regex expressions ought to match across lines to work with some syntax, but I currently cannot switch the multiline mode on. Maybe its related to issue #13155, and if so, this feature should be available now.
  • Misordered Syntax Highlight: Due to the limitation of regex, some misordered options may not get highlight. If you wish to get support, please rearrange them according to GNU Linker Script.

Highlight preview

Imgur

License

This project is released under MIT License.

Keywords

__ext_dld

FAQs

Package last updated on 11 Dec 2023

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