Homegib gitb

Quick fix for inserting a missing FROM

Description

Quick fix for inserting a missing FROM

Summary:
Since a file needs a FROM instruction, one should be required in the file. An error message is shown when the file does not contain a FROM instruction.

A quick fix automatically adds a FROM instruction to the file.

Depends on {D26} replacing ‘next applicable editor’ with editor components.

Test Plan:

  • Observe error message shown when file is missing FROM instruction and not shown when file contains FROM instruction.
  • Used quick fix intention on a BlankLine to add a FROM instruction to a file not containing any other instructions and to a file containing an ARG instruction, observing that the FROM instruction is added instead of the BlankLine and above the ARG.

Reviewers: grgarside

Reviewed By: grgarside

Tags: #alembicue

Differential Revision: https://phabricator.georgegarside.com/D27

Details

Provenance
grgarsideAuthored on Oct 19 2018, 11:43 AM
grgarsidePushed on Oct 19 2018, 11:49 AM
Reviewer
grgarside
Differential Revision
Restricted Differential Revision
Parents
rFYP909e56b04600: State what the intention will do in description
rFYP95338338a231: Replace ‘next applicable editor’ with editor components
Branches
Unknown
Tags
Unknown