Lint extension for Urtext
Installation
https://github.com/nbeversl/urtext)
Urtext (Extensions are read automatically from any folder in the library extensions folder or any folder in the extensions
key in project_settings
. Put lint.py
in any included folder.
https://github.com/nbeversl/urtext_sublime)
Sublime Text (Put sublime_urtext_lint.py
into the root of your Urtext package folder. You will then need to key bind it in one the .sublime-keymap
files for your OS.
Example:
[ { "keys": ["ctrl+shift+k"], "command":"urtext_lint"} ]
Other Implementations
UrtextProjectList.current_project.extensions['LINT'].run([filename])
Settings:
Add a _lint
key to a project_settings
node, with a node as the value.
run_when_file_modified
: If true ("true", "yes", "y"), will run lint after saving/modifiying any file. Default: false.space_between_nodes
: A number. Sets the number of spaces between bracket nodes. Default: 1
Example:
project_settings _
_lint::{
run_when_file_modified::true
space_between_nodes::1
}