Skip to content
Aron Fyodor Asor edited this page Jul 15, 2015 · 1 revision

Here are some tips on working with KA-Lite on your code editor of choice. If it's not listed here, you may ping using one of our Communication and Coordination links in case one of us uses your code editor.

Editing Tips for configuring Sublime Text 2 for KA Lite dev

The "static" folder directly under the "kalite" directory is where static files get assembled, leading to duplicate files, which can cause confusion about which file should be edited. To exclude that directory from file matches and searches, save your project (Project > Save Project) and then edit it (Project > Edit Project), adding the folder_exclude_patterns key seen below:

{
	"folders":
	[
		{
            "path": "ka-lite",
            "folder_exclude_patterns": ["kalite/static"]
		}
	],
        "settings":
        {
                "tab_size": 4,
                "trim_trailing_white_space_on_save": true,
                "translate_tabs_to_spaces": true
        },
}

Editing tips in PyCharm 3.x

  1. Set the kalite/static folder as Excluded on the Preferences -> Project Structure settings. This is related to the The "static" folder explanation above for Sublime Text.
Clone this wiki locally