-
Notifications
You must be signed in to change notification settings - Fork 305
Code Editor Tips
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.
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
},
}
- Set the
kalite/static
folder asExcluded
on thePreferences -> Project Structure
settings. This is related to theThe "static" folder
explanation above for Sublime Text.