Lighttable
De Banane Atomic
Aller à la navigationAller à la recherche
Liens
Utilisation
- Panneau de commande → Ctrl + Space
- Tabset: affiche 2 onglets en même temps
- Workspace → View → Workspace
Impossible d'ouvrir un fichier depuis la console ou l'explorateur de fichier dans une instance déjà existante de Light Table. |
Configuration
File → Settings → User behaviors
~/.config/LightTable/User/user.behaviors |
;; Show line numbers [:editor :lt.objs.editor/line-numbers] ;; Customize font [:app :lt.objs.style/font-settings "inconsolata-g" "18"] ;; Auto-close characters e.g. '{[("' [:editor :lt.objs.editor/autoclose-brackets] ;; Tab settings: Use real tabs, tab size in spaces, spaces per indent [:editor :lt.objs.editor/tab-settings false 2 2] |
Installation
yaourt lighttable-git # remplacer makedepends=('gendesk' 'npm' 'leiningen') # par makedepends=('gendesk' 'npm' 'leiningen-standalone') # pour éviter l'erreur One or more PGP signatures could not be verified! avec leiningen |
Chemins:
- /usr/lib/lighttable
- /usr/lib/lighttable/resources/app/plugins
Erreurs
Python - NameError: name 'unicode' is not defined
python 3 est utilisé au lieu de python 2.
python 3 doesn't have the unicode type anymore as it's been incorperated into the 'str' type.
/usr/lib/lighttable/resources/app/plugins/Python/py-src/ltmain.py |
def ensureUtf(s): # if type(s) == unicode: # return s.encode('utf8', 'ignore') # else: # return str(s) """Converts input to unicode if necessary. If `s` is bytes, it will be decoded using the `encoding` parameters. This function is used for preprocessing /source/ and /filename/ arguments to the builtin function `compile`. """ # In Python2, str == bytes. # In Python3, bytes remains unchanged, but str means unicode # while unicode is not defined anymore if type(s) == bytes: return s.decode(encoding, 'ignore') else: return s |