Overview Version History Q & A Rating & Review
VS Code zhlint Extension
VS Code Extension for zhlint
Feature
Experimental Feature
these feature maybe remove in the future
support .zhlintr{c, c.json}
and .zhlintignore
(if one of them exist,this extension will use readRc
and runWithConfig
,otherwise use run()
with zhlint.options
from settings.json
)
rule diff viewer
ignore files or directories with .experimental-zhlintignore
,checkout ignore
use zhlint
as your default formatter for markdown
{
"[markdown]": {
"editor.defaultFormatter": "kkopite.zhlint",
"editor.formatOnSave": true
}
}
you can use Shift + Alt + F
or save to format your markdown with zhlint
Currently,only .md
files are supported。If you want to support other file types,such as .txt
{
"files.associations": {
"*.txt": "markdown",
}
}
options
key
description
default
zhlint.options
see zhlint options , logger
is exclude
{}
zhlint.debug
print extra message when run zhlint
false
zhlint.experimental.diff
enable rule diff viewer in explorer
false
zhlint.experimental.config
enable use .zhlintrc
and .zhlintignore
to config in workspace
false
zhlint.experimental.ignore
enable use .experimental-zhlintignore
to ignore files or directories while linting by specifying one or more glob patterns
false
Dev
Run npm install
in this folder。This installs all necessary npm modules in both the client and server folder
Open VS Code on this folder。
Press Ctrl+Shift+B to start compiling the client and server in watch mode 。
Switch to the Run and Debug View in the Sidebar (Ctrl+Shift+D)。
Select Launch Client
from the drop down (if it is not already)。
Press ▷ to run the launch config (F5)。
Select Attach to Server
from the drop down,press F5 to attach the debugger to the server