-
Notifications
You must be signed in to change notification settings - Fork 645
Intellisense doesn't seem to work #1711
Comments
If other features work as expected and there are no errors in the console, then
|
go version 1.10.2 gocode debug log ` func main() { func main() { |
Its possible that this is due to #1645 (comment) Try running the below to install the gocode by mdempsky and try again
|
Got the same issue today after I upgraded to vscode 1.24 and go extension 0.6.82 which is using It shows different behavior with The
|
A coworker had the same problem today after updating the extension and she had installed go 1.10. Rollbacking to 1.9 fixed it... is there anything we can do on the extension side to guard against this? |
@ramya-rao-a Sure, I'll do my best to provide reproducible sample. But after I switched back to |
@ramya-rao-a I met the same problem with go1.10.2/1.10.3 , vscode 1.24 insider, os win7/64bit. |
@LiPengfei19820619 What is the version of the Go extension you are using? Any small sample code where you see the issue consistently can help. Also run |
@ramya-rao-a the information is as follow, I hope they can help you, thanks.
C:\Users\lpf>gocode close C:\Users\lpf>gocode -s -debug import ( // PositionCardService 人员定位基站领域服务 // NewPositionCardService 创建人员定位基站领域服务 // GetAll 获取所有的人员定位卡 // GetByID 根据ID获取人员定位基站服务 // Add 更新人员定位基站服务 // Update 更新人员定位基站服务 // Delete 删除人员定位基站服务 import ( // PositionCardService 人员定位基站领域服务 // NewPositionCardService 创建人员定位基站领域服务 // GetAll 获取所有的人员定位卡 // GetByID 根据ID获取人员定位基站服务 // Add 更新人员定位基站服务 // Update 更新人员定位基站服务 // Delete 删除人员定位基站服务 import ( // PositionCardService 人员定位基站领域服务 // NewPositionCardService 创建人员定位基站领域服务 // GetAll 获取所有的人员定位卡 // GetByID 根据ID获取人员定位基站服务 // Add 更新人员定位基站服务 // Update 更新人员定位基站服务 // Delete 删除人员定位基站服务 import ( // PositionCardService 人员定位基站领域服务 // NewPositionCardService 创建人员定位基站领域服务 // GetAll 获取所有的人员定位卡 // GetByID 根据ID获取人员定位基站服务 // Add 更新人员定位基站服务 // Update 更新人员定位基站服务 // Delete 删除人员定位基站服务 |
Let's first ensure that the right
|
clean install of nsf/gocode fix the problem for go 1.10.1 and 1.10.3 mdempsky/gocode not working in both cases |
@ramya-rao-a so it seems that the clean install did the trick, since she still has both 1.9 and 1.10 installed so we can't determine if that was the root cause I'd go along with @ikgo's commentary |
There is still the problem of Everyone, |
@ramya-rao-a go version go1.10.2 windows/amd64 Windows 10x64
|
Its about 9 months since the last activity in this issue. Please update If anyone still has problems, please try running Thank you everyone for your patience and Happy Coding! |
example: i need import "fmt" package, input
fmt.
Intellisense doesn't seem to work
The text was updated successfully, but these errors were encountered: