asm-lsp
asm-lsp copied to clipboard
Language server for NASM/GAS/GO Assembly
This PR adds some very basic document formatting as described in #42. Trailing whitespace and newlines are trimmed according to params communicated by the LSP client (with reasonable defaults provided...
This PR (sorry it's a bit long!) adds hover and autocomplete support for Gas directives. Adding this was relatively straightforward code-wise, as the majority of time went into writing the...
This PR moves some of the unrelated work out of #57, as it's already too long to begin with :) This change has the program read the instruction set information...
Note: Keeping this as a draft for now. Before it's ready I'd like to: - ~~Sync this branch up with the pending changes in the other PRs~~ Just should be...
 How about hover the label `data_items` as `.long 3, 67, 34, 222, 45, 75, 0`? TIA!
Currently, register suggestions are labeled as ``Variable`` and instruction suggestions are labeled as ``Operator``. This is because we're limited by the types defined in the [LSP spec](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#completionItemKind). As the spec...
The Zilog Z80 is a legendary 8-bit microprocessor renowned for its versatility and widespread use in the retro computing era. Introduced in the late 1970s, it became a cornerstone in...
For the pseudo instructions, `.globl`, `.long`, can the language server provide a hover to display their usage to save users' time to search the manual? All pseudo instructions can be...
Format code: unindent any label and indent any code which is not label. Although it is very simple, I think it should work for most situations. Just like [vim-asm-indent](https://github.com/philj56/vim-asm-indent).