Repository navigation
v1.6.2
Added
-
sigit --versionprints the release.sigit --versionandsigit -V
printsigit <version>on stdout and exit 0. Before, the flag was not
recognized and siGit Code started a session, which left a script that asked
for the version waiting. -
File tools read and write through the editor when it offers to. An ACP
client that advertisesfs.readTextFileorfs.writeTextFileserves those
requests from its open buffers. siGit Code always used the disk, so
read_filemissed unsaved changes andedit_filewrote underneath a buffer
the user might have modified.read_file,create_file,edit_fileand
multi_editnow go through the client for paths inside the session's roots.
The two capabilities are independent, and the disk is still the fallback:
for a path outside the roots, and for a request the client fails or leaves
unanswered for 30 seconds.SIGIT_CLIENT_FS=offkeeps the file tools on
disk (#147).
Fixed
- A file attached from the editor is found when its path needs escaping.
Aresource_linkwas read by strippingfile://and using the rest as the
path, so a space arrived as%20, a non-ASCII name failed, and a Windows
URI kept its leading slash. A#in a file name was also taken for the
line-range fragment. The URI is now parsed properly (#170).
Full changelog: https://github.com/getsigit/sigit/blob/v1.6.2/CHANGELOG.md
About siGit Code: sigit.si/code