Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Content assist does not work for some source code file #157

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment
Open

Content assist does not work for some source code file #157

GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. I create a project with around 1,000 SLOCs with multiple files.
2. Try to use content assist like using hot key or this.

What is the expected output? What do you see instead?
The content assist works.
Instead, content assist works in some files but not all .go files.

What version of the product are you using? On what operating system?
0.7.6.v450

Please provide any additional information below.
Since it's a private project,  I can't provide source code. Any way to dump 
some log file for you to debug?

Original issue reported on code.google.com by lionghos...@gmail.com on 9 Oct 2013 at 9:05

@GoogleCodeExporter
Copy link
Contributor Author

I find a test case.
package main 

import (
    "os"
    "fmt"
    "io/ioutil"
)

func main() {
    if len(os.Args) < 2 {
        fmt.Println("Please specify input file")
        return
    }
    byteBuf,err:=ioutil.ReadFile(os.Args[1])
    if err!=nil{
        fmt.Println(err)
        return
    }
    str:=string(byteBuf)
    fmt.Println(str)
}


Original comment by lionghos...@gmail.com on 17 Oct 2013 at 12:05

  • Added labels: ****
  • Removed labels: ****

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant