linux-china / jetbrains-just-plugin

JetBrains Just Command Runner Plugin

Home Page:https://plugins.jetbrains.com/plugin/18658-just

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin doesn't understand escaped line breaks in dependencies

scottmmjackson opened this issue · comments

Escaping line breaks in recipe dependencies with \ works fine

default: hello\
world

hello:
  @ echo "hello"

world:
  @ echo "world"
$ just 
hello
world

However, if you copy the justfile snippet above into a new scratch buffer named justfile, it produces the following error located on the \ character:

JustToken.ATTRIBUTE, JustToken.COMMENT, JustToken.KEYWORD_ALIAS, JustToken.KEYWORD_EXPORT, JustToken.KEYWORD_MOD, JustToken.KEYWORD_SET, JustToken.NEW_LINE, JustToken.RECIPE_NAME, JustToken.SHEBANG or JustToken.VARIABLE expected, got '\'