Skip to content

Releases: pommicket/ted

ted v. 2.7.4

30 Oct 01:35
2.7.4
d75d7fa
Compare
Choose a tag to compare

it's another bugfix release

  • fixed formatting of numbers in LSP json (they were only being formatted with up to 6 decimals … ted PIDs above 999,999 were being written in scientific notation causing rust-analyzer to crash)
  • fixed find+replace handling of when the replacement matches the find pattern. so now e.g. you can replace unsigned with unsigned long and it'll work as expected

ted v. 2.7.3

08 Sep 19:54
Compare
Choose a tag to compare
  • you can now configure ted's data directories when building it! this lets you install ted without root access, as documented in the README
  • indentation can now be set manually for buffers through the command palette via the :indent-with-spaces, :indent-with-tabs, and :set-tab-width commands (these can also be used in ted.cfg to configure indentation via keyboard shortcuts). if :indent-with-spaces/tabs is given an argument > 1, it will also set the tab width to that
  • fixed supplying arguments in command palette. you can also supply string arguments, although they have to be non-numbers (e.g. you can't insert the text "53" via the command palette with :insert-text)

ted v. 2.7.2

18 Jul 06:39
Compare
Choose a tag to compare

Very minor release:

  • added sync option with values none, data, full to control how much data ted syncs to disk when you save a file
  • fixed highlighting of '\u{1234}' in Rust
  • fixed error when opening file while build output is active

ted v. 2.7.1

13 Feb 15:43
2.7.1
225fae8
Compare
Choose a tag to compare

just a minor release!

  • handle longer lines in .editorconfig files. i didn't know that some projects use editorconfig values which aren't in the spec! and so i assumed lines would be relatively short because everything in the spec was . how foolish .
  • ted backup files (which only exist temporarily upon saving to prevent loss of data) are now named file~ instead of file.ted-bk to be nicer to gitignores, etc.
  • backup files are now created with mode 600 on unix , to prevent leaking file contents to other users
  • ted now does fdatasync/_commit after writing to ensure that even if power is lost mid-save, no data can ever be lost (at least if it is, it won't be ted's fault…)
  • indentation can now be auto-detected from file contents. hopefully the detection isnt wrong too often…

ted v. 2.7.0

19 Oct 16:10
2.7.0
7d1c879
Compare
Choose a tag to compare

overhauled a lot of ted's config code.
so now ted has editorconfig support, and support for local .ted.cfg files.
also, path-specific settings now use regular expressions which can be nice, but might break your config if any paths mentioned in it contain any of the characters \^.$|()[]*+?{}- (these need to be escaped with a backslash now)

minor features:

  • remove-trailing-whitespace option
  • crlf option not just on windows
  • no more string length limits in ted.cfg files

bug fixes:

  • signature help no longer blocks cursor when cursor is near bottom of buffer
  • ted now switches back to the file you started in after performing an LSP rename operation

there may be new bugs!! please report them if you find any.

ted v. 2.6.2

24 Sep 15:01
2.6.2
c8914d4
Compare
Choose a tag to compare

small improvements:

  • cursor no longer moves on dedent (see #1)
  • escaped quotes now work correctly in ted.cfg strings (oops)
  • log file is no longer truncated on startup (instead, once it reaches 500KB it gets renamed to log.1.txt, overwriting previous log.1.txt)
  • log file now shows PID, timestamp on every line
  • LSP error responses are no longer displayed (they are still logged though) — this was a bit spammy with clangd
  • LSP status and whether tabs/spaces are being used is now shown in title bar

ted v. 2.6.1

14 Sep 15:24
2.6.1
42f3f80
Compare
Choose a tag to compare

as promised, there were some bugs in the last release!
so here are some bugfixes:

  • diagnostics now go away immediately if the LSP server crashes / is disabled
  • diagnostic highlights are now properly confined to the buffer
  • fix use-after-free which broke synchronization with LSP server (caused some "invalid offset" errors with rust-analyzer for example)
  • fix tiny memory leak related to phantom completions

performance improvement:

  • ted now does one write() call per batch of LSP messages rather than one per message

ted v. 2.6

10 Sep 22:18
2.6
9abc5c5
Compare
Choose a tag to compare

new features:

  • files with the same name are now disambiguated in the tab bar (so if you have files /something/foo/a.txt and /other/bar/a.txt they get displayed as foo/a.txt and bar/a.txt)
  • we now show diagnostics (errors and warnings) from the LSP server (you can disable this by setting show-diagnostics = no)
  • we now support LSP over TCP in addition to stdio (enable this with the lsp-port setting)
  • syntax highlighting for GDScript
  • LSP code formatting with the :format-file and :format-selection commands (formats code similar to rustfmt or clang-tidy)
  • lsp-delay setting to avoid overwhelming LSP servers

bug fixes:

  • doing Shift+Up, Shift+End, Backspace at the end of a file used to act weird, but it doesn't anymore
  • selector detail (e.g. locations in "go to definition..." menu) is no longer cut off by 2 pixels
  • exact matches are always put first in the file selector menu
  • renames where the symbol in question appeared multiple times on the same line and its length changed were kinda screwed up but that's fixed now
  • LSP servers which only support "full sync" can now be used

this is a pretty big release, so again there may be bugs!

ted v. 2.5.1

26 Aug 04:40
f999900
Compare
Choose a tag to compare

fixing some bugs:

  • selector menus (e.g. "open file" menu) no longer put the top line of text in a weird place when you scroll
  • fix uninitialized read in build.c (that's been around for a long time... not sure if it caused any weirdness though)
  • fix occasional crash when you type in a buffer that's being searched

ted v. 2.5

15 Aug 20:57
da57a47
Compare
Choose a tag to compare

new features:

  • LSP symbol rename: press ctrl+r (command :rename-symbol) while your cursor is on an identifier to rename it
  • LSP document link: ctrl+clicking on “links” will now open them. what exactly counts as a “link” is up to your LSP server.

small things:

  • you can now use home/end in selectors (e.g. “open menu” file selector)
  • the default :save-all shortcut is now Ctrl+Alt+s rather than Ctrl+Shift+Alt+s (so it's a bit easier to press)
  • ted will no longer open files with overlong UTF-8 (which is bad UTF-8) or null characters (which might've caused weird behavior)
  • scroll to cursor on undo/redo
  • really long paths no longer overflow the “open file”/“save as” menu :)
  • “robust” find — find results no longer move around when you type stuff

also a lot of code has been changed behind the scenes:

$ git diff --stat 2.4.3 2.5 | tail -n1 
 55 files changed, 5003 insertions(+), 3231 deletions(-)

mostly cleaning up and preparing for plug-in support (not quite ready yet...)

so there might be some new bugs........