Skip to content

Instantly share code, notes, and snippets.

@cgrand
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgrand/9344865 to your computer and use it in GitHub Desktop.
Save cgrand/9344865 to your computer and use it in GitHub Desktop.
Small annoyances of the editor

Defects

  • selection is not always maintained after autoshift of indentation
  • autoshit is sometimes off by -1
  • split does not preserve linebreaks
  • structural commands still work when in comments

Enhacement

  • Adds a "Source" context menu to enable discovery of commands
  • typing a semicolon should add a linebreak
(foo | bar)
; yields
(foo ;|
  bar)
  • cmd+; should #_ comment when structurally valid selection ** I think the #_ should be distributed and not stacked to ease random toggling #_foo #_bar vs #_#_foo bar
  • autocompletion: docstring or at least arglists should still be displayed while you fill the arguments.
  • fix whitespaces on the fly (collapse spaces when they result from structural editing, remove trailing whitespaces (out of strings), always add one whitespace between "tokens")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment