Closed slatermorgan closed 5 days ago
I just tested this on my own machine take funk
works fine. The scope visualizer also works fine. Make sure you have the latest version of Cursorless and the parse tree extension
Parse tree: v0.31.1
Cursorless: v0.28.1150
v0.31.1
is the latest version for the parse tree
sorry that was a typo, I am on that version.
Interestingly, if I go into a JSON file, and then back to a golang file - scopes appear as expected - but using any go specific ones give me that wierd language log
bug reported above.
Try uninstalling the Cursorless and other parse tree and reinstalling them?
You can also try disabling go-pls
uninstalling and reinstalling now means that no cursorless commands work for me in VS code - the subtitle still comes up but no selections are made in the editor. eg. take file
does nothing.
Make sure the command server is still installed. If not you will have errors about this in the Talon log.
reinstalled command server and all my issues went away! So I assume it was something to do with the version of that extension. thanks for the help @AndreasArvidsson !!!
Weird that you would get into that kind of situation in the first place, but I'm happy it works now! :)
When using VS code on windows, I'm unable to the
func
scope on any function within golang. Or any language specific scopes for that matter eg.arg
,map
,value
,list
.example function:
I get
Cannot read properties of undefined (reading 'endPosition')
Version
0.28.1150
Operating system:Windows 10
Using non-language scopes seems to work fine such as
block
.I also notice that the scope visualiser, when I click the dropdowns there is nothing in Present / Supported / Legacy. I can confirm that once I open a JSON file, scopes appear as expected - seems to be contained to the go language.
Updating to the latest version of go-pls now gives me the following error:
So I assume it is incorrectly picking up the
go
language?