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
I am using vscode to work on this project using templ with the templ-vscode plugin. I keep getting errors about failed actions. I have the current version of templ installed in my GOPATH and the templ tool works fine. I just don't know what to do to stop these lsp errors.
They seem to all deal with columns being beyond the end of the line.
Here is a sample of my output:
[Error - 3:18:08 PM] Request textDocument/codeAction failed.
Message: column is beyond end of line
Code: 0
[Error - 3:18:08 PM] Request textDocument/hover failed.
Message: column is beyond end of line
Code: 0
[Error - 4:39:09 PM] 2025/03/05 16:39:09 no completions found: column is beyond end of line
position=196:4
[Error - 4:39:09 PM] Request textDocument/codeAction failed.
Message: column is beyond end of line
Code: 0
[Error - 4:39:09 PM] 2025/03/05 16:39:09 no completions found: column is beyond end of line
position=196:5
The text was updated successfully, but these errors were encountered:
The templ LSP can run a web server and show you where the problem might be, because it shows the mapping between source code and what the gopls LSP is seeing.
I am using vscode to work on this project using templ with the templ-vscode plugin. I keep getting errors about failed actions. I have the current version of templ installed in my GOPATH and the templ tool works fine. I just don't know what to do to stop these lsp errors.
They seem to all deal with columns being beyond the end of the line.
Here is a sample of my output:
The text was updated successfully, but these errors were encountered: