Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.83 KB

CONTRIBUTING.md

File metadata and controls

24 lines (13 loc) · 1.83 KB

CONTRIBUTING

Testing

The UnitTesting package is used to run the tests. Install it, open the Command Palette, type "UnitTesting", press Enter, and input "NeoVintageous" as the package to test.

Debugging

Show the Sublime Text console log: Menu > View > Show Console.

Command and input logging are enabled by running the following commands in input box at the bottom of the console: sublime.log_commands(True) and sublime.log_input(True).

Running $ SUBLIME_NEOVINTAGEOUS_DEBUG=y; subl (unix), > set SUBLIME_NEOVINTAGEOUS_DEBUG=y& "C:\Program Files\Sublime Text 3\subl.exe" (windows), will run NeoVintageous in debug mode. Debug messages are printed to the console log. See the contributing guide for more detailed debugging instructions.

You may also want to review the help file: :help neovintageous, or visit the online help file.

Reverting to a freshly installed state

Reverting vs Cleaning

On Linux and OSX, this script can be used to clean caches, indexes, workspaces, sessions, etc. Note that cleaning and reverting are not the same: reverting removes installed packages and configurations, cleaning only removes files that are generated at runtime e.g. caches, indexes, sessions.