redhat-developer / redhat-developer/vscode-quarkus
qute template creation issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 31
- Avg merge
- 12h 51m
- Merged PRs (30d)
- 6
Description
writing this code:
@CheckedTemplate
public static class Templates {
public static native TemplateInstance markdown(String name);
}
it shows "hint" where I can click create .html - though i'm not creating .html but anyhow its nice.
but when clicking I get this:
Apr 16, 2025 9:08:33 AM com.redhat.qute.ls.QuteLanguageServer initialize
INFO: Initializing Qute server 0.21.2-20250412-0803 with /Users/manderse/.cursor/extensions/redhat.java-1.41.1-darwin-arm64/jre/21.0.6-macosx-aarch64
[Error - 9:52:27 AM] Request textDocument/codeLens failed.
Message: Request qute/java/codeLens failed with message: Cannot invoke "org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.isCompactConstructor()" because "methodDeclaration" is null
Code: -32603
[Error - 6:48:53 PM] Request workspace/executeCommand failed.
Message: Cannot findproject with the uri 'qmcp-cli'.
Code: -32001
[object Object]
[Error - 6:49:04 PM] Request workspace/executeCommand failed.
Message: Cannot findproject with the uri 'qmcp-cli'.
Code: -32001
[object Object]
screen shot showing it:
maybe issue is that I have two projects/folders in the workspace?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example in a workspace with the Qute language server and inspect the codeLens and workspace/executeCommand request paths mentioned in the logs. Determine why the @CheckedTemplate case produces a null method declaration and why the qmcp-cli project cannot be found; done means both requests complete without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100