You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently asm-lsp offers diagnostics on save. Many other LSPs offer diagnostics as users edit the file, regardless of writes to disk. This should be doable by syncing a user's edits to a "shadow" copy of the buffer in question. The appropriate compile command can be run on this shadow copy. I'm planning on adding this as an opt-in, experimental feature initially because there's so many unknowns. Some initial thoughts on what this will require:
Finding or implementing a basic request queue to service compile commands in a separate thread.
If a request is sitting in the queue, we don't need to push a duplicate request.
Integration tests covering diagnostics support before development of this feature starts
Separate testing is needed for Windows because of how weird paths are treated in that OS
Live reloading of .asm-lsp.toml and build files (compile_commands.json and compile_flags.txt)
I'm planning on implementing this after adding all of the currently outstanding language additions. The language additions will come either in 0.10.0 or 0.10.1.
The text was updated successfully, but these errors were encountered:
Original discussion in #184 (thanks, @ldelossa!)
Currently asm-lsp offers diagnostics on save. Many other LSPs offer diagnostics as users edit the file, regardless of writes to disk. This should be doable by syncing a user's edits to a "shadow" copy of the buffer in question. The appropriate compile command can be run on this shadow copy. I'm planning on adding this as an opt-in, experimental feature initially because there's so many unknowns. Some initial thoughts on what this will require:
.asm-lsp.toml
and build files (compile_commands.json
andcompile_flags.txt
)I'm planning on implementing this after adding all of the currently outstanding language additions. The language additions will come either in 0.10.0
or 0.10.1.The text was updated successfully, but these errors were encountered: