quicktemplate icon indicating copy to clipboard operation
quicktemplate copied to clipboard

Go language server ignores the compiled templates

Open pot-code opened this issue 4 years ago • 0 comments

Hi, valyala!

I have used the quicktemplate for a while, and it works great! But there is an issue that bothers me a lot; the language server would always ignore the compiled code generated by the command qtc.

So that I can't use jump to the definition or get the parameter hint of the functions.

Here is an example of the project structure:

./demo
|--templates
    |--config.qtpl
    |--config.qtpl.go
|--main.go
|--go.mod

Any ideas?

pot-code avatar Jul 28 '21 15:07 pot-code