Skip to content

Commit fe051ab

Browse files
author
Gaspar Chilingarov
committed
Update ExUnit support + shortcuts in documentation
1 parent 76f4854 commit fe051ab

File tree

3 files changed

+30
-17
lines changed

3 files changed

+30
-17
lines changed

CHEATSHEET.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ shortcuts/commands:
9797
* `]e` go to next error
9898
* `[e` go to previous error
9999
100-
* `<Leader>xt` opens correlative source/test file
101-
* `<Leader>xs` opens correlative source/test file in horizontal split
102-
* `<Leader>xv` opens correlative source/test file in vertical split
103-
* `<Leader>x!` opens correlative source/test, creates directories if necessary
100+
* `<Leader>tt` opens correlative source/test file
101+
* `<Leader>ts` opens correlative source/test file in horizontal split
102+
* `<Leader>tv` opens correlative source/test file in vertical split
103+
* `<Leader>t!` opens correlative source/test, creates directories if necessary
104104
105105
#### Git integration
106106
* `:Gstatus` - show modified files and staged status

ROADMAP.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,24 @@ Items marked with x are done.
1313

1414
## Functionality
1515
* make it load w/reasonable defaults in empty vim (top)
16-
* add sensibleDefaults plugin
16+
* add tpope/sensibleDefaults plugin
1717
x add indentLine plugin to bundle (top)
1818
x setup Hack font for GUI + size changes
1919

2020
## Editing
21-
2221
x compile time errors and jump to them
2322
x quickfix support for ExUnit test outputs + xterm integration (crashes/test fails)
2423
x test runner (test/test.watch) on project, file or current function
2524
x add switching between test/source file (`test file name == source + "_test.exs")
2625

2726
* templates for GenServer/GenStage/etc modules (may be also snipMate)
2827

29-
* highlight current identificator under cursor in function
30-
31-
* syntax highlight for fprof dump file
32-
* syntax highlight for eprof dump file
28+
* highlight current identificator under cursor in function/clause
3329

3430
* snippets for ExUnit tests (integrate snipMate) + automatically get module name from alchemist.vim
3531
* snippets for GenServer callbacks
3632
* snippets for def/depf/defmodule
3733

38-
* snippets for tracing fprof/eprof with some meaningful defaults
39-
4034
* syntax highlights for style problems (missing spaces, too much space,
4135
trailing space, etc) (low)
4236

@@ -46,31 +40,50 @@ Items marked with x are done.
4640
* better syntax highlight for console (desert-style) (low)
4741
* signs on left edge - syntax highlight for ExUnit test outputs (crashes/test fails) (low)
4842

49-
* nested level syntax highlight (like in https://github.com/bigfish/vim-js-context-coloring)
43+
* nested level syntax highlight (like in
44+
https://github.com/bigfish/vim-js-context-coloring , see video there too)
45+
46+
## Debuging & developing
47+
* generate trace files and nicely show them
48+
* run test clause and record call/return values/messages trace
49+
* syntax/highlighting for trace file
50+
* allow jumping to functions/clauses in trace/profile files
51+
* shortcuts to trace selection/test
52+
* run test clause and record line-by-line execution trace using debugger (low)
53+
* run test clause and record fprof for it
54+
* syntax highlight for fprof dump file
55+
* run test clause and record eprof for it
56+
* syntax highlight for eprof dump file
57+
* snippets for tracing fprof/eprof with some meaningful defaults (low)
5058

5159
## Navigation
52-
5360
* faster in-file navigation (ctags?) (top) or fix alchemist :)
5461
* clone tagbar and create cross reference browsing plugin (based on mix xref output)
5562
* make tagbar use alchemist.vim for getting tag information from file
5663

5764
## Syntax autofixes
58-
5965
* fix unused variables warnings automatically
6066
* integrate with dogma
6167
* integrate with credo + autocorrection of problems (spacing/indents/arguments definitions and etc)
6268

6369
## Refactoring
64-
6570
* variable renaming in single function clause
6671
* renaming of GenServer call atoms
6772
* renaming all function clauses + callers (using xref)
6873
* plugin to find large pieces of commented out code, which is not documentation
6974
* build code prefix trees to find (structurally same) duplicate code blocks
75+
* detect and visualize code circular dependencies
7076

7177
## Documentation
7278
* based on credo - automatically add @moduledoc tags
7379
* automatic guessing of signatures from debug traces and generation of @spec
80+
(run all text suites or current file and record calling trace information,
81+
then extract smartly types of arguments)
82+
83+
## GUI
84+
* add menus for all functions provided
85+
* add toolbars for most common functions
86+
* think of actively using baloons for better context-help
7487

7588
## Erlang support!!!
7689
* support erlang syntax highlighting/source navigation/etc

0 commit comments

Comments
 (0)