Skip to content

Conversation

@montegoulding
Copy link
Member

The linter now detects server scripts by looking for the opening tag
in the script. This change enables us to use the same set of generated
autocomplete snippets without duplicating them. It also makes
maintenance easier by reducing grammar duplication.

Review on Reviewable

Monte Goulding added 3 commits September 19, 2015 08:18
This commit adds support for source.lcb to be linted using lc-compile.
It adds two new settings:

 * The path for lc-compile
 * The module paths delimited by ;

Default settings assume a debug build of the livened repo in the home
directory.
The linter now detects server scripts by looking for the opening tag
in the script. This change enables us to use the same set of generated
autocomplete snippets without duplicating them. It also makes
maintenance easier by reducing grammar duplication.
@montegoulding
Copy link
Member Author

Er... hold the phone on this as it breaks other grammars. I just checked php. I'll see what I can come up with but I have a lot on right now so perhaps target this at 0.7 release so it doesn't hold things up.

This commit reinstates iRev as a grammar. iRev now includes the
LiveCode Script grammar for reuse.
@montegoulding
Copy link
Member Author

Hmm... whitespace diffs. Atom strips all the trailing whitespace from files you touch sorry. I'll investigate the merge conflict

@montegoulding
Copy link
Member Author

Sorry, it was a whitespace issue on a spot where I've been testing the linter. Should merge cleanly now.

@peter-b
Copy link
Contributor

peter-b commented Sep 23, 2015

This looks good, thanks.

peter-b added a commit that referenced this pull request Sep 23, 2015
Refactor to merge LiveCode Script and iRev
@peter-b peter-b merged commit 33c00e5 into livecode:master Sep 23, 2015
@peter-b peter-b added this to the v0.6.0 milestone Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants