Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

Get busy

Swizec edited this page Dec 30, 2010 · 34 revisions

Get busy -- a general TODO list

Having a Sunday all to yourself? Itchy coding fingers? Grab something from this list and start hacking!

Remember, fixing bugs may be boring but it makes for a good nights sleep -- check Open tickets in the issue tracker for bugs and problems which need some sweet hack love.

Long-lived bugs

The "Cmd+Q causes crash in -[KDocumentController windows]" bug

When terminating Kod it sometimes causes a BAD_ACCESS memory violation.

  • Ticket: Ticket 81
  • Currently hacking on this: (no one)

"Dirty" tabs not asking to save

When closing tabs (not terminating the application), no dialog is presented to give the user the opportunity to save the file.

Features

Local dictionary-style auto completion

Hitting ESC when the cursor is right next to a non-whitespace character should insert the most likely word and select the inserted range. The dictionary used should be that of current words in the active document.

  • Ticket: (none)
  • Currently hacking on this: (no one)

A better and more flexible text parsing system

Kod currently uses Source Highlight to tokenize and parse text. This is a very limited system which has other issues as well (like being GPL so we can't patch it).

We want to have a system which have the following features:

  • Flexible and minimal core -- provide just enough low-level hooks to be able to do almost anything
  • High performance
  • Parallelize-able -- parsing should not be performed in the main thread as to avoid blocking the UI
  • Parsers written in JavaScript and executed by libv8 (libnode).
  • High-level human readable syntax "definitions" -- modeled on top of a universal/basic parser implementation

There is currently a kod-node API which should be "final" enough to start basing this work upon.

Indentation features

Everything a normal user would expect from the behaviour of indentation in a code editor.

  • shortcut to indent a line or block of text [done]
  • shortcut to dedent a line or block of text [done]
  • maintaining indentation when going to a new line [done]
  • configurable default indentation characters
  • flexible tabs
  • syntax aware indentation

Until the new text parsing system is implemented only the first three are feasible, the fourth might need a centralised preferences system.

Command-T "jump to file"

As described in https://github.com/rsms/kod/blob/master/ideas/location-bar-as-command-input.psd

  • Ticket: (none yet)
  • ** Currently hacking on this:** @puls
  • Repository: (not pushed yet)
Clone this wiki locally