nbeversl / lint

Lint extension for Urtext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lint extension for Urtext

Installation

Urtext (https://github.com/nbeversl/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.

Sublime Text (https://github.com/nbeversl/urtext_sublime)

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
}

About

Lint extension for Urtext


Languages

Language:Python 100.0%