Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.73 KB

CONTRIBUTING.md

File metadata and controls

36 lines (21 loc) · 1.73 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).

To run NeoVintageous in debug mode set the environment variable SUBLIME_NEOVINTAGEOUS_DEBUG to a non empty value:

Unix

$ export SUBLIME_NEOVINTAGEOUS_DEBUG=y; subl

Windows

> set SUBLIME_NEOVINTAGEOUS_DEBUG=y& "C:\Program Files\Sublime Text 3\subl.exe"

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.