Releases: janpfeifer/gonb
Releases · janpfeifer/gonb
v0.7.3 Added "%goworkfix", a workaround for "go get"
- Issue #35: Fixed installation (--install): it now uses the absolute path to the gonb binary
(as opposed to simplyos.Args[0]
).
Also added check that it can find the "go" binary. - Workaround for
go get
not working withgo.work
: parsego get
errors, and if it's complaining about
a missing package that is defined in one of thego.work
"use" paths, it will add a suggestion the user
add ago.mod
replace rule. - Added
%goworkfix
to adduse
clauses asreplace
clauses ingo.mod
.
v0.7.2 Bug fixes
- Fixed bug crashing command "%cd" with no argument.
- Fixed error parsing: matching line number mix up with lines starting with 1 (instead of 0).
- Cleaned up logs: moved more logging to
klog
: most is disabled by default, but can be enabled
for debugging passing the flags--logtostderr --vmodule=...
(they work with--install
). - Fixed bug where #bytes written of parsed stderr was reported wrong, which lead to truncated errors.
v0.7.1 Added support for `go.work` and new `%cd` command
- Added support for tracking
go.work
, which allows auto-complete and contextual help
to work with the local modules configured. It also requiresgopls
v0.12.4 or newer to work. - Fixed auto-complete bug when no
main
function (or no%%
) was present in cell. - Added special command
%cd
to chance current directory. - Commands
%cd
and%env
prints results of its execution.
v0.7.0: Memorization managements commands.
- Added "%ls" and "%rm" to manage memorized definitions directly.
- More contextual help and auto-complete improvements:
- Tracking of files follow through symbolic links.
v0.6.5 Tracked files
- More contextual help and auto-complete improvements:
- Added tracking of files in development (
%track
,%untrack
), for usage withgopls
. - Auto-track
replace
directives ingo.mod
pointing to local filesystem.
- Added tracking of files in development (
v0.6.4 InspectRequest improvements
- More InspectRequest improvements:
- Search for identifier preceding the cursor if cursor is under a non-identifier.
- If cursor under a ",", search for preceding function name identifier.
- Handle case where cell is not parseable: like with auto-complete before.
- Fixed a bug where updates to
go.mod
andgo.sum
were not being notified togopls
.
v0.6.3
Auto-complete: handle case where cell is not yet parseable, by creating a side go file with memorized definitions.