-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cilcking on error message of "go run/build" does not open the file #3
Comments
What version of Go? What is the error message? (Feel free to replace your filename with something generic).
|
latest go 1.15.6 main.go package main
import "goserve/src/share/server"
func main()
_ = server.New()
} error message
|
Try `textadept.run.error_patterns.go = {'^(.-):(%d+):(%d+): (.+)$'}`. It's possible the lack of a starting anchor in your pattern is to blame.
|
oh, thanks. it wokrs. |
I have updated the default Go error patterns: ba1f5b9
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
go run/build errors are highlighted. but clicking on it doesn't open the file.
first I thought it was because the pattern didn't match the error message.
so I changed it to
(.-):(%d+):(%d+):([^\n]+)
and i got this error mesage
lua: /usr/local/share/textadept/modules/textadept/run.lua:100: attempt to index a nil value (field 'filename')
i made my own go extension to automatically format and import every i save the file.
i use the same pattern to match goimports errors and its works.
The text was updated successfully, but these errors were encountered: