Code snippet:
package main
import (
"fmt"
"math"
)
func main() {
x := 2.0*math.Abs(2.0)
fmt.Printf("%v\n", x)
}
In the code above, intellisense doesn't trigger after math. However, the code compiles and runs just fine.
Search found 3 matches
- Thu May 31, 2012 8:36 pm
- Forum: Reporting a Bug
- Topic: Intellisense in Go doesn't trigger when no spaces
- Replies: 2
- Views: 8750
- Tue May 29, 2012 5:37 am
- Forum: Comments and Suggestions
- Topic: Intellisense in Go not working for $GOPATH packages.
- Replies: 1
- Views: 25385
Intellisense in Go not working for $GOPATH packages.
Hi,
I have packages which are outside the standard distribution installed in a directory under $GOPATH and they don't get picked up by the Zeus intellisense.
Is there a way to fix this? Typically, every package I get from github via "go get github.com..." and that I subsequently try to use in Zeus ...
I have packages which are outside the standard distribution installed in a directory under $GOPATH and they don't get picked up by the Zeus intellisense.
Is there a way to fix this? Typically, every package I get from github via "go get github.com..." and that I subsequently try to use in Zeus ...
- Mon May 28, 2012 7:16 pm
- Forum: Reporting a Bug
- Topic: Intellisense doesn't trigger in Go.
- Replies: 2
- Views: 8857
Intellisense doesn't trigger in Go.
The function Sqrt in package math doesn't trigger under the following code:
package main
import (
"fmt"
"math"
)
func main() {
alpha := []int{1, 3, 4}
x := float64(alpha[0]) * math.Sqrt(2.0)
fmt.Printf("%v\n", x)
}
although the code compiles and runs successfully.
package main
import (
"fmt"
"math"
)
func main() {
alpha := []int{1, 3, 4}
x := float64(alpha[0]) * math.Sqrt(2.0)
fmt.Printf("%v\n", x)
}
although the code compiles and runs successfully.