Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 517525

Summary: Dockerfile content assist parser should ignore invalid escape parser directive declarations
Product: [ECD] Orion Reporter: Remy Suen <remy.suen>
Component: ClientAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 15.0   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2017-05-31 07:56:39 EDT
b3181688e86dd9afbf9e18737c913ccd317d3e80

1. Create a Dockerfile with the following content.

#escape=x
FROM x
E

2. Invoke content assist on the third line.
3. Nothing will appear.
4. You'll get the same result with the following file.

#escape=
FROM x
E

-----------------

The Dockerfile builder only accepts backticks (`) and backslashes (\) as a valid escape parser directive.